Minor bug reports during build.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Minor bug reports during build.

Michael Tiernan
Is there a route for reporting an error for an average user without
creating an account and all the overhead of the ticket system?
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Richard Hipp-3
On 12/21/17, Michael Tiernan <[hidden email]> wrote:
> Is there a route for reporting an error for an average user without
> creating an account and all the overhead of the ticket system?

Send an email to this mailing list, or directly to me.

--
D. Richard Hipp
[hidden email]
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Michael Tiernan
Thank you.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Michael Tiernan
In reply to this post by Richard Hipp-3
Here's my error report.
I'm trying to build two copes of sqlite3 in a shared dropbox folder. It's
crude but I'm doing it to prove the ability I want.

On a "Scientific Linux 6.7" (RHEL 6.7) system I did a built then build
install *as a user* and not as root. Looking to create a localized copy
specifically. At the bottom is the error, the make is attempting to modify
a system tool instead of a local one.

make install

> rm -rf tsrc
> mkdir tsrc
> cp -f /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/alter.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/analyze.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/attach.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/auth.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/backup.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/bitvec.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/btmutex.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/btree.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/btree.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/btreeInt.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/build.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/callback.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/complete.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/ctime.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/date.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/dbpage.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/dbstat.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/delete.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/expr.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/fault.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/fkey.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/func.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/global.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/hash.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/hash.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/hwtime.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/insert.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/legacy.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/loadext.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/main.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/malloc.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mem0.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mem1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mem2.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mem3.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mem5.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/memjournal.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/msvc.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mutex.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mutex.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mutex_noop.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mutex_unix.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/mutex_w32.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/notify.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os_common.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os_setup.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os_unix.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os_win.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/os_win.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pager.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pager.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/parse.y
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pcache.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pcache.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pcache1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pragma.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/pragma.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/prepare.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/printf.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/random.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/resolve.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/rowset.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/select.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/status.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/shell.c.in
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/sqlite.h.in
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/sqlite3ext.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/sqliteInt.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/sqliteLimit.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/table.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/tclsqlite.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/threads.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/tokenize.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/treeview.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/trigger.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/utf.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/update.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/util.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vacuum.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbe.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbe.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbeapi.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbeaux.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbeblob.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbemem.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbesort.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbetrace.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vdbeInt.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vtab.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/vxworks.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/wal.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/wal.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/walker.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/where.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/wherecode.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/whereexpr.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src/whereInt.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1_hash.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1_hash.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1_porter.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1_tokenizer.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts1/fts1_tokenizer1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_hash.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_hash.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_icu.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_porter.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_tokenizer.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_tokenizer.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts2/fts2_tokenizer1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3Int.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_aux.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_expr.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_hash.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_hash.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_icu.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_porter.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_snippet.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_tokenizer.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_tokenizer.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_tokenizer1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_tokenize_vtab.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_unicode.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_unicode2.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3/fts3_write.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu/sqliteicu.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu/icu.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree/rtree.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree/rtree.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session/sqlite3session.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session/sqlite3session.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rbu/sqlite3rbu.h
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rbu/sqlite3rbu.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/misc/json1.c
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/misc/stmt.c keywordhash.h
> opcodes.c opcodes.h parse.c parse.h config.h shell.c sqlite3.h tsrc
> rm tsrc/sqlite.h.in tsrc/parse.y
> tclsh8.5
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/tool/vdbe-compress.tcl
> <tsrc/vdbe.c >vdbe.new
> mv vdbe.new tsrc/vdbe.c
> cp fts5.c fts5.h tsrc
> touch .target_source
> tclsh8.5 /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/tool/mksqlite3c.tcl
> cp tsrc/shell.c tsrc/sqlite3ext.h .
> cp
> /home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session/sqlite3session.h .
> ./libtool --mode=link gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1      -DHAVE_READLINE=0  -DHAVE_EDITLINE=0
> -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS
> -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION -DSQLITE_ENABLE_STMTVTAB
> -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_DBSTAT_VTAB -o sqlite3 \
>         shell.c sqlite3.c \
>          -ldl -lpthread   -rpath "/home/mct/Dropbox-MIT/CMDB/Linux/lib"
> libtool: link: gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1 -DHAVE_READLINE=0 -DHAVE_EDITLINE=0
> -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS
> -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION -DSQLITE_ENABLE_STMTVTAB
> -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_DBSTAT_VTAB -o sqlite3 shell.c
> sqlite3.c  -ldl -lpthread -Wl,-rpath
> -Wl,/home/mct/Dropbox-MIT/CMDB/Linux/lib
> ./libtool --mode=compile --tag=CC gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1    -DSQLITE_TEMP_STORE=1 -c sqlite3.c
> libtool: compile:  gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_TEMP_STORE=1 -c sqlite3.c  -fPIC -DPIC -o
> .libs/sqlite3.o
> libtool: compile:  gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1 -DSQLITE_TEMP_STORE=1 -c sqlite3.c -o sqlite3.o
> >/dev/null 2>&1
> ./libtool --mode=link gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1      -no-undefined -o libsqlite3.la sqlite3.lo -ldl
> -lpthread   \
>          -rpath "/home/mct/Dropbox-MIT/CMDB/Linux/lib" -version-info
> "8:6:8"
> libtool: link: rm -fr  .libs/libsqlite3.a .libs/libsqlite3.la
> .libs/libsqlite3.lai .libs/libsqlite3.so .libs/libsqlite3.so.0
> .libs/libsqlite3.so.0.8.6
> libtool: link: gcc -shared  .libs/sqlite3.o   -ldl -lpthread
> -Wl,-soname -Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6
> libtool: link: (cd ".libs" && rm -f "libsqlite3.so.0" && ln -s
> "libsqlite3.so.0.8.6" "libsqlite3.so.0")
> libtool: link: (cd ".libs" && rm -f "libsqlite3.so" && ln -s
> "libsqlite3.so.0.8.6" "libsqlite3.so")
> libtool: link: ar cru .libs/libsqlite3.a  sqlite3.o
> libtool: link: ranlib .libs/libsqlite3.a
> libtool: link: ( cd ".libs" && rm -f "libsqlite3.la" && ln -s "../
> libsqlite3.la" "libsqlite3.la" )
> /usr/bin/install -c -d /home/mct/Dropbox-MIT/CMDB/Linux/lib
> ./libtool --mode=install /usr/bin/install -c libsqlite3.la
> /home/mct/Dropbox-MIT/CMDB/Linux/lib
> libtool: install: /usr/bin/install -c .libs/libsqlite3.so.0.8.6
> /home/mct/Dropbox-MIT/CMDB/Linux/lib/libsqlite3.so.0.8.6
> libtool: install: (cd /home/mct/Dropbox-MIT/CMDB/Linux/lib && { ln -s -f
> libsqlite3.so.0.8.6 libsqlite3.so.0 || { rm -f libsqlite3.so.0 && ln -s
> libsqlite3.so.0.8.6 libsqlite3.so.0; }; })
> libtool: install: (cd /home/mct/Dropbox-MIT/CMDB/Linux/lib && { ln -s -f
> libsqlite3.so.0.8.6 libsqlite3.so || { rm -f libsqlite3.so && ln -s
> libsqlite3.so.0.8.6 libsqlite3.so; }; })
> libtool: install: /usr/bin/install -c .libs/libsqlite3.lai
> /home/mct/Dropbox-MIT/CMDB/Linux/lib/libsqlite3.la
> libtool: install: /usr/bin/install -c .libs/libsqlite3.a
> /home/mct/Dropbox-MIT/CMDB/Linux/lib/libsqlite3.a
> libtool: install: chmod 644
> /home/mct/Dropbox-MIT/CMDB/Linux/lib/libsqlite3.a
> libtool: install: ranlib /home/mct/Dropbox-MIT/CMDB/Linux/lib/libsqlite3.a
> libtool: finish:
> PATH="/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/NX/bin:/opt/dell/srvadmin/bin:/home/mct/bin:/sbin"
> ldconfig -n /home/mct/Dropbox-MIT/CMDB/Linux/lib
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /home/mct/Dropbox-MIT/CMDB/Linux/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 `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> ./libtool --mode=link gcc -g -O2 -DSQLITE_OS_UNIX=1 -I.
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/src
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/rtree
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/icu
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/fts3
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/async
> -I/home/mct/Dropbox-MIT/Sqlite3/Linux/../sqlite/ext/session
> -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -I/usr/include
> -DSQLITE_THREADSAFE=1      -no-undefined -o libtclsqlite3.la tclsqlite.lo
> \
>         libsqlite3.la -L/usr/lib64 -ltclstub8.5 -ldl -lpthread   \
>         -rpath "/usr/share/tcl8.5/sqlite3" \
>         -version-info "8:6:8" \
>         -avoid-version
> libtool: link: rm -fr  .libs/libtclsqlite3.a .libs/libtclsqlite3.la
> .libs/libtclsqlite3.lai .libs/libtclsqlite3.so
> libtool: link: gcc -shared  .libs/tclsqlite.o   -Wl,-rpath
> -Wl,/home/mct/Dropbox-MIT/Sqlite3/Linux/.libs -Wl,-rpath
> -Wl,/home/mct/Dropbox-MIT/CMDB/Linux/lib ./.libs/libsqlite3.so -L/usr/lib64
> -ltclstub8.5 -ldl -lpthread    -Wl,-soname -Wl,libtclsqlite3.so -o
> .libs/libtclsqlite3.so
> libtool: link: ar cru .libs/libtclsqlite3.a  tclsqlite.o
> libtool: link: ranlib .libs/libtclsqlite3.a
> libtool: link: ( cd ".libs" && rm -f "libtclsqlite3.la" && ln -s "../
> libtclsqlite3.la" "libtclsqlite3.la" )
> echo 'package ifneeded sqlite3 3.21.0 [list load
> /usr/share/tcl8.5/sqlite3/libtclsqlite3.so sqlite3]' > pkgIndex.tcl
>
>
> */usr/bin/install -c -d /usr/share/tcl8.5/sqlite3/usr/bin/install: cannot
> change permissions of `/usr/share/tcl8.5/sqlite3': No such file or
> directorymake: *** [tcl_install] Error 1*
>

--
    << MCT >>   Michael C Tiernan.    http://www.linkedin.com/in/mtiernan

    Non Impediti Ratione Cogatationis
    Women and cats will do as they please, and
    men and dogs should relax and get used to the idea. -Robert A. Heinlein
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Warren Young
On Dec 21, 2017, at 11:37 AM, Michael Tiernan <[hidden email]> wrote:
>
> I'm trying to build two copes of sqlite3 in a shared dropbox folder.

Do you intend to use SQLite inside the Dropbox folder once you’ve got it working?  That’s only safe if only one person is using the database at a time, and you wait for the sync to finish before trying to use the DB on another machine.

If you need a networked DBMS, SQLite is generally not what you want, at least not as-stock.  There are add-ons and alternatives that work far better for this.  Google “SQLite Dropbox”.  It’s come up many times before.

> On a "Scientific Linux 6.7" (RHEL 6.7) system I did a built then build
> install *as a user* and not as root. Looking to create a localized copy
> specifically.

Try this:

    $ ./configure --prefix="$HOME/sqlite3"

That will allow the “make install” to work without root privileges.  The sqlite3 binary would land in $HOME/sqlite3/bin, with that configuration option.

You can set the prefix to somewhere under your Dropbox folder if you’re willing to take the risks to data safety that that entails.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Michael Tiernan
Sorry for the top post. Sadly the android client forces it.

In short, I'm building two copies of sqlite3, one of which works fine, the
attempt to build it on the Linux host (using the prefix flag of course)
causes the build to begin but it to fail when it runs into the attempt at
modifying the (non-existent) file /usr/share/tcl8.5/sqlite3

All the other warnings and considerations are secondary to the point that
the makefile is attempting to change the permissions on an external (to the
user) tool which it neither built or should be able to modify.

Thanks for everyone's time!
--
    << MCT >>   Michael C Tiernan.    http://www.linkedin.com/in/mtiernan

    Non Impediti Ratione Cogatationis
    Women and cats will do as they please, and
    men and dogs should relax and get used to the idea. -Robert A. Heinlein

On Dec 21, 2017 2:26 PM, "Warren Young" <[hidden email]> wrote:

On Dec 21, 2017, at 11:37 AM, Michael Tiernan <[hidden email]>
wrote:
>
> I'm trying to build two copes of sqlite3 in a shared dropbox folder.

Do you intend to use SQLite inside the Dropbox folder once you’ve got it
working?  That’s only safe if only one person is using the database at a
time, and you wait for the sync to finish before trying to use the DB on
another machine.

If you need a networked DBMS, SQLite is generally not what you want, at
least not as-stock.  There are add-ons and alternatives that work far
better for this.  Google “SQLite Dropbox”.  It’s come up many times before.

> On a "Scientific Linux 6.7" (RHEL 6.7) system I did a built then build
> install *as a user* and not as root. Looking to create a localized copy
> specifically.

Try this:

    $ ./configure --prefix="$HOME/sqlite3"

That will allow the “make install” to work without root privileges.  The
sqlite3 binary would land in $HOME/sqlite3/bin, with that configuration
option.

You can set the prefix to somewhere under your Dropbox folder if you’re
willing to take the risks to data safety that that entails.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Michael Tiernan
In reply to this post by Warren Young
I found that if I use "disable-tcl" it builds correctly.

(Testing is an issue but that's separate right now.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Rowan Worth-2
In reply to this post by Michael Tiernan
Seems to be working as advertised. Unless you specify --disable-tcl, the
configure script defaults to building an sqlite extension for TCL.

The extension can't go in $PREFIX, since tcl wouldn't be able to find it.
So your options for a non-root install are:

1) --disable-tcl
2) set the environment variable TCLLIBDIR to somewhere you have write
access (presumably you'll also need to configure tcl to look here for
extensions)
3) install your own tcl to $PREFIX and make sure its tclsh is the first one
in your $PATH

