Subject: pkg/6534: py-mysql does not work
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 12/05/1998 12:45:58
>Number: 6534
>Category: pkg
>Synopsis: py-mysql does not work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 5 05:05:01 1998
>Last-Modified:
>Originator: matthew green
>Organization:
people's front against (bozotic) www (softwar foundation)
>Release: <NetBSD-current source date>now
>Environment:
System: NetBSD splode.eterna.com.au 1.3H NetBSD 1.3H (_splode_) #382: Wed Oct 28 16:53:34 EST 1998 mrg@splode.eterna.com.au:/orb/v/src/sys/arch/sparc/compile/_splode_ sparc
>Description:
similar to the problem with missing -R with mysql itself, the
python interface is also missing a -R when linking the
MySQLmodule.so file.
>How-To-Repeat:
# cd /usr/pkgsrc/databases/py-mysql; make install
>Fix:
this patch works for me. i noticed that these Setup.in files can
not reference @PREFIX@ more than once per line, or the second and
more ones are not substituted.
Index: files/Setup.in
===================================================================
RCS file: /cvsroot/pkgsrc/databases/py-mysql/files/Setup.in,v
retrieving revision 1.3
diff -c -r1.3 Setup.in
*** Setup.in 1998/10/19 21:47:59 1.3
--- Setup.in 1998/12/05 12:41:51
***************
*** 1,5 ****
# $NetBSD: Setup.in,v 1.3 1998/10/19 21:47:59 tsarna Exp $
#
*shared*
! MySQL MySQLmodule.c -L@PREFIX@/lib/mysql -lmysqlclient \
-I@PREFIX@/include/mysql
--- 1,7 ----
# $NetBSD: Setup.in,v 1.3 1998/10/19 21:47:59 tsarna Exp $
#
*shared*
! MySQL MySQLmodule.c \
! -R@PREFIX@/lib/mysql \
! -L@PREFIX@/lib/mysql -lmysqlclient \
-I@PREFIX@/include/mysql
>Audit-Trail:
>Unformatted: