Skip to Content.
Sympa Menu

freetds - [freetds] installation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Matt Davies" <tonmatt AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] installation
  • Date: Sat, 2 Dec 2006 19:33:24 +0000

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




Archive powered by MHonArc 2.6.24.

Top of Page