-Rowan

On 22 December 2017 at 03:41, Michael Tiernan <[hidden email]>
wrote:

> Sorry for the top post. Sadly the android client forces it.
>
> In short, I'm building two copies of sqlite3, one of which works fine, the
> attempt to build it on the Linux host (using the prefix flag of course)
> causes the build to begin but it to fail when it runs into the attempt at
> modifying the (non-existent) file /usr/share/tcl8.5/sqlite3
>
> All the other warnings and considerations are secondary to the point that
> the makefile is attempting to change the permissions on an external (to the
> user) tool which it neither built or should be able to modify.
>
> Thanks for everyone's time!
> --
>     << MCT >>   Michael C Tiernan.    http://www.linkedin.com/in/mtiernan
>
>     Non Impediti Ratione Cogatationis
>     Women and cats will do as they please, and
>     men and dogs should relax and get used to the idea. -Robert A. Heinlein
>
> On Dec 21, 2017 2:26 PM, "Warren Young" <[hidden email]> wrote:
>
> On Dec 21, 2017, at 11:37 AM, Michael Tiernan <[hidden email]>
> wrote:
> >
> > I'm trying to build two copes of sqlite3 in a shared dropbox folder.
>
> Do you intend to use SQLite inside the Dropbox folder once you’ve got it
> working?  That’s only safe if only one person is using the database at a
> time, and you wait for the sync to finish before trying to use the DB on
> another machine.
>
> If you need a networked DBMS, SQLite is generally not what you want, at
> least not as-stock.  There are add-ons and alternatives that work far
> better for this.  Google “SQLite Dropbox”.  It’s come up many times before.
>
> > On a "Scientific Linux 6.7" (RHEL 6.7) system I did a built then build
> > install *as a user* and not as root. Looking to create a localized copy
> > specifically.
>
> Try this:
>
>     $ ./configure --prefix="$HOME/sqlite3"
>
> That will allow the “make install” to work without root privileges.  The
> sqlite3 binary would land in $HOME/sqlite3/bin, with that configuration
> option.
>
> You can set the prefix to somewhere under your Dropbox folder if you’re
> willing to take the risks to data safety that that entails.
> _______________________________________________
> sqlite-users mailing list
> [hidden email]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
> _______________________________________________
> sqlite-users mailing list
> [hidden email]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Michael Tiernan
"Working as advertised" Okay, that's just funny. That it doesn't build is
correct?

