Date: Mon, 4 Aug 2003 17:56:49 -0400 From: Guy Middleton <guy@obstruction.com> To: Clement Laforet <sheepkiller@cultdeadsheep.org> Cc: ports@FreeBSD.org Subject: Re: py-MySQLdb depends on mysql323-client Message-ID: <20030804215649.GA80234@chaos.obstruction.com> In-Reply-To: <20030804231128.2eb3c9ae.sheepkiller@cultdeadsheep.org> References: <20030804204537.GA30771@chaos.obstruction.com> <20030804231128.2eb3c9ae.sheepkiller@cultdeadsheep.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 04, 2003 at 11:11:28PM +0200, Clement Laforet wrote: > On Mon, 4 Aug 2003 16:45:37 -0400 > Guy Middleton <guy@obstruction.com> wrote: > > > py-MySQLdb depends on mysql323-client. > > > > This is inconvenient because I'm using mysql40. Could the py-MySQLdb package > > be changed so that I can choose which version of MySQL to install? The > > MySQLdb README file claims that it works with MySQL 4.0. > > can you try this patch ? Yes! This does the trick perfectly (see below). Thanks very much. -Guy # make ===> Extracting for py-MySQLdb-0.9.2 >> Checksum OK for MySQL-python-0.9.2.tar.gz. ===> Patching for py-MySQLdb-0.9.2 ===> Applying FreeBSD patches for py-MySQLdb-0.9.2 ===> py-MySQLdb-0.9.2 depends on file: /usr/local/bin/python2.2 - found ===> py-MySQLdb-0.9.2 depends on shared library: mysqlclient.12 - found ===> Configuring for py-MySQLdb-0.9.2 ===> Building for py-MySQLdb-0.9.2 running build running build_py creating build creating build/lib.freebsd-5.1-RELEASE-i386-2.2 copying CompatMysqldb.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2 copying _mysql_exceptions.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2 creating build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb copying MySQLdb/__init__.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb copying MySQLdb/converters.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb copying MySQLdb/connections.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb copying MySQLdb/cursors.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb copying MySQLdb/sets.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb copying MySQLdb/times.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb creating build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/__init__.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/CR.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/ER.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/FLAG.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/REFRESH.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -> build/lib.freebsd-5.1-RELEASE-i386-2.2/MySQLdb/constants running build_ext building '_mysql' extension creating build/temp.freebsd-5.1-RELEASE-i386-2.2 cc -DNDEBUG -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -fPIC -I/usr/local/include/mysql -I/usr/local/include/python2.2 -c _mysql.c -o build/temp.freebsd-5.1-RELEASE-i386-2.2/_mysql.o -O -pipe -march=pentium3 _mysql.c: In function `_mysql_ConnectionObject_info': _mysql.c:1150: warning: assignment discards qualifiers from pointer target type _mysql.c: In function `_mysql_ConnectionObject_stat': _mysql.c:1379: warning: assignment discards qualifiers from pointer target type cc -shared -lc_r build/temp.freebsd-5.1-RELEASE-i386-2.2/_mysql.o -L/usr/local/lib/mysql -lmysqlclient -lz -o build/lib.freebsd-5.1-RELEASE-i386-2.2/_mysql.so #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030804215649.GA80234>