BTW - Was just reading support... sorry I didn't include my official perl snippets.

perl -V
[snip]
[EMAIL PROTECTED]/omnitest/ext-tools/sources/src/mod_perl-1.29$perl -v

This is perl, v5.8.3 built for aix

Copyright 1987-2003, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

[EMAIL PROTECTED]/omnitest/ext-tools/sources/src/mod_perl-1.29$per -V
bash: per: command not found
[EMAIL PROTECTED]/omnitest/ext-tools/sources/src/mod_perl-1.29$perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=aix, osvers=5.2.0.0, archname=aix
    uname='aix wiletl2-admin 2 5 0020685b4c00 '
    config_args='-de -Dcc=gcc -Ubincompat5005 
-Dprefix=/opt/omni/software/external/perl-5.8
.3 -Dscriptdir=/opt/omni/software/external/perl-5.8.3/bin'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-DUSE_NATIVE_DLOPEN
-fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN 
-fno-stric
t-aliasing -I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-DUSE_NATIVE
_DLOPEN -fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES'
    ccversion='', gccversion='3.3.3', gccosandvers='aix5.2.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=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -Wl,-brtl -L/usr/local/lib -Wl,-b32'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
    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:/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'
    cccdlflags=' ', lddlflags='  -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bI:$(PERL_INC)/perl.exp 
-Wl,
-bE:$(BASEEXT).exp -Wl,-bnoentry -lc -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under aix
  Compiled at Mar 16 2004 15:45:22
  @INC:
    /opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix
    /opt/omni/software/external/perl-5.8.3/lib/5.8.3
    /opt/omni/software/external/perl-5.8.3/lib/site_perl/5.8.3/aix
    /opt/omni/software/external/perl-5.8.3/lib/site_perl/5.8.3
    /opt/omni/software/external/perl-5.8.3/lib/site_perl




> -----Original Message-----
> From: Terranova, Adrian (Card Services) 
> Sent: Wednesday, March 24, 2004 5:50 PM
> To: [EMAIL PROTECTED]
> Subject: compiling woes on aix-5.2 with gcc-3.3.3
> 
> 
> 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/DynaLo
> ader.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
> 
> 

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

Reply via email to