any idea why I cant compile mod_perl


gcc -fPIC -O3 -march=i686 -funroll-loops -pipe 
-I/usr/lib/perl5/5.8.6/i686-linux/CORE -fno-strict-aliasing -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.27\" 
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.27\" -I/usr/include/apache -DMOD_PERL 
-O3 -march=i686 -funroll-loops -pipe -DHARD_SERVER_LIMIT=512                
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" 
-DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -I/usr/include/db4.1 
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -O3 -march=i686 
-funroll-loops -pipe -c Server.c && mv Server.o Server.lo
Connection.c: In function `XS_Apache__Connection_remote_addr':
Connection.c:124: error: incompatible types in assignment
make[1]: *** [Connection.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory 
`/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/Connection'
make[1]: Leaving directory 
`/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/apaci'
make: *** [apxs_libperl] Error 2
make: *** Waiting for unfinished jobs....
cp Connection.pm ../blib/lib/Apache/Connection.pm
make[1]: Leaving directory 
`/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/Connection'

!!! ERROR: dev-perl/mod_perl-1.27-r4 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

# emerge mod_perl -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-perl/mod_perl-1.27-r4 

--
gentoo-user@gentoo.org mailing list

Reply via email to