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: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]