This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi Jari,
> | 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.
> I didn't see libtclsqlite3.la mentioned in install, so I modified the
> Makefile.in
> install: sqlite3 libsqlite3.la sqlite3.h
> $(INSTALL) -d $(DESTDIR)$(libdir)
> $(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)
> + $(LTINSTALL) libtclsqlite3.la $(DESTDIR)$(libdir)/sqlite
> Should the tcl libs be installed under usr/lib/ or usr/lib/sqlite ?
I'm sorry, I thought automake is used, but I see now looking at my pacth
that I did the same. It should work, the error you got is strange,
though I saw the same when trying to say install to /usr/lib.
> | Should I send you my sqlite patches?
> Sure, that'd help.
I configured with:
${srcdir}/configure \
--srcdir=${srcdir} --prefix=/usr \
--exec-prefix=/usr --sysconfdir=/etc \
--libdir=/usr/lib --includedir=/usr/include \
--mandir=/usr/share/man --infodir=/usr/share/info \
--libexecdir=/usr/sbin --localstatedir=/var \
--datadir=/usr/share --disable-static --enable-tempstore \
--enable-threadsafe --with-tcl=/usr
Please enable tempstore it should be very much faster when temp tables
are hold in RAM rather than on disk.
Then called make three times:
CFLAGS="${MY_CFLAGS}" LDFLAGS="${MY_LDFLAGS}" make && \
CFLAGS="${MY_CFLAGS}" LDFLAGS="${MY_LDFLAGS}" make libtclsqlite3.la && \
CFLAGS="${MY_CFLAGS}" LDFLAGS="${MY_LDFLAGS}" make tclsqlite3 && \
Though I also added libtclsqlite3.la to the 'all:' target, therefore
the second call is not needed if you have it already in the Mskefile.
After `make install' I run this to get the docs installed:
mkdir -p ${instdir}${prefix}/share/doc/${BASEPKG}/doc && \
/usr/bin/install -m 644 doc/* \
${instdir}${prefix}/share/doc/${BASEPKG}/doc )
Funny is, even if you say
'$LTINSTALL libtclsqlite3.la $DESTDIR/usr/lib/sqlite'
the library is installed into $DESTDIR/usr/lib && ../bin, weird things
happen with this libtool...(at least with libtool-devel-1.5.10) BTW, I
ran `autoreconf --install --verbose --force' on the sourcedirectory to
get libtool-devel version 1.5.10 installed.
Patch is attached.
Gerrit
--
=^..^=Attachment:
sqlite-3.0.6-cygwin.patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |