MySQL Forums
Forum List  »  Connector/Python

Re: MySQL-python on Solaris
Posted by: Darren
Date: April 10, 2006 01:07AM

I also encounter similar problem.
HW:SUN E3500
OS:sparc solaris8
SW:ActivePython-2.4.3.11
MySQL-5.0.19
GNUgcc-3.4.4
MySQL-python-1.2.1
Error information:
root@TNC1 # python setup.py build
running build
running build_py
creating build
creating build/lib.solaris-2.8-sun4u-2.4
copying _mysql_exceptions.py -> build/lib.solaris-2.8-sun4u-2.4
creating build/lib.solaris-2.8-sun4u-2.4/MySQLdb
copying MySQLdb/__init__.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
copying MySQLdb/converters.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
copying MySQLdb/connections.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
copying MySQLdb/cursors.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
copying MySQLdb/release.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
copying MySQLdb/times.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
creating build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.solaris-2.8-sun4u-2.4
cc -DNDEBUG -O -xcode=pic32 -I/usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit/include -I/usr/local/ASpy24/include/python2.4 -c _mysql.c -o build/temp.solaris-2.8-sun4u-2.4/_mysql.o -xO3 -mt -D_FORTEC_ -xarch=v9 -Dversion_info="(1,2,1,'final',1)" -D__version__="1.2.1"
cc: warning: `-x arch=v9' after last input file has no effect
cc: language code=pic32 not recognized
cc: _mysql.c: linker input file unused because linking not done
cc -G build/temp.solaris-2.8-sun4u-2.4/_mysql.o -L/usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit/lib -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm -lpthread -lthread -o build/lib.solaris-2.8-sun4u-2.4/_mysql.so
cc: build/temp.solaris-2.8-sun4u-2.4/_mysql.o: No such file or directory
error: command 'cc' failed with exit status 1

Options: ReplyQuote


Subject
Written By
Posted
November 10, 2005 09:04AM
Re: MySQL-python on Solaris
April 10, 2006 01:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.