ports/62473: If apache6 is installed ap-perl compi

Suresh Ramasubramanian suresh at frodo.hsreus.net
Sun Feb 8 03:50:45 UTC 2004


The following reply was made to PR ports/62473; it has been noted by GNATS.

From: suresh at frodo.hsreus.net (Suresh Ramasubramanian)
To: freebsd-gnats-submit at FreeBSD.org, suresh at frodo.hserus.net
Cc:  
Subject: Re: ports/62473: If apache6 is installed ap-perl compi
Date: Sun, 08 Feb 2004 09:12:48 +0530

 Note:
 
 I sent in a bug report yesterday about mod_perl on the freebsd ports tree
 failing to compile if apache13-modssl was installed with the ipv6 patch.
 
 I googled around and saw an old netbsd PR dating back to 2001, where ap-perl
 would not compile if apache + ipv6 was installed.
 
 The same error message as I got ... and a suggested patch was included.  So, I
 basically went and pasted the netbsd pr into the "suggested workaround" part.
 That PR is available at
 http://mail-index.netbsd.org/netbsd-bugs/2001/11/23/0007.html
 
 Looks like send-pr seems to have misparsed my report and sent in the old
 netbsd PR (I forgot to quote the netbsd pr fully with >, so that might have
 led to this error)
 
 This is the error I got ...  structure has no member named `sin_addr' -
 because of the lack of v6 support in the mod_perl port.
 
 > >Connection.c
 > cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.2/mach/CORE
 > -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.2/BSDPAN" -DHAS_FPSETMASK
 > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include
 > -DMOD_PERL_VERSION=\"1.28\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.28\"
 > -DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.2/i386-freebsd\"
 > -I/usr/local/include/apache -DMOD_PERL -DHARD_SERVER_LIMIT=512
 > -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
 > -DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\"
 > -DACCEPT_FILTER_NAME=\"httpready\" -DFD_SETSIZE=1024 -funsigned-char -DINET6
 > -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_SOCKADDR_LEN -DMOD_SSL=208116
 > -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O -pipe -O -pipe   -c
 > Connection.c && mv Connection.o Connection.lo
 > Connection.c: In function `XS_Apache__Connection_remote_addr':
 > Connection.c:123: incompatible types in assignment
 > Connection.c: In function `XS_Apache__Connection_remote_ip':
 > Connection.c:159: structure has no member named `sin_addr'
 > *** Error code 1
 >
 >
 > Stop in /usr/ports/www/mod_perl/work/mod_perl-1.28/apaci.
 > *** Error code 1
 >
 > Stop in /usr/ports/www/mod_perl/work/mod_perl-1.28.
 > *** Error code 1
 >
 > Stop in /usr/ports/www/mod_perl.
 >



More information about the freebsd-ports-bugs mailing list