[freetds] installation
Matt Davies
tonmatt at gmail.com
Sat Dec 2 14:33:24 EST 2006
Do you need to install the development libraries on a macosx 4.8 in order to
get pymssql to install properly?
I'm not sure I've installed the freetds properly or exposed the SYBASE
variable to the system properly.
I'm getting the same error on the Linux systems I've tried, so I think I'm
doing something wrong all over the place, which is encouraging. :-)
here's the symptoms
I do
cd freetds-0.64/
./configure --prefix=/usr/local/freetds --enable-msdblib
make
sudo make install
cd ../pymssql-0.8.0/
trouble starts here, at the top of the terminal output are these lines
running install
running build
running build_py
running build_ext
building '_mssql' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common -dynamic -DNDEBUG -g -O3 -I/usr/include -I/usr/local/include
-I/usr/include/freetds -I/usr/local/include/freetds
-I/usr/pkg/freetds/include
-I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c
mssqldbmodule.c -o build/temp.macosx-10.3-fat-2.4/mssqldbmodule.o
mssqldbmodule.c:45:24: error: sqlfront.h: No such file or directory
the last two lines are
lipo: can't figure out the architecture type of: /var/tmp//ccqHXSFw.out
error: command 'gcc' failed with exit status 1
I'm running universal macpython 2.4.4 on this mac, but I"m getting a
similar, if not the same error on a linux bos as well. FC4.
do I need to set the SYBASE variable?
or do I need to do alot of things
i appreciate everyting
More information about the FreeTDS
mailing list