>I am attempting to install mod_perl 1.21 for Apache 1.3.11 on AIX
>4.3.3.  I am repeatedly running into the following problem when I do
>the configuration of Apache with mod_perl, whether attempting it as a DSO
>or including mod_perl in the original Apache configuration.  I have
>checked out the FAQs and mailing lists, and I think it may be a compiler
>issue, but I am not sure (see below).  Here is the error
>output:<br>
><br>
><font color="#FF0000">+ doing sanity check on compiler and options<br>
>** A test compilation with your Makefile configuration<br>
>** failed. The below error output from the compilation<br>
>** test will give you an idea what is failing. Note that<br>
>** Apache requires an ANSI C Compiler, such as gcc.<br>
><br>
>cd ..; gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_PERL
>-DUSE_PERL_SSI<br>
>-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -I/u<br>
>sr/local/include -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
>-DNO_DL_NEEDED `./apaci`<br>
>-I. -I/usr/local/lib/perl5/5.00503/aix/CORE -lm -o h<br>
>elpers/dummy helpers/dummy.c
>-bE:/usr/local/lib/perl5/5.00503/aix/CORE/perl.exp<br>
>-L/usr/local/lib /usr/local/lib/perl5/5.00503/aix/auto/DynaL<br>
>oader/DynaLoader.a -L/usr/local/lib/perl5/5.00503/aix/CORE -lperl -lnsl
>-ldbm -ldl -lld -lm -lc<br>
>-lcrypt -lbsd -lPW<br>
>gcc: unrecognized option `-qmaxmem=8192'<br>
>cpp: -lang-c: linker input file unused since linking not done<br>
>gcc: installation problem, cannot exec `cc1': No such file or
>directory<br>
>gcc: file path prefix<br>
>`/usr/local/lib/gcc-lib/E:/usr/local/lib/perl5/5.00503/aix/CORE/perl.exp/2.95.2/'
>never used<br>
>make: *** [dummy] Error 1<br>

Perl is set up to use a different compiler (IBM's xlc) and the command
line options are not compatible with gcc's command line options. The
perl module build system remembers all compiler options used to
configure perl and re-applies these upon compiling perl modules. To use
modperl you must compile all parts of the equation (apache, perl,
modperl other perl modules) with exactly the same compiler, that means
either all IBM xlc or all gcc.

Jens-Uwe Mager

PS:
This html thing in your email makes formatting a proper reply really
difficult.

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:          +49 5131 709320
FAX:            +49 5131 709325
Internet:       [EMAIL PROTECTED]

Reply via email to