[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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I modified my setup.py file and rebuild =
it.&nbsp; I=20
got a different error.&nbsp; This is the sort section at the end of my=20
compile.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>vio_fd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x618&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>my_inet_ntoa&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x30c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>write&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
0x90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>vio_is_blocking&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x40c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_is_blocking&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x868&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_errno&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x568&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>setsockopt&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>setsockopt&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>setsockopt&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x1d8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(viosocket.o)<BR>net_real_write&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x31c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x3a4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x3bc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x6e4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>net_real_write&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x820&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x4ac&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0x504&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0xa38&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0xa90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>vio_should_retry&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0xaf4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(net.o)<BR>realloc&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
0x14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(my_realloc.o)<BR>&lt;unknown&gt;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
0xc0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)<BR>&lt;unknown&gt;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
0xc8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(my_getwd.o)<BR>fdopen&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
0x1e0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o)<BR>fclose&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
0x120&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/usr/local/mysql/lib/libmysqlclient.a(my_fopen.o)<BR>memchr&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
0xc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=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>&nbsp;</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>&nbsp;</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)--