perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devendra Narayan <nara...@cc.kagu.tus.ac.jp>
Subject Mod_Perl 1.99.07 AIX compile problem
Date Tue, 29 Oct 2002 01:23:20 GMT
While trying to compile mod_perl 1.99.07 on AIX 5.1
I get the following errors :
[ Probably just a minor setup miss on my part - would
appreciate any help ASAP :-( ]

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

   [DESCRIBE THE PROBLEM HERE]

keitai{root}: /usr/local/bin/make
cd "src/modules/perl" && /usr/local/bin/make -f Makefile.modperl
make[1]: Entering directory `/work/src/mod_perl-1.99_07/src/modules/perl'
rm -f mod_perl.so
ld -bhalt:4 -bM:SRE -bI:/perl.exp -bE:.exp -bnoentry -lc -L/usr/local/lib \
  \
mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo
modperl_options.lo 
modperl_callback.lo modperl_handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_filter.lo
modperl_bucket.lo 
modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo
modperl_perl_global.lo 
modperl_perl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo
modperl_constants.lo 
modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo  -Xlinker 
-bE:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp  -Wl,-brtl -L/usr/local/lib 
/usr/local/lib/perl5/5.8.0/aix/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.0/aix/CORE
-lperl -lbind -lnsl 
-ldl -lld -lm -lc -lcrypt -lbsd -lPW \
-o mod_perl.so
ld: 0706-012 The -X flag is not recognized.
ld: 0706-012 The -W flag is not recognized.
ld: 0706-006 Cannot find or open library file: -l inker
         ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l ,-brtl
         ld:open(): No such file or directory
ld: 0706-003 Cannot find or read import file: /perl.exp
         ld:accessx(): No such file or directory
ld: 0706-004 Cannot find or read export file: .exp
         ld:accessx(): No such file or directory
make[1]: *** [mod_perl.so] Error 255
make[1]: Leaving directory `/work/src/mod_perl-1.99_07/src/modules/perl'
make: *** [modperl_lib] Error 2

2. Used Components and their Configuration:

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
   MP_AP_PREFIX   => /usr/local/apache
   MP_GENERATE_XS => 1
   MP_LIBNAME     => mod_perl
   MP_USE_DSO     => 1
   MP_USE_STATIC  => 1


*** /usr/local/apache/bin/httpd -V
Server version: Apache/2.0.43
Server built:   Oct 27 2002 20:43:52
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/prefork"
  -D APR_HAS_SENDFILE
  -D APR_HAS_MMAP
  -D APR_HAVE_IPV6
  -D APR_USE_PROC_PTHREAD_SERIALIZE
  -D APR_USE_PTHREAD_SERIALIZE
  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
  -D APR_HAS_OTHER_CHILD
  -D AP_HAVE_RELIABLE_PIPED_LOGS
  -D HTTPD_ROOT="/usr/local/apache"
  -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
  -D DEFAULT_PIDLOG="logs/httpd.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="logs/accept.lock"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
  -D SERVER_CONFIG_FILE="conf/httpd.conf"


*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
   Platform:
     osname=aix, osvers=5.1.0.0, archname=aix
     uname='aix keitai 1 5 00086d2c4c00 '
     config_args='-Dcc=/usr/local/bin/gcc'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='/usr/local/bin/gcc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN

-fno-strict-aliasing',
     optimize='-O',
     cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing'
     ccversion='', gccversion='3.2', gccosandvers='aix5.1.0.0'
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='ld', ldflags =' -Wl,-brtl -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
     libs=-lbind -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
     perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW
     libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker -bE:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp'
     cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp
-bnoentry -lc 
-L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options:
   Built under aix
   Compiled at Oct 27 2002 23:47:38
   %ENV:
     PERL_LWP_USE_HTTP_10="1"
   @INC:
     /usr/local/lib/perl5/5.8.0/aix
     /usr/local/lib/perl5/5.8.0
     /usr/local/lib/perl5/site_perl/5.8.0/aix
     /usr/local/lib/perl5/site_perl/5.8.0
     /usr/local/lib/perl5/site_perl
     .


3. This is the core dump trace: (if you get a core dump):

   [CORE TRACE COMES HERE]

This report was generated by t/REPORT on Tue Oct 29 16:06:45 2002 GMT.

-------------8<---------- End Bug Report --------------8<----------

--------------------------------------------------------
Devendra Narayan
Information Systems Division,
Tokyo University of Science,

"Double your drive space - delete Windows!"
---------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message