You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Sridhar Murthy <mu...@us.ibm.com> on 2007/12/01 02:27:14 UTC

Configure fails for mod_perl 1.30 with Apache 1.3.39 Using GCC 4.0.2 perl is v5.6.0 (with 5.6.10 patch) on AIX 5.1

I am trying to build mod_perl 1.30   for Apache 1.3.39  Using GCC 4.0.2
perl is v5.6.0  (with 5.6.10 patch) on AIX 5.1

I am also attaching the Make.PL output and the complete configure log  for
your perusal.

perl Makefile.PL runs  to completion without problems:


(See attached file: build-mod_perl.1.30.bash-log-20071130-160222)

When I  run Configure for the Apache then i i see the failure message

(See attached file: build-httpd.1.3.39.bash3-log-20071130-160332)


root@sv1 $ lslpp -l | grep perl
  perl.libext              2.0.56.0  COMMITTED  Perl Library Extensions
  perl.rte                    5.6.0.10  APPLIED    Perl Version 5 Runtime
root@sv1 $

Any help and suggestions offered is gratefully acknowledged.

The configure fails with the following message:

=============snip=============
 + enabling Extended API (EAPI)
 + using builtin Expat
 + using -lld for vendor DSO support
 + 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 ..; /usr/gcc402-bs_gcc334/bin/gcc  -DAIX=510 -U__STR__
-DAIX_BIND_PROCESSOR -DMOD_SSL=208130 -DMOD_PERL -DUSE_PERL_SSI -D_ALL_SO
URCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D_LARGE_FILES
-qlonglong -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I./lib/expat-lite `./
apaci` -I. -I/usr/opt/perl5/lib/5.6.0/aix/CORE  -lm -lpthread  -o
helpers/dummy helpers/dummy.c   -bE:/usr/opt/perl5/lib/5.6.0/aix/CORE/per
l.exp -b32 /usr/opt/perl5/lib/5.6.0/aix/auto/DynaLoader/DynaLoader.a
-L/usr/opt/perl5/lib/5.6.0/aix/CORE -lperl -lbind -lnsl -ldbm -ldl -ll
d -lm -lC -lC_r -lc -lcrypt -lbsd -lPW -liconv
-bE:./modules/perl/mod_perl.exp  -lld
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!
RC(1)
root@sv1 $


root@sv1 $ lslpp -l | grep perl
  perl.libext               2.0.56.0  COMMITTED  Perl Library Extensions
  perl.rte                  5.6.0.10  APPLIED    Perl Version 5 Runtime
root@sv1 $ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=aix, osvers=5.0.0.0, archname=aix
    uname='aix shaq 1 5 006044854c00 '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-q32 -D_LARGE_FILES -qlonglong'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-b32'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lC -lC_r -lc -lcrypt
-lbsd -lPW -liconv
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -b noentry -lC -lc '


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under aix
  Compiled at Nov 22 2000 08:49:49
  @INC:
    /usr/opt/perl5/lib/5.6.0/aix
    /usr/opt/perl5/lib/5.6.0
    /usr/opt/perl5/lib/site_perl/5.6.0/aix
    /usr/opt/perl5/lib/site_perl/5.6.0
    /usr/opt/perl5/lib/site_perl
    .
root@sv1 $


Regards,

Sridhar Murthy
******************************************
IBM GBS -  Public Sector
Voice    (303) 924 - 0413
Email    murthys@us.ibm.com
******************************************
"Not everything that counts can be counted, and not everything that can be
counted counts." (Sign hanging in Einstein's office at Princeton)