Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2004 12:31:53 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Baron Fujimoto <baron@lava.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problem making p5-Mysql port
Message-ID:  <20040218123153.GA68619@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <Pine.BSI.4.58.0402171613450.21462@znynfnqn.ynin.arg>
References:  <Pine.BSI.4.58.0402171613450.21462@znynfnqn.ynin.arg>

next in thread | previous in thread | raw e-mail | index | archive | help

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 17, 2004 at 04:23:59PM -1000, Baron Fujimoto wrote:
> I'm trying to build p5-Mysql from ports (as a dependency for bugzilla), b=
ut
> I run into the following error:
>=20
> =3D=3D=3D>  p5-Mysql-modules-1.2219 is marked as broken: unknown MySQL ve=
rsion: 323.
>=20
> This is on a 4.8 system with a fresh cvsup.  Any tips or pointers would be
> greatly appreciated.

The p5-Mysql port can be built against any of the versions of MySQL
currently available in ports by setting the 'WITH_MYSQL_VER' variable
on the make(1) command line, or in /etc/make.conf or in
/usr/local/etc/pkgtools.conf if you're a portupgrade
user. eg:

    # cd /usr/ports/databases/p5-Mysql
    # make install WITH_MYSQL_VER=3D40

which will use the MySQL-4.0.18 client libraries.

Seeing that the p5-Mysql port wants to link against a version of MySQL
which is no-longer available in the ports tree, you may instead wish
to try installing one of the 'databases/p5-DBD-mysqlNN' ports (where
NN is the version of MySQL client you have installed) -- these use the
standard perl DBI/DBD database system and can are a more actively
maintained drop-in replacement for the p5-Mysql stuff.  They are also
what is recommended on the MySQL website nowadays:
http://www.mysql.com/doc/en/Perl.html Works fine with Bugzilla.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAM1s5dtESqEQa7a0RAlAxAJ9RkcWzMwClyu7zJv0m4SfSnpyqQACfYNBQ
wxKb1LVFyTXSTt65MMIr2DQ=
=7T4H
-----END PGP SIGNATURE-----

--+QahgC5+KEYLbs62--



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