Thanks for all the info! I changed to a Ubuntu setup 7.10, got the right headers, and everything is working great.
I'll post a howto shortly. Ivan On Jan 7, 4:45 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-01-07 at 15:03 -0800, [EMAIL PROTECTED] wrote: > > Grabbing the 1.2.1_p2 version of MySQLdb, these are the kinds of > > errors I get in building.... > > > # python setup.py build > > > running build > > running build_py > > creating build > > creating build/lib.linux-x86_64-2.4 > > copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.4 > > creating build/lib.linux-x86_64-2.4/MySQLdb > > copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.4/MySQLdb > > copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.4/MySQLdb > > copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.4/MySQLdb > > copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.4/MySQLdb > > copying MySQLdb/release.py -> build/lib.linux-x86_64-2.4/MySQLdb > > copying MySQLdb/times.py -> build/lib.linux-x86_64-2.4/MySQLdb > > creating build/lib.linux-x86_64-2.4/MySQLdb/constants > > copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.4/ > > MySQLdb/constants > > copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.4/MySQLdb/ > > constants > > copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.4/ > > MySQLdb/constants > > copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.4/MySQLdb/ > > constants > > copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.4/ > > MySQLdb/constants > > copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.4/ > > MySQLdb/constants > > copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.4/ > > MySQLdb/constants > > running build_ext > > building '_mysql' extension > > creating build/temp.linux-x86_64-2.4 > > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict- > > prototypes -fPIC -I/usr/include/mysql -I/usr/include/python2.4 -c > > _mysql.c -o build/temp.linux-x86_64-2.4/_mysql.o -DBIG_JOINS=1 - > > Dversion_info="(1,2,1,'final',2)" -D__version__="1.2.1_p2" > > In file included from _mysql.c:29: > > pymemcompat.h:10:20: error: Python.h: No such file or directory > > This is a big clue. You need the Python development headers. > > Whenever you see a bunch of syntax errors whilst compiling, always, > always, always check for missing header files like this. > > Regards, > Malcolm > -- > Telepath required. You know where to apply...http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---