<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
Sean<br>
<br>
Allen Hancock wrote:
<blockquote
cite="midD1CAD43F-E282-4806-970E-***@hancockconsulting.net"
type="cite">
<pre wrap="">On Feb 26, 2007, at 2:37 PM, Sean Burke wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Not for nothing,*
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
<blockquote type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://initd.org/pub/software/pysqlite/apsw/3.3.13-r1/">http://initd.org/pub/software/pysqlite/apsw/3.3.13-r1/</a>
apsw.html#Building
For sqlite3, I think it is a "./configure make make install" thing.
</pre>
</blockquote>
<pre wrap=""><!---->
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?
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->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
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a>
_______________________________________________
BitPim-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:BitPim-***@lists.sourceforge.net">BitPim-***@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bitpim-devel">https://lists.sourceforge.net/lists/listinfo/bitpim-devel</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
</pre>
</body>
</html>