#36 crach on mingw32 build

MySQLdb
closed
Andy Dustman
MySQLdb (53)
5
2012-09-19
2006-10-28
No

I try build latest svn version.
I recived error:

running build_ext
building '_mysql' extension
C:\Lang\mingw\bin\gcc.exe -mno-cygwin -mdll -Wall -O3
-Wno-strict-aliasing -mtune=pentium3 -march=pentium3
-IC:/Lang/MySQL/Server_4.1/include
-IC:\Lang\Python\24\include -IC:\Lang\Python\24\PC -c
_mysql.c -o build\temp.win32-2.4\Release_mysql.o
/Dversion_info=(1,3,0,'final',0) /Dversion=1.3.0
gcc: /Dversion_info=(1,3,0,'final',0): No such file or
directory
gcc: /Dversion=1.3.0: No such file or directory
error: command 'gcc' failed with exit status 1

After small change in setup.py & _mysql.h
All build ok.

Discussion

  • Correcr crach

     
    Attachments
  • Andy Dustman
    Andy Dustman
    2006-10-28

    Logged In: YES
    user_id=71372

    I will apply this to the 1.2 branch as well since it is a
    lot cleaner than what I am doing. Thanks.

     
  • Andy Dustman
    Andy Dustman
    2007-02-10

    Logged In: YES
    user_id=71372
    Originator: NO

    Windows builds should now all be fixed.