Re: Mac osx 10.4.9 ppc build from svn source, APSW issues

"T Gallagher" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
David,

I had the same errors before and they were resolved when I followed along
with the
procedure shown below.  Seems the trick was to add the shared library path.

Tim

Quote =================================================
Ok, I finally got BitPim running on Intel 10.4.9 with Python 2.5 and
wxPython 2.8.1.1.

Here's what I did:

First as Sean suggested, I rebuilt sqlite3. Now part of that is
actually installing it (via sudo make install), not only using it as
part of the shared library when compiling apsw. This will place a
copy of sqlite 3.3.13 into /usr/local/lib.

I also installed apsw by following the directions in its documentation.

Since I am using tcsh as my shell, I use setenv to export my
environment variables like:

setenv DYLD_LIBRARY_PATH /usr/local/lib

For bash it would be:

export DYLD_LIBRARY_PATH=/usr/local/lib

After setting the variable, BitPim would run successfully. However,
that only works as long as the variable is present, so if you kill
your terminal session, you'll have to export it again.

When I ran BitPim months ago with a previous version of apsw, I
thought that sqlite3 was bundled into the .so file once it was
compiled. Am I incorrect in assuming that is the case now? Why would
it have to link against a version at run time now? Maybe the version
of apsw at that time was compatible with the version of sqlite3
installed on Tiger by default so I never saw that error.

These are where I got the versions of Python and wxPython from:

- Python 2.5 from python.org
-  wxPython 2.8.11 from http://www.wxpython.org/download.php and used
the wxpython osx-unicode-py2.5 link.

I have yet to try making a build, but that will be the next step. I
also checked my version of apsw.so and it is universal.

Hope this helps anyone out needing to run from source.

END QUOTE ==========================================


On 4/10/07, David A. Ritter <[email protected]> wrote:
>
> Hello,
> I've followed the archives of this list in hopes of running Bitpim
> from svn source. I would like to try adding some new phones, but
> haven't been able to get past the APSW Sqlite3 link puzzle.
> If someone has APSW with Sqlite3 compiled in for osx 10.4.9 ppc, I'd
> like to either get a copy or get new instructions on how to
> successfully get it built to avoid "Symbol not found:
> _sqlite3_declare_vtab" issues.
> Thanks,
> Dave
>
> -------------------------------------------------------------------------
> 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
>

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.