Re: BitPim 0.9.13 MacOS X Test Build is now available for testing
Sean Burke <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Joe, Ok. Here is the problem. On a default 10.4 build, the flag "-undefined dynamic_lookup" gets thrown (see "Background"). This is a new flag, which is why it hasn't shown up in Roger's 10.3 builds. After recompiling python 2.3.5 with MACOSX_DEPLOYMENT_TARGET=10.2, I got a clean build. It works on PPC and I am waiting for i386 results from Allen and Mark. Sean Background: Using Roger's build log as a template for building apsw, I compiled apsw: eviathan:~/Desktop/apsw-3-1.3.13-r1 spb$ sudo python setup.py install running install running build running build_ext building 'apsw' extension creating build creating build/temp.darwin-8.9.0-Power_Macintosh-2.3 gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DNDEBUG=1 -DEXPERIMENTAL=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c apsw.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.3/apsw.o In file included from apsw.c:66: statementcache.c: In function 'statementcache_free': statementcache.c:99: warning: unused variable 'res' creating build/lib.darwin-8.9.0-Power_Macintosh-2.3 gcc -Wl,-F. -bundle -undefined dynamic_lookup build/temp.darwin-8.9.0-Power_Macintosh-2.3/apsw.o -lsqlite3 -o build/lib.darwin-8.9.0-Power_Macintosh-2.3/apsw.so running install_lib copying build/lib.darwin-8.9.0-Power_Macintosh-2.3/apsw.so -> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages >From there, the application build fails with the following error: File "buildrelease/makedist.py", line 596, in ? pkg.sanitycheck() # theirs File "/Users/spb/Desktop/PPC/bitpim/src/package.py", line 75, in sanitycheck import apsw ImportError: Failure linking new module: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/apsw.so: Symbol not found: _sqlite3_prepare_v2 Referenced from: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/apsw.so Expected in: dynamic lookup -- Sean Patrick Burke Imaging Analysis Specialist Albert Einstein College of Medicine Yeshiva University ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BitPim-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bitpim-devel