Trying to compile mod_perl on aix 5.2 with gcc-3.3.3,( perl-5.8.3 built with this gcc), apache-1.3.29 builds with this gcc, but mod_perl 1.29 seems to have some problems.)
I get the feeling that the Makefile.PL is adding options for the aix target which are focused on xlc and not gcc, anyone have any pointers? The -b's look really suspicious as args to gcc..Looks like these are really linker args that gcc is hooking into somehow. --Adrian Terranova [snip] perl Makefile.PL ... + adding selected modules o perl_module uses ConfigStart/End + mod_perl build type: OBJ + setting up mod_perl build environment + id: mod_perl/1.29 + id: Perl/v5.8.3 (aix) [/opt/omni/software/external/perl-5.8.3/bin/perl] + adjusting Apache build environment + enabling Perl support for SSI (mod_include) + using builtin Expat + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. ======== Error Output for sanity check ======== cd ..; gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_PERL -DUSE_PE RL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-s trict-aliasing -I/usr/local/include -D_LARGE_FILES -DUSE_HSREGEX -DUSE_EXPAT -I. /lib/expat-lite -DNO_DL_NEEDED -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D USE_NATIVE_DLOPEN -fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES -DMOD _PERL -I. -I/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE -lm -lpth read -o helpers/dummy helpers/dummy.c `perl /omnitest/ext-tools/sources/src/mo d_perl-1.29/src/modules/perl/ldopts ` -Xlinker -bE:/opt/omni/software/external/ perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp -bE:/opt/omni/software/external/perl-5.8. 3/lib/5.8.3/aix/CORE/perl.exp -Wl,-brtl -L/usr/local/lib -Wl,-b32 /opt/omni/sof tware/external/perl-5.8.3/lib/5.8.3/aix/auto/DynaLoader/DynaLoader.a -L/opt/omni /software/external/perl-5.8.3/lib/5.8.3/aix/CORE -lperl -lbind -lnsl -ldl -lld - lm -lcrypt -lc -lbsd -Xlinker -bE:./modules/perl/mod_perl.exp gcc: `-b' must come at the start of the command line make: The error code from the last command is 1. Stop. ============= End of Error Report ============= Aborting! ********************************************************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you ********************************************************************** -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html