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:

+ 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.

cd ..; gcc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_PERL -DUSE_PERL_SSI
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -I/u
sr/local/include -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
-I. -I/usr/local/lib/perl5/5.00503/aix/CORE -lm -o h
elpers/dummy helpers/dummy.c -bE:/usr/local/lib/perl5/5.00503/aix/CORE/perl.exp
-L/usr/local/lib /usr/local/lib/perl5/5.00503/aix/auto/DynaL
oader/DynaLoader.a -L/usr/local/lib/perl5/5.00503/aix/CORE -lperl -lnsl -ldbm -ldl -lld -lm -lc
-lcrypt -lbsd -lPW
gcc: unrecognized option `-qmaxmem=8192'
cpp: -lang-c: linker input file unused since linking not done
gcc: installation problem, cannot exec `cc1': No such file or directory
gcc: file path prefix
`/usr/local/lib/gcc-lib/E:/usr/local/lib/perl5/5.00503/aix/CORE/perl.exp/2.95.2/' never used
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============

Aborting!

I also found, in the mod_perl guide, under Installation and troubleshooting, that I should check for libgdbm.so files to see if it has been installed:

"Missing or Misconfigured libgdbm.so

On some RedHat systems you might encounter a problem during the perl Makefile.PL stage,
when the installed perl was built with gdbm library, but the library
isn't actually installed. If this is your situation make sure you install it, before proceeding with
the build process."

The problem is, I have no idea how to install the gdbm library once Perl has been built. Do I
need to rebuild Perl? I am looking into this too, but I would appreciate any input.  I have verified that there are no libgdbm.so files on our system, but we are not running RedHat.  I was not the original builder of Perl on this system, and the original builder is off doing other things. 

Again, any help would be appreciated.

Thanks,

Jonathan

Reply via email to