Re: [sqlite] SQLITE 3 Make install errors -- DESTDIR variable unpopulated,...

2005-04-12 Thread D. Richard Hipp
On Tue, 2005-04-12 at 11:53 -0400, Reid Thompson wrote:
> This issues still exists:
> http://www.mail-archive.com/sqlite-users@sqlite.org/msg06857.html
> 
> reid
> 

Perhaps someone who has access to cygwin on Windows XP can suggest
a fix.  (I do not own a copy of WinXP so it would be rather difficult
for me to fix it myself.)  Reid?  Do you have any suggestions?
-- 
D. Richard Hipp <[EMAIL PROTECTED]>



[sqlite] SQLITE 3 Make install errors -- DESTDIR variable unpopulated,...

2005-04-12 Thread Reid Thompson
This issues still exists:
http://www.mail-archive.com/sqlite-users@sqlite.org/msg06857.html

reid


[sqlite] SQLITE 3 Make install errors -- DESTDIR variable unpopulated,...

2005-03-08 Thread Reid Thompson
as info -- cygwin, windows XP --

$ ./configure
..
$ make
..
$ make install
tclsh ./tclinstaller.tcl 3.1
can't read "env(DESTDIR)": no such variable
while executing
"set LIBDIR $env(DESTDIR)[lindex $auto_path 0]"
(file "./tclinstaller.tcl" line 10)
make: *** [tcl_install] Error 1
-

$ export DESTDIR=""  # ala tclinstaller.tcl line 9

$ make install
tclsh ./tclinstaller.tcl 3.1
couldn't open ".libs/libtclsqlite3.dll": no such file or directory
while executing
"open $LIBFILE"
invoked from within
"set in [open $LIBFILE]"
(file "./tclinstaller.tcl" line 24)
make: *** [tcl_install] Error 1

$ ls .libs
alter.o   build.o   func.olibsqlite3.a libtclsqlite3.la
os_unix.o  pragma.o  table.o  update.o  vdbe.o where.o attach.o
date.ohash.olibsqlite3.lalibtclsqlite3.lai  os_win.o
printf.o  tclsqlite.o  utf.o vdbeapi.o auth.odelete.o  insert.o
libsqlite3.lai   main.o  pager.orandom.o  tokenize.o   util.o
vdbeaux.o btree.o   expr.olegacy.o  libtclsqlite3.a  opcodes.o
parse.oselect.o  trigger.ovacuum.o  vdbemem.o

$ ./configure --disable-tcl
$ make clean
.
$ make
.
$ make install
/usr/bin/install -c -d /usr/local/lib
./libtool --mode=install /usr/bin/install -c libsqlite3.la
/usr/local/lib
/usr/bin/install -c .libs/libsqlite3.lai /usr/local/lib/libsqlite3.la
/usr/bin/install -c .libs/libsqlite3.a /usr/local/lib/libsqlite3.a
ranlib /usr/local/lib/libsqlite3.a
chmod 644 /usr/local/lib/libsqlite3.a
--
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
 during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
 during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
/usr/bin/install -c -d /usr/local/bin
./libtool --mode=install /usr/bin/install -c sqlite3 /usr/local/bin
/usr/bin/install -c sqlite3 /usr/local/bin/sqlite3
/usr/bin/install -c -d /usr/local/include
/usr/bin/install -c -m 0644 sqlite3.h /usr/local/include
/usr/bin/install -c -d /usr/local/lib/pkgconfig; 
/usr/bin/install -c -m 0644 sqlite3.pc /usr/local/lib/pkgconfig;

reid