From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 10:57:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F68816A4CE for ; Mon, 15 Dec 2003 10:57:43 -0800 (PST) Received: from ns1.tcbug.org (12-218-40-24.client.mchsi.com [12.218.40.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC2743D3C for ; Mon, 15 Dec 2003 10:57:42 -0800 (PST) (envelope-from friar_josh@ns1.tcbug.org) Received: by ns1.tcbug.org (Postfix, from userid 1003) id EC4B7BA24; Mon, 15 Dec 2003 12:57:08 +0000 (GMT) Date: Mon, 15 Dec 2003 12:57:08 +0000 From: Josh Paetzel To: Chris Message-ID: <20031215125707.GA3563@ns1.tcbug.org> References: <20031215183554.79821.qmail@web40409.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031215183554.79821.qmail@web40409.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: MySQL 4.0.16 + PHP 4.3.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 18:57:43 -0000 On Mon, Dec 15, 2003 at 10:35:54AM -0800, Chris wrote: > Hello all, > > I decided to upgrade to little test server to a more recent PHP & MySQL (as well as Apache > 2.0.48). Everything is working, but I still have a problem. I installed mysql from the port. I > installed PHP from source, but no matter what I tried giving ./configure for the --with-mysql > value, I got complaints. When I tried the actual mysql install dir, I got complaints that > ./configure couldn't find a header file. When I tried the actual work subdir for the mysql port > itself, I got an error that it couldn't find the mysqlclient library. > > As a result I'm going with PHPs builtin mysql support -- unfortunately, the built-in version is > 3.23.xx, and I really want 4.0. > > Google got me a suggestion that I need to download something called mysql-devel for my version of > mysql. However, I've only found this as an RPM, and I'm wondering if what I read before was just a > Linux answer. > > Does anyone know what to do? > > Thanks, > The Bean > Just for kicks I tried installing /usr/ports/www/mod_php4 out of the ports on a cleanly installed 5.2-CURRENT box with a ports cvsup from about 3 days ago. It immediately installed apache 1.3.29, then did this: ===> Returning to build of mod_php4-4.3.4_2,1 ===> mod_php4-4.3.4_2,1 depends on executable: bison - found ===> mod_php4-4.3.4_2,1 depends on shared library: expat.4 - found ===> mod_php4-4.3.4_2,1 depends on shared library: mysqlclient.12 - not found ===> Verifying install for mysqlclient.12 in /usr/ports/databases/mysql40-client >> mysql-4.0.16.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Isn't that the 4.x support that you're looking for? Josh Paetzel