Also, despite the "disable-tcl" flag, the tests all fail because of
something involving tcl. Don't think I read that in the advertisement.

Just as an FYI, it builds correctly on MacOSX and doesn't complain about
things it can't control.
--
    << MCT >>   Michael C Tiernan.    http://www.linkedin.com/in/mtiernan

    Non Impediti Ratione Cogatationis
    Women and cats will do as they please, and
    men and dogs should relax and get used to the idea. -Robert A. Heinlein


On Dec 21, 2017 10:36 PM, "Rowan Worth" <[hidden email]> wrote:

Seems to be working as advertised.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Warren Young
On Dec 22, 2017, at 7:07 AM, Michael Tiernan <[hidden email]> wrote:
>
> "Working as advertised" Okay, that's just funny. That it doesn't build is
> correct?

It does build.  It just doesn’t install to a directory it can’t write to, because you told it to install system-level things.  Rowan also gave you the solution, forcing installation of Tcl extension to other than the default you implicitly selected by not overriding the default.

> Just as an FYI, it builds correctly on MacOSX and doesn't complain about
> things it can't control.

I’m guessing you’re using Homebrew, which gives your normal user all rights to /usr/local, which is atypical for POSIX machines.  In fact on macOS’s closest cousin, FreeBSD, giving that level of access to /usr/local would be a major security problem.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Michael Tiernan
On Fri, Dec 22, 2017 at 10:26 AM, Warren Young <[hidden email]> wrote:

