You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "William R. Mattil" <wr...@newton.irngtx.tel.gte.com> on 2000/11/27 20:30:42 UTC

mod_perl-1.24_01 problems under AIX

It was suggested that someone on this list may be able to help with
this. 


I seem to be having difficulty in getting mod_perl to build. I have
tried two different versions (mod_perl-1.24 and mod_perl-1.24_01)
but both seem to exhibit problems but not the same problems. Platform is
an IBM RISC6000 running AIX 4.2.1 and egcs1.1.1 compiler. Apache is
apache_1.3.14 and it builds okay.
 
perl Makefile.PL
 
======== Error Output for sanity check ========
         cd ..; gcc  -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR
-DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL  
-lm  -o helpers/dummy helpers/dummy.c  `perl
/home/wrm/packages/mod_perl-1.24/src/modules/perl/ldopts  ` 
Note (probably harmless): No library found for -ldb
gcc: installation problem, cannot exec `cpp': No such file or directory
gcc: file path prefix

`/usr/local/lib/gcc-lib/E:/usr/local/lib/perl5/5.00502/aix/CORE/perl.exp/egcs-2.91.60/'
never used
make: The error code from the last command is 1.


Any assistance or suggestions would be appreciated.

Regards

Bill
-- 

William R. Mattil       | Micro$ofts definition of 24x7 is 24 Hours 
Sr. System Aministrator | out of 7 days                             
(972) 399-4106          |

Re: mod_perl-1.24_01 problems under AIX

Posted by Jens-Uwe Mager <ju...@helios.de>.
On Mon, Nov 27, 2000 at 01:30:42PM -0600, William R. Mattil wrote:

> I seem to be having difficulty in getting mod_perl to build. I have
> tried two different versions (mod_perl-1.24 and mod_perl-1.24_01)
> but both seem to exhibit problems but not the same problems. Platform is
> an IBM RISC6000 running AIX 4.2.1 and egcs1.1.1 compiler. Apache is
> apache_1.3.14 and it builds okay.
>  
> perl Makefile.PL
>  
> ======== Error Output for sanity check ========
>          cd ..; gcc  -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR
> -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL  
> -lm  -o helpers/dummy helpers/dummy.c  `perl
> /home/wrm/packages/mod_perl-1.24/src/modules/perl/ldopts  ` 
> Note (probably harmless): No library found for -ldb
> gcc: installation problem, cannot exec `cpp': No such file or directory
> gcc: file path prefix
> 
> `/usr/local/lib/gcc-lib/E:/usr/local/lib/perl5/5.00502/aix/CORE/perl.exp/egcs-2.91.60/'
> never used
> make: The error code from the last command is 1.

You are using a different compiler to compile mod_perl and perl itself,
this is not going to work. The perl build procedure was done using the
IBM C compiler and it adds -bE:/path/to/perl.exp to the command line to
build perl, but this compiler option means something completely
different to gcc, causing the strange error. If you want to use gcc to
build mod_perl, you will also have to use gcc to build perl itself.

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:		+49 5131 709320
FAX:		+49 5131 709325
Internet:	jum@helios.de