Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 09:29:47 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        miwi@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/128889: databases/phpmyadmin should not install if you run MySQL version older than 5.0.15
Message-ID:  <491FE80B.6070202@infracaninophile.co.uk>
In-Reply-To: <200811151710.mAFHA5nV011891@freefall.freebsd.org>
References:  <200811151710.mAFHA5nV011891@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDB72ADBCC0C1BA0793DE7C12
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

miwi@FreeBSD.org wrote:
> Synopsis: databases/phpmyadmin should not install if you run MySQL vers=
ion older than 5.0.15
>=20
> Responsible-Changed-From-To: freebsd-ports-bugs->miwi
> Responsible-Changed-By: miwi
> Responsible-Changed-When: Sat Nov 15 17:10:05 UTC 2008
> Responsible-Changed-Why:=20
> I'll take it.
>=20
> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D128889

Hmmm... I can confirm that the problem behaviour exists. =20
I built databases/mysql41-client in a jail with no other ports
installed, and then built databases/phpmyadmin

Everything installed without any complaint:

sandbox:...ports/databases/phpmyadmin:# pkg_info -Ix mysql
mysql-client-4.1.22_1 Multithreaded SQL database (client)
php5-mysql-5.2.6_2  The mysql shared extension for php
sandbox:...ports/databases/phpmyadmin:# pkg_info -Ix phpMyAdmin
phpMyAdmin-3.0.1.1  A set of PHP-scripts to manage MySQL over the web

Please apply this patch:

diff -Nur /usr/ports/databases/phpmyadmin/Makefile phpmyadmin/Makefile
--- /usr/ports/databases/phpmyadmin/Makefile 2008-11-01 16:09:55.00000000=
0 +0000
+++ phpmyadmin/Makefile 2008-11-16 09:24:42.000000000 +0000
@@ -14,6 +14,7 @@
 MAINTAINER=3D m.seaman@infracaninophile.co.uk
 COMMENT=3D A set of PHP-scripts to manage MySQL over the web
=20
+USE_MYSQL=3D yes
 IGNORE_WITH_PHP=3D 4
 IGNORE_WITH_MYSQL=3D 323 40 41
 USE_BZIP2=3D yes

The result should now be:

sandbox:~/src/ports/phpmyadmin:% make
=3D=3D=3D>  phpMyAdmin-3.0.1.1 cannot install: doesn't work with MySQL ve=
rsion : 41 (Doesn't support MySQL 323 40 41).
*** Error code 1

Stop in /home/matthew/src/ports/phpmyadmin.





--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enigDB72ADBCC0C1BA0793DE7C12
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.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkf6BIACgkQ8Mjk52CukIwmKQCeM2quEy0+2p+K5765ZFcEiOaB
MckAoIcDkTavuQesEOrrkGXUNstXznKL
=8sFt
-----END PGP SIGNATURE-----

--------------enigDB72ADBCC0C1BA0793DE7C12--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491FE80B.6070202>