From owner-freebsd-stable Mon Oct 7 21:52:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9586737B440 for ; Mon, 7 Oct 2002 21:52:47 -0700 (PDT) Received: from bifrost.agrknives.com (bifrost.hos.net [204.251.33.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECCE943E91 for ; Mon, 7 Oct 2002 21:52:46 -0700 (PDT) (envelope-from arussell@bifrost.agrknives.com) Received: from bifrost.agrknives.com (localhost.agrknives.com [127.0.0.1]) by bifrost.agrknives.com (8.12.5/8.12.4) with ESMTP id g984qlv8033406 for ; Mon, 7 Oct 2002 23:52:48 -0500 (CDT) (envelope-from arussell@bifrost.agrknives.com) Received: (from arussell@localhost) by bifrost.agrknives.com (8.12.5/8.12.2/Submit) id g984qlhI033405 for freebsd-stable@freebsd.org; Mon, 7 Oct 2002 23:52:47 -0500 (CDT) Date: Mon, 7 Oct 2002 23:52:47 -0500 From: "Andrew G. Russell IV" To: freebsd-stable@freebsd.org Subject: Re: make all install of mod_php4 fails on config, mysql configure failed... Message-ID: <20021007235246.A33389@bifrost.agrknives.com> References: <20021007034449.A29284@bifrost.agrknives.com> <1034049548.1469.3.camel@blaze> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1034049548.1469.3.camel@blaze>; from paulb@blazebox.homeip.net on Mon, Oct 07, 2002 at 11:59:08PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I put symlinks into /usr/local/lib as you suggested, and they do show up in the hints file ldconfig -r shows the following: search directories: /usr/local/lib/mysql:/usr/local/lib/:/usr/local/lib 0:-lmysqlclient.10 => /usr/local/lib/mysql/libmysqlclient.so.10 1:-lcurl.2 => /usr/local/lib//libcurl.so.2 2:-lpdf.4 => /usr/local/lib//libpdf.so.4 3:-lltdl.1 => /usr/local/lib//libltdl.so.1 4:-ljpeg.9 => /usr/local/lib//libjpeg.so.9 5:-lpng.5 => /usr/local/lib//libpng.so.5 6:-ltiff.4 => /usr/local/lib//libtiff.so.4 7:-lexpat.4 => /usr/local/lib//libexpat.so.4 8:-lcharset.1 => /usr/local/lib//libcharset.so.1 9:-liconv.3 => /usr/local/lib//libiconv.so.3 10:-lintl.4 => /usr/local/lib//libintl.so.4 11:-laspell.15 => /usr/local/lib//libaspell.so.15 12:-lpspell.15 => /usr/local/lib//libpspell.so.15 13:-lmcve.3 => /usr/local/lib//libmcve.so.3 14:-lsqlclient.10 => /usr/local/lib//libsqlclient.so.10 15:-lcurl.2 => /usr/local/lib/libcurl.so.2 16:-lpdf.4 => /usr/local/lib/libpdf.so.4 17:-lltdl.1 => /usr/local/lib/libltdl.so.1 18:-ljpeg.9 => /usr/local/lib/libjpeg.so.9 19:-lpng.5 => /usr/local/lib/libpng.so.5 20:-ltiff.4 => /usr/local/lib/libtiff.so.4 21:-lexpat.4 => /usr/local/lib/libexpat.so.4 22:-lcharset.1 => /usr/local/lib/libcharset.so.1 23:-liconv.3 => /usr/local/lib/libiconv.so.3 24:-lintl.4 => /usr/local/lib/libintl.so.4 25:-laspell.15 => /usr/local/lib/libaspell.so.15 26:-lpspell.15 => /usr/local/lib/libpspell.so.15 27:-lmcve.3 => /usr/local/lib/libmcve.so.3 28:-lsqlclient.10 => /usr/local/lib/libsqlclient.so.10 and an install of /usr/ports/lang/php4 fails with the following: checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. ===> Script "configure" failed unexpectedly. Please report the problem to dirk@FreeBSD.org [maintainer] and attach the "/usr/ports/lang/php4/work/php-4.2.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. On Mon, Oct 07, 2002 at 11:59:08PM -0400, Paul Blazejowski wrote: > On Mon, 2002-10-07 at 04:44, Andrew G. Russell IV wrote: > > > uname is = FreeBSD working.hos.net 4.7-RC FreeBSD 4.7-RC #0: Mon Oct 7 01:23:37 CDT 2002 > > The cvsup for both ports and src was completed at 00:01 CDT 07 Oct 2002. > > cd /usr/ports/databases/mysql323-server, and did a > > umask 0022; make SKIP_INSTALL_DB=yes all install > > Install completed sucessfully, then moved to /usr/ports/www/mod_php4 > > modified the Makefile to read apache13-modssl, instead of apache13. > > make all install > > got the following: > > > > configure: error: mysql configure failed. Please check config.log for more information. > > ===> Script "configure" failed unexpectedly. > > Please report the problem to dirk@FreeBSD.org [maintainer] and attach the > > "/usr/ports/www/mod_php4/work/php-4.2.3/config.log" including the output > > of the failure of your make command. Also, it might be a good idea to > > provide an overview of all packages installed on your system (e.g. an `ls > > /var/db/pkg`). > > *** Error code 1 > > > > The output from the make all install can be seen at > > http://www.hos.net/FreeBSD/mod_php4.make-all-install > > The /usr/ports/www/mod_php4/work/php-4.2.3/config.log file can be seen at > > http://www.hos.net/FreeBSD/config.log > > > > ls -al /var/db/pkg > > total 38 > > drwxr-xr-x 38 root wheel 1024 Oct 7 00:51 . > > drwxr-xr-x 5 root wheel 512 Oct 7 03:15 .. > > drwxr-xr-x 2 root wheel 512 Oct 7 00:39 apache+mod_ssl-1.3.27+2.8.11 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:50 aspell-0.50.2 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:40 autoconf213-2.13.000227_2 > > drwxrwxr-x 2 root wheel 512 Mar 19 2002 bash-2.05a > > drwxrwxr-x 2 root wheel 512 Sep 21 22:28 biew-5.3.2 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:40 curl-7.9.8 > > drwxrwxr-x 2 root wheel 512 Mar 19 2002 cvsup-without-gui-16.1f > > drwxr-xr-x 2 root wheel 512 Oct 7 00:46 expat-1.95.5 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:46 gettext-0.11.5_1 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:41 gmake-3.79.1_3 > > drwxrwxr-x 2 root wheel 512 Sep 21 22:15 hexedit-1.2.1 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:44 jpeg-6b_1 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:46 libiconv-1.8_1 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:51 libmcve-3.0 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:26 libtool-1.3.4_4 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:40 m4-1.4_1 > > drwxrwxr-x 2 root wheel 512 Mar 26 2002 mkisofs-1.14 > > drwxrwxr-x 2 root wheel 512 Oct 7 00:39 mm-1.2.1 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 mysql-client-3.23.52 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:36 mysql-server-3.23.52_1 > > drwxrwxr-x 2 root wheel 512 Mar 19 2002 ncftp-3.1.2 > > drwxrwxr-x 2 root wheel 512 Sep 14 04:52 nmap-2.54.b34 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 p5-DBI-1.28 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 p5-Data-ShowTable-3.3 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:36 p5-Mysql-modules-1.2216 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 p5-Net-Daemon-0.36 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 p5-PlRPC-0.2016 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 p5-Storable-2.04 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:35 p5-Test-Simple-0.47 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:42 pdflib-4.0.3 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:43 png-1.2.4 > > drwxrwxr-x 2 root wheel 512 Jun 25 08:55 rsync-2.5.4 > > drwxr-xr-x 2 root wheel 512 Oct 7 00:44 tiff-3.5.7 > > drwxr-xr-x 2 root wheel 512 Sep 30 2001 unzip-5.42 > > drwxr-xr-x 2 root wheel 512 Sep 30 2001 webcopy-0.98b7 > > drwxr-xr-x 2 root wheel 512 Sep 30 2001 zip-2.3 > > > > _______________________________________________________________________________ > > A.G. Russell IV KC5KFD The Knife Company e-mail: ag4@theknifecompany.com > > Phone 479-631-0055 FAX 479-631-8734 > > Old Klingon Saying -- 'oH majQa' yIn je bang, Qo' bang > > ------------------------------------------------------------------------------- > > > > > Hi Andrew, > > This is a simple fix hopefully.By default the mysql port is installed > into /usr/local/lib/mysql and there's no libmysqlclient.so lib in > /usr/local/lib...try simlinking the mysql/libmysqlclient.so lib to > /usr/local/lib/mysqlclient.so then proceed to build mod_php4 port again. > > Hope this helps, > > Paul > -- _______________________________________________________________________________ A.G. Russell IV KC5KFD The Knife Company e-mail: ag4@theknifecompany.com Phone 479-631-0055 FAX 479-631-8734 Old Klingon Saying -- 'oH majQa' yIn je bang, Qo' bang ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message