From: Edward J. S. <ejs...@ma...> - 2009-07-09 05:46:40
|
I'm trying to run the 0.39 installer on Mac OS X 10.5.7 (Intel x86_64) using Python 2.6 with Sybase ASE 12.5, however it fails during the build_ext portion. My pertinent env variables: SYBASE=/Applications/Sybase SYBASE_OCS=/Applications/Sybase/System/OCS-12_5 The install output and errors: $ python setup.py install running install running bdist_egg running egg_infowriting python_sybase.egg-info/PKG-INFO writing top-level names to python_sybase.egg-info/top_level.txt writing dependency_links to python_sybase.egg-info/dependency_links.txt reading manifest file 'python_sybase.egg-info/SOURCES.txt' writing manifest file 'python_sybase.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.3-fat/egg running install_lib running build_py running build_ext building 'sybasect' extension gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 - DWANT_BULKCOPY -DHAVE_DATETIME -DHAVE_DECIMAL -DHAVE_BLK_ALLOC - DHAVE_BLK_DESCRIBE -DHAVE_BLK_DROP -DHAVE_BLK_ROWXFER_MULT - DHAVE_BLK_TEXTXFER -DHAVE_CT_CURSOR -DHAVE_CT_DATA_INFO - DHAVE_CT_DYNAMIC -DHAVE_CT_SEND_DATA -DHAVE_CT_SETPARAM -DHAVE_CS_CALC -DHAVE_CS_CMP -I/Applications/Sybase/System/OCS-12_5/include -I/ Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c sybasect.c -o build/temp.macosx-10.3-fat-2.6/sybasect.o sybasect.c: In function ‘initsybasect’:sybasect.c: In function ‘initsybasect’: sybasect.c:1610: error: ‘PyDateTime_IMPORT’ undeclared (first use in this function) sybasect.c:1610: error: (Each undeclared identifier is reported only once sybasect.c:1610: error: for each function it appears in.) sybasect.c:1610: error: ‘PyDateTime_IMPORT’ undeclared (first use in this function) sybasect.c:1610: error: (Each undeclared identifier is reported only once sybasect.c:1610: error: for each function it appears in.) lipo: can't figure out the architecture type of: /var/folders/6Z/ 6ZK5YgTNHCe20-NdXh20gE+++TI/-Tmp-//cc9VPG2i.out error: command 'gcc' failed with exit status 1 Anyone have any ideas? |