I double checked and I have the following gcc installed (I definitely was using it just yesterday for compiling)...
:~/MySQL-python-1.2.2c1 root# gcc
i686-apple-darwin8-gcc-4.0.1: no input files
:~/MySQL-python-1.2.2c1 root# gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I'm a little out of my depth here... has anyone else had this problem or know how I might fix it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(os x version 10.4.11)
After doing the install command:
python setup.py install
it runs for a while and then ends with the following:
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Dversion_info=(1,2,2,'gamma',1) -Dversion=1.2.2c1 -I/usr/local/mysql/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c _mysql.c -o build/temp.darwin-8.11.1-i386-2.3/_mysql.o -Os -arch i386 -fno-common
gcc -Wl,-F. -Wl,-F. -bundle -undefined dynamic_lookup build/temp.darwin-8.11.1-i386-2.3/_mysql.o -L/usr/local/mysql/lib -lmysqlclient_r -lz -lm -o build/lib.darwin-8.11.1-i386-2.3/_mysql.so
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/local/mysql/lib/libmysqlclient_r.dylib load command 7 unknown cmd field
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
I double checked and I have the following gcc installed (I definitely was using it just yesterday for compiling)...
:~/MySQL-python-1.2.2c1 root# gcc
i686-apple-darwin8-gcc-4.0.1: no input files
:~/MySQL-python-1.2.2c1 root# gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I'm a little out of my depth here... has anyone else had this problem or know how I might fix it?
same problem here
mac osx 10.4.11 mysql 5 python 2.3.5 gcc 4.0.1
i was using the mysql provided by mamp
installed the mysql.com community release and it worked