Re: Mac OS X - run from source
Sean Burke <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Ha! Well, yes, it is a New England thing. (Although technically, NY isn't in New England - that's where the insult comes in.) While you are setting up the dependencies, take notes. I forgot to and later on couldn't retrace my steps, bless my heart. Sean Allen Hancock wrote: On Feb 26, 2007, at 2:37 PM, Sean Burke wrote: Not for nothing,* is that a New England thing? down here, we just append a "bless his heart" As in, "The documentations for getting bitpim's dependencies in place could use a bit of updating, bless its heart." Personally, I am happy to help w/ such updating, given the desire of the admin's in charge but I recall having to build apsw and sqlite before BP would work on my PPC/10.4 laptop. In both cases, it required an "install" step at the end. For apsw, see: http://initd.org/pub/software/pysqlite/apsw/3.3.13-r1/ apsw.html#Building For sqlite3, I think it is a "./configure make make install" thing. does that mean a make install or make clean step should be in there? ok, these steps could use a bit more fleshing out... # The static library is not built for inclusion into a seperate shared library # by default. If using gcc, then do this $ env CC="gcc -fPIC" CFLAGS="-DHAVE_DLOPEN" ./configure --enable- threadsafe --disable-tcl # otherwise do this $ env CFLAGS="-DHAVE_DLOPEN" ./configure --enable-threadsafe -- disable-tcl # The CFLAGS="-DHAVE_DLOPEN bit is needed for loading dynamic # extensions. See SQLite bug 2082 so, given these notes, I am assuming that with the latest dev tools, I am using gcc for building, and so have been using the first line, but not the second (env CFLAGS) line. Is that OK? Now, after tossing all, re-decompressing from their zip/gz files, I have redone the steps (again) I get this: /build/apsw-3.3.13-r1 myuser $ ls total 4792 drwxr-xr-x 15 myuser wheel - 510B Feb 26 17:26 ./ drwxr-xr-x 12 myuser wheel - 408B Feb 26 17:18 ../ -rw-r--r-- 1 myuser wheel - 125K Feb 19 01:46 apsw.c -rw-r--r-- 1 myuser wheel - 133K Feb 19 01:46 apsw.html -rw-r--r-- 1 myuser wheel - 33B Feb 19 01:46 apswversion.h drwxr-xr-x 4 myuser wheel - 136B Feb 26 17:23 build/ -rw-r--r-- 1 myuser wheel - 2K Feb 19 01:46 mingwsetup.bat -rw-r--r-- 1 myuser wheel - 3K Feb 19 01:46 pointerlist.c -rw-r--r-- 1 myuser wheel - 1K Feb 19 01:46 setup.py -rw-r--r-- 1 myuser admin - 1M Feb 13 14:05 sqlite-3.3.13.tar.gz drwxr-xr-x 141 myuser wheel - 4K Feb 26 17:22 sqlite3/ -rw-r--r-- 1 myuser wheel - 5K Feb 19 01:46 statementcache.c -rw-r--r-- 1 myuser wheel - 1K Feb 19 01:46 testextension.c -rw-r--r-- 1 myuser wheel - 84K Feb 19 01:46 tests.py -rw-r--r-- 1 myuser wheel - 4K Feb 19 01:46 traceback.c /build/apsw-3.3.13-r1 myuser $ python -c "import apsw ; print apsw.sqlitelibversion(), apsw.apswversion()" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/site-packages/apsw.so, 2): Symbol not found: _sqlite3_declare_vtab Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/site-packages/apsw.so Expected in: dynamic lookup so, maybe I have a problem with my Python installation elsewhere? Could there be old detritus I need to get rid of first? Bitpim is easy to get running from source on OS X. Its the dependencies (apsw, etc...) that are a bear to get going. Its been a few months since I have had to do it so my recollection is a bit hazy. Hope this helps. If not, send more questions. Sent. Thanks! ------------------------------------------------------------------------- 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 -- 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