[Zope] Need help to compile MySQL-python-0.9.0
Tri Quach
tquach@k12.hi.us
Wed, 04 Jun 2003 16:53:09 -1000
This is a multi-part message in MIME format.
--Boundary_(ID_bGFuaa6ttKPsC7Zc7lFt/Q)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Hello,
I modified my setup.py file and rebuild it. I got a different error. =
This is the sort section at the end of my compile.
vio_fd 0x618 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
my_inet_ntoa 0x30c =
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
write 0x90 =
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
vio_is_blocking 0x40c =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_is_blocking 0x868 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_errno 0x568 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
setsockopt 0x148 =
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
setsockopt 0x178 =
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
setsockopt 0x1d8 =
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)
net_real_write 0x250 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
net_real_write 0x31c =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
net_real_write 0x3a4 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
net_real_write 0x3bc =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
net_real_write 0x6e4 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
net_real_write 0x820 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_should_retry 0x4ac =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_should_retry 0x504 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_should_retry 0xa38 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_should_retry 0xa90 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
vio_should_retry 0xaf4 =
/usr/local/mysql/lib/libmysqlclient.a(net.o)
realloc 0x14 =
/usr/local/mysql/lib/libmysqlclient.a(my_realloc.o)
<unknown> 0xc0 =
/usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)
<unknown> 0xc8 =
/usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)
fdopen 0x1e0 =
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o)
fclose 0x120 =
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o)
memchr 0xc =
/usr/local/mysql/lib/libmysqlclient.a(strnlen.o)
ld: fatal: relocations remain against allocatable but non-writable =
sections
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
I changed the permition of /usr/local/mysql/lib and =
/usr/local/mysql/include to 775, but still get this error.
Thank you for your help,
Tri.
--Boundary_(ID_bGFuaa6ttKPsC7Zc7lFt/Q)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I modified my setup.py file and rebuild =
it. I=20
got a different error. This is the sort section at the end of my=20
compile.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>vio_fd &nbs=
p;  =
; =20
0x618 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>my_inet_ntoa &=
nbsp; &n=
bsp; =20
0x30c =20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>write &n=
bsp; &nb=
sp; &nbs=
p; =20
0x90 =20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>vio_is_blocking&nbs=
p;  =
; =20
0x40c =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_is_blocking &nbs=
p;  =
; =20
0x868 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_errno &nbs=
p;  =
; =20
0x568 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>setsockopt &nb=
sp; &nbs=
p; =20
0x148 =20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>setsockopt &nb=
sp; &nbs=
p; =20
0x178 =20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>setsockopt &nb=
sp; &nbs=
p; =20
0x1d8 =20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>net_real_write =
; =
=20
0x250 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write  =
; =
=20
0x31c =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write  =
; =
=20
0x3a4 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write  =
; =
=20
0x3bc =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write  =
; =
=20
0x6e4 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write  =
; =
=20
0x820 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry &nb=
sp; &nbs=
p; =20
0x4ac =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry &nb=
sp; &nbs=
p; =20
0x504 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry &nb=
sp; &nbs=
p; =20
0xa38 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry &nb=
sp; &nbs=
p; =20
0xa90 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry &nb=
sp; &nbs=
p; =20
0xaf4 =20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>realloc =
&=
nbsp; &n=
bsp;=20
0x14 =20
/usr/local/mysql/lib/libmysqlclient.a(my_realloc.o)<BR><unknown>&nb=
sp; &nbs=
p;  =
; =20
0xc0 =20
/usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)<BR><unknown> =
; =
&=
nbsp;=20
0xc8 =20
/usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)<BR>fdopen &n=
bsp; &nb=
sp; &nbs=
p; =20
0x1e0 =20
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o)<BR>fclose &n=
bsp; &nb=
sp; &nbs=
p; =20
0x120 =20
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o)<BR>memchr &n=
bsp; &nb=
sp; &nbs=
p; =20
0xc =20
/usr/local/mysql/lib/libmysqlclient.a(strnlen.o)<BR><STRONG>ld: fatal:=20
relocations remain against allocatable but non-writable =
sections<BR>collect2: ld=20
returned 1 exit status<BR>error: command 'gcc' failed with exit status=20
1</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2>I changed the permition of =
/usr/local/mysql/lib and=20
/usr/local/mysql/include to 775, but still get this error.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for your help,</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>Tri.</FONT></DIV></FONT></DIV></BODY></HTML>
--Boundary_(ID_bGFuaa6ttKPsC7Zc7lFt/Q)--