From owner-freebsd-questions@FreeBSD.ORG Sat Jan 16 12:30:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06DD4106568D for ; Sat, 16 Jan 2010 12:30:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5508FC16 for ; Sat, 16 Jan 2010 12:30:03 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0GCTvEk086097; Sat, 16 Jan 2010 12:29:58 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0GCTvEk086097 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263644998; bh=WFjpIl9UWY54GmY1LKCN3Ky57EIeY6kQIySKEv02w78=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B51B140.6030900@infracaninophile.co.uk>|Date:=20S at,=2016=20Jan=202010=2012:29:52=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20jaymax=20|CC:=20freebsd-quest ions@freebsd.org|Subject:=20Re:=20Problem=20w/=20mysql=20extension =20installation|References:=20<27184350.post@talk.nabble.com>|In-R eply-To:=20<27184350.post@talk.nabble.com>|X-Enigmail-Version:=200 .95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B =0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundar y=3D"------------enig9057CBE755381FA73EF127F6"; b=FnPf8vQG0vrsQfhZFf/DCU8aWbs1i6mF2/2WHpkw2n3ehQiVpm2vhXsO0YBt52IYa riCek7Ru+xaMj8hC5C/gxQWEaFZfMd3NfcHAvwNIUPJl6ZCOsDRRT8z6rGBj0YCNoV QKq9Pu6RF14dnS/MKJsTEmKzSer5OFAWYwWsLKr8= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B51B140.6030900@infracaninophile.co.uk> Date: Sat, 16 Jan 2010 12:29:52 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: jaymax References: <27184350.post@talk.nabble.com> In-Reply-To: <27184350.post@talk.nabble.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9057CBE755381FA73EF127F6" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Problem w/ mysql extension installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2010 12:30:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9057CBE755381FA73EF127F6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable jaymax wrote: > phpmyadmin requires the mysql extension which is apparently not include= d in > the mysql54 ports Well, PHP modules aren't provided at all by the mysqlNN-{client,server,sc= ripts} ports. You want databases/php5-mysql or databases/php5-mysqli I have certainly been able to install phpmyadmin with mysql-5.4.x from th= e=20 ports -- it works perfectly well. > Installing it from=20 > /usr/ports/databases/php5-mysql =3D=3D> >=20 >=20 > --- > --- > --- > In file included from /usr/local/include/php/main/../main/php_config.h:= 2839, > from /usr/local/include/php/Zend/zend_config.h:1, > from /usr/local/include/php/Zend/zend.h:53, > from /usr/local/include/php/main/php.h:34, > from > /usr/ports/databases/php5-mysql/work/php-5.2.12/ext/mysql/php_mysql.c:3= 2: > /usr/local/include/php/ext/php_config.h:1:30: error: ext/mysql/config.h= : No > such file or directory > *** Error code 1 > 1 error > *** Error code 1 >=20 > Stop in /usr/ports/databases/php5-mysql. >=20 >=20 > Indeed /usr/local/include/php/ext/mysql/config.h is not present! >=20 > Should this have been installed with the mysql installation or from a > dependency? >=20 > How can I correct this ? Not sure what went wrong here, but .../ext/mysql/config.h is part of the php5-mysql module you're trying to install: % pkg_which /usr/local/include/php/ext/mysql/config.h php5-mysql-5.2.12 That file shouldn't be referenced from that location when building the=20 php5-mysql module -- rather it should use a version of it included with the PHP sources. I see from your later message that this problem has gone away for you, however, for the benefit of the archives, the best thing to do in this circumstance is generally to 'make clean' in the port concerned and start= again from the beginning. If the problem goes away, then it was probably= a transient local problem. On the other hand, if it persists, then its=20 likely to be a configuration problem on your system, or a bad interaction= between that port and something else you've got installed. It might be a bug in the port, but considering how popular the combination of php and= MySQL is, chances are hundreds or thousands of other people would have=20 experienced the same thing, and the problem would have been fixed in shor= t order. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9057CBE755381FA73EF127F6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktRsUUACgkQ8Mjk52CukIx4xQCgi4hh1w0Kb6wcRbT2sY0vKc0G /MAAnjGSgycz2ISn51qOdyRS3mbHlDJs =0Uyj -----END PGP SIGNATURE----- --------------enig9057CBE755381FA73EF127F6--