[ITP] sqlite-3.0.7

Gerrit P. Haase gerrit@familiehaase.de
Wed Oct 13 10:46:00 GMT 2004


Jari schrieb:


| >> ...."warning: undefined symbols not allowed in i686-pc-cygwin shared
| >> libraries."
| >> So there's something missing for cygsqlite-6.dll
| >> With dllwrap and the def file it works fine.

> Is there guidelines how to use dllwrap for package ports somewhere I
> could take a look? I'm not familiar with dllwrap.

Use libtool which uses gcc -shared, just add -no-undefined to the
libsqlite_la_LDFLAGS, run `autoreconf --install --force --verbose' in
the source directory and all happens automagically.


> I'm having problem with install though. Does anyone know what to do
> with this:

> ./libtool --mode=install /bin/install -c libtclsqlite3.la
> /usr/src/build/build/sqlite/sqlite-3.0.7/.inst/usr/lib/sqlite
> libtool: install: error: cannot install `libtclsqlite3.la' to a
> directory not ending in /usr/lib/sqlite

> The makefile portion I added was:

>     install:        sqlite3 libsqlite3.la sqlite3.h
>             $(INSTALL) -d $(DESTDIR)$(libdir)
>             $(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)
>     +       $(LTINSTALL) libtclsqlite3.la $(DESTDIR)$(libdir)/sqlite

You shouldn't need to add s.th. to any Makefile.am / .in, if the library
is compiled by libtool it is also installed by libtool.

Should I send you my sqlite patches?

Gerrit
-- 
=^..^=



More information about the Cygwin-apps mailing list