Reposting since I haven't heard anything from any of the developers. I
know u guys are busy but could u give me a cursory diagnosis. Thanks.



Hi. I've got a problem trying to compile mod-perl 2.0.3. I get the
same error
with the SVN snapshot modperl-2.0_20071219053952. Google has nothing.
I have
ActiveState perl build 822 that I compiled. I'm on Solaris and used the
Sun
compiler suite. Previously when I had a binary build of Perl I was able
to
compile mod-perl, same version. But now I need this new Perl and that
means I
have to recompile mod-perl as well. Here's the run down:

[mod_perl-2.0.3]$ make
cd "src/modules/perl" && make
make[1]: Entering directory `/apps/pkgs/mod_perl-2.0.3/src/modules/perl'
/opt/SUNWspro/bin/cc -I/apps/pkgs/mod_perl-2.0.3/src/modules/perl
-I/apps/pkgs/m
od_perl-2.0.3/xs -I/usr/apache2/include -I/usr/apache2/include
-I/usr/apache2/i
nclude -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include
-I/opt/Activ
ePerl-5.8/lib/perl5/5.8.8/sun4-solaris-thread-multi/CORE -DMOD_PERL
-DMP_COMPAT_
1X -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -O
-KPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
"mod_perl.c", line 599: undefined symbol: my_perl
"mod_perl.c", line 599: warning: improper pointer/integer combination:
arg #1
cc: acomp failed for mod_perl.c
make[1]: *** [mod_perl.lo] Error 2
make[1]: Leaving directory `/apps/pkgs/mod_perl-2.0.3/src/modules/perl'
make: *** [modperl_lib] Error 2



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

[DESCRIBE THE PROBLEM HERE]

2. Used Components and their Configuration:

*** mod_perl version 2.000003

*** using /apps/pkgs/mod_perl-2.0.3/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /usr/apache2/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1


*** The httpd binary was not found


*** (apr|apu)-config linking info

-L/usr/apache2/lib -laprutil-1 -lexpat -liconv -L/usr/apache2/lib
-L/usr/apache2/lib -lapr-1 -lsendfile -lrt -lsocket -lnsl -lpthread
-ldl



*** /opt/ActivePerl-5.8/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
uname='sunos netdisc 5.8 generic_117350-36 sun4u sparc
sunw,sun-fire-v240 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=de
fine
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT
-I/usr/local/include',
optimize='-O',
cppflags='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/usr/local/include'
ccversion='Sun C 5.8 2005/10/13', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize
=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib
-L/opt/SUNWs
pro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib'
libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/prod/lib/v8plus
/opt/SUNWspro/pro
d/lib /lib /usr/local/lib
libs=-lsocket -lnsl -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib
-L/opt/SUNWspro/
prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_PERLIO
USE_REENTRANT_API
Locally applied patches:
ActivePerl Build 822
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI::Carp
Less verbose ExtUtils::Install and Pod::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
MAINT31223 plus additional changes
31324 Fix DynaLoader::dl_findfile() to locate .so files again
26970 Make Passive mode the default for Net::FTP
24699 ICMP_UNREACHABLE handling in Net::Ping
Built under solaris
Compiled at Dec 14 2007 17:15:03
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/opt/ActivePerl-5.8/lib/perl5/5.8.8/sun4-solaris-thread-multi
/opt/ActivePerl-5.8/lib/perl5/5.8.8

/opt/ActivePerl-5.8/lib/perl5/site_perl/5.8.8/sun4-solaris-thread-multi
/opt/ActivePerl-5.8/lib/perl5/site_perl/5.8.8