Date: Wed, 31 May 2000 20:57:35 -0500 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "Danny Wong" <danny@pentalpha.com.hk>, <freebsd-questions@FreeBSD.ORG>, <freebsd-ports@FreeBSD.ORG> Cc: <dirk@FreeBSD.ORG> Subject: Re: problme on mod_php4 Message-ID: <010501bfcb6c$c200c4c0$8dfee0d1@westbend.net> References: <007801bfcab1$386c3160$a800000a@001.mis.penatlpha.com.hk>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Danny Wong" <danny@pentalpha.com.hk> > When I try to install the port mod_php4, I got the following error. How can > I fix it? > I am running on FreeBSD 4.0 stable. > > Thanks! > Danny > > configure:1686: cc -o conftest -O -pipe > conftest.c -lkrb -ldes -L/usr/local/li > /usr/lib/libkrb.so: undefined reference to `init_error_table' > /usr/lib/libkrb.so: undefined reference to `initialize_error_table_r' > configure: failed program was: > > #line 1681 "configure" > #include "confdefs.h" > > main(){return(0);} > (end of "config.log") > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > It looks like you are trying to install mod_php4 with OpenLDAP support. You'll need to remove the line that says "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'" from the Makefile.inc. This is what is causing the build to fail. This needs to be removed from the scripts/configure.php for OpenLDAP support: if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a ]; then echo "CONFIGURE_ENV+= LIBS='-lkrb -ldes -L\${PREFIX}/lib'" fi Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010501bfcb6c$c200c4c0$8dfee0d1>