> On Dec 22, 2017, at 7:07 AM, Michael Tiernan <[hidden email]>
> wrote:
> >
> > "Working as advertised" Okay, that's just funny. That it doesn't build is
> > correct?
>
> It does build.


Okay, it does build the binaries. Valid point.

  It just doesn’t install to a directory it can’t write to, because you
> told it to install system-level things.



Not going to hash it out here but I didn't tell it to install system-level
things, I told it to compile and install everything locally. Just like I do
with lots of other source packages especially when I'm not very familiar
with the software and wish to make sure of what I'm doing before committing
it to the system.



> > Just as an FYI, it builds correctly on MacOSX and doesn't complain about
> > things it can't control.
> I’m guessing you’re using Homebrew,


Nope, not at all. It doesn't seem to try and touch the things it has no
right to touch.

--
    << MCT >>   Michael C Tiernan.    http://www.linkedin.com/in/mtiernan

    Non Impediti Ratione Cogatationis
    Women and cats will do as they please, and
    men and dogs should relax and get used to the idea. -Robert A. Heinlein
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Minor bug reports during build.

Rowan Worth-2
On 22 December 2017 at 23:57, Michael Tiernan <[hidden email]>
wrote:

>
> >  It just doesn’t install to a directory it can’t write to, because you
> > told it to install system-level things.
>
> Not going to hash it out here but I didn't tell it to install system-level
> things, I told it to compile and install everything locally. Just like I do
> with lots of other source packages especially when I'm not very familiar
> with the software and wish to make sure of what I'm doing before committing
> it to the system.
>

How is the build system supposed to differentiate "local" vs "system-level"?

It's obvious from your perspective, but --prefix does not clearly
disambiguate between the two; it's also used for system-level builds. Eg.
--prefix=/opt or --prefix=/usr (for package maintainers).

AFAIK there's no standard way to tell configure to avoid touching any
system-level dirs. If you want to know what an unfamiliar package is going
to do before the fact your best bet is `make -n install`, or `make
DESTDIR=/tmp/foo install` if the package supports staged installs (sqlite
does, probably most autoconf projects do).


The tests rely on tcl, but they run here without installing the tcl
extension so not sure what's going wrong in your situation. They run on a
DB in the current directory, so maybe related to you running under a
dropbox vfs (which I don't know if implements properly locking?).


Dunno about OSX either; do you have tcl installed there?
-Rowan
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users