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.o    libsqlite3.a     libtclsqlite3.la
os_unix.o  pragma.o  table.o      update.o  vdbe.o     where.o attach.o
date.o    hash.o    libsqlite3.la    libtclsqlite3.lai  os_win.o
printf.o  tclsqlite.o  utf.o     vdbeapi.o auth.o    delete.o  insert.o
libsqlite3.lai   main.o  pager.o    random.o  tokenize.o   util.o
vdbeaux.o btree.o   expr.o    legacy.o  libtclsqlite3.a  opcodes.o
parse.o    select.o  trigger.o    vacuum.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

Reply via email to