From owner-freebsd-questions Wed May 31 18:57:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id B76A037BF3D; Wed, 31 May 2000 18:57:40 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.9.3/8.9.3) with SMTP id UAA48078; Wed, 31 May 2000 20:57:35 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <010501bfcb6c$c200c4c0$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: "Danny Wong" , , Cc: References: <007801bfcab1$386c3160$a800000a@001.mis.penatlpha.com.hk> Subject: Re: problme on mod_php4 Date: Wed, 31 May 2000 20:57:35 -0500 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Danny Wong" > 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