I almost finish my setup... however I keep failing at install mysqldb.

My system is Centos 3, with python 2 as system default and separate and
working python 2.4. I install mysql

I try compiling it, however this fail with

running build_ext
building '_mysql' extension
creating build/temp.linux-i686-2.4
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPI
C -I/usr/include/mysql -I/usr/include/python2.4 -c _mysql.c -o
build/temp.linux-
i686-2.4/_mysql.o -Dversion_info="(1,2,1,'final',2)"
-D__version__="1.2.1_p2"
_mysql.c: In function `_mysql_server_init':
_mysql.c:222: warning: unused variable `s'
_mysql.c:223: warning: unused variable `cmd_argc'
_mysql.c:223: warning: unused variable `i'
_mysql.c:223: warning: unused variable `groupc'
_mysql.c:224: warning: unused variable `item'
_mysql.c:298: warning: label `finish' defined but not used
gcc -pthread -shared build/temp.linux-i686-2.4/_mysql.o
-L/usr/lib/mysql -lmysql
client -lz -lcrypt -lnsl -lm -o build/lib.linux-i686-2.4/_mysql.so
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

So, I install yum & apt & easy_setup.

But I'm unable to get a mysqldb working with python 2.4 :(.

So, I read about pyvault.

I try configure it:

For apt:

rpm     [PyVault] http://www.python.org/pyvault/ centos-3-i386 stable
rpm     [PyVault] http://python.org/pyvault python/2.4/i386 stable

For YUM:

[pyvault]
name = PyVault RPM Repository Red Hat Enterprise Linux 3
baseurl = http://python.org/pyvault/centos-3-i386
mirrorlist = http://python.org/pyvault/mirrors-centos-3-i386.txt
gpgkey=http://python.org/pyvault/pyvault.asc
gpgcheck=0
enabled=1

But both fail (when run update) with a 404 error :(

I download CentOS 3 and install it under VMWARE, however I was unable
to get web acces (I run in a company with ISA Server, so, that mean
another hack route :( ) so was unable to repro it localy...

Any input?

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to