Announcement

Collapse
No announcement yet.

Problems installing crafty and sqlite tests

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems installing crafty and sqlite tests

    I can't get the crafty and sqlite tests installed. They do download but fail with a "The installer exited with a non-zero exit status". This happened with 2.6.1 from the Lucid repo (I'm on a 32bit Lucid) and also with the just released 2.8.0. I'm no computer expert, but maybe it could be due to libstdc++5 not being installed (though I'm not sure if it is a dependency for these two tests)? Ubuntu will only provide me with libstdc++6 and thought I would check here before looking into other ways of getting that.

    The install-failed.log for crafty ends with:
    Code:
      inflating: crafty-23.3/preeval.c   
      inflating: crafty-23.3/killer.c    
      inflating: crafty-23.3/validate.c  
      inflating: crafty-23.3/lock.h      
    make target=LINUX \
    		CC=gcc CXX=g++ \
    		CFLAGS='-pg -Wall -pipe' \
    		CXFLAGS='' \
    		LDFLAGS=' -pg -lstdc++ -lpthread' \
    		opt=' -DTRACE -DINLINE64 -DCPUS=2' \
    		crafty-make
    make[1]: Entering directory `/home/anbog/.phoronix-test-suite/installed-tests/crafty/crafty-23.3'
    make[2]: Entering directory `/home/anbog/.phoronix-test-suite/installed-tests/crafty/crafty-23.3'
    gcc -pg -Wall -pipe -DTRACE -DINLINE64 -DCPUS=2 -DLINUX -c crafty.c
    In file included from crafty.c:25:
    swap.c: In function ?SwapO?:
    swap.c:134: warning: unused variable ?source?
    In file included from crafty.c:29:
    book.c: In function ?BookUp?:
    book.c:1146: warning: format not a string literal and no format arguments
    inline64.h: Assembler messages:
    inline64.h:11: Error: suffix or operands invalid for `bsr'
    inline64.h:13: Error: suffix or operands invalid for `movq'
    inline64.h:24: Error: suffix or operands invalid for `bsf'
    inline64.h:26: Error: suffix or operands invalid for `movq'
    inline64.h:49: Error: suffix or operands invalid for `xor'
    inline64.h:50: Error: suffix or operands invalid for `test'
    inline64.h:52: Error: suffix or operands invalid for `lea'
    inline64.h:53: Error: suffix or operands invalid for `inc'
    inline64.h:54: Error: suffix or operands invalid for `and'
    make[2]: *** [crafty.o] Error 1
    make[2]: Leaving directory `/home/anbog/.phoronix-test-suite/installed-tests/crafty/crafty-23.3'
    make[1]: *** [crafty-make] Error 2
    make[1]: Leaving directory `/home/anbog/.phoronix-test-suite/installed-tests/crafty/crafty-23.3'
    make: *** [linux] Error 2
    The install-failed.log from sqlite is very long, but I can post it if needed..

    Any ideas on how I can get past this?

  • #2
    I tried installing on a 64-bit Lucid desktop, where sqlite also fails, but where crafty installed correctly. No one else havehad any problems installing sqlite (and/or crafty)? Preferably with a solution, but just knowing other people have the problem would be a start..

    Also, do people using PTS on Ubuntu go to the trouble of installing libstdc++5 manually or ignore it?

    Comment


    • #3
      For the crafty issue, if you are in a 32bit OS, try following:
      Edit the makefile of crafty - under the category of 'Linux', modify the '-DINLINE64' to be '-DINLINE32'

      Comment


      • #4
        Originally posted by NeoChen View Post
        For the crafty issue, if you are in a 32bit OS, try following:
        Edit the makefile of crafty - under the category of 'Linux', modify the '-DINLINE64' to be '-DINLINE32'
        Thanks - that could explain why it would install on my 64bit setup.. I'll try it out when I get to the right machine.

        I wonder if this is a "bug" in PTS or if crafty is not intended for testing 32bit setups?

        Comment


        • #5
          Changing the makefile as NeoChen suggested solved the crafty problem for me!

          However, I'm still not able to install sqlite - 32bit or 64bit. Here is part of the install-failed.log for it, from my 32bit setup (it's too long to post here - 20000 char limit):
          Code:
          sqlite-2500-insertions.txt
          .
          .
          sqlite-3.6.19/sqlite3.pc.in
          sqlite-3.6.19/publish.sh
          checking build system type... i686-pc-linux-gnu
          checking host system type... i686-pc-linux-gnu
          checking for gcc... gcc
          checking for C compiler default output file name... a.out
          checking whether the C compiler works... yes
          checking whether we are cross compiling... no
          checking for suffix of executables... 
          checking for suffix of object files... o
          checking whether we are using the GNU C compiler... yes
          checking whether gcc accepts -g... yes
          checking for gcc option to accept ISO C89... none needed
          checking for a sed that does not truncate output... /bin/sed
          checking for grep that handles long lines and -e... /bin/grep
          checking for egrep... /bin/grep -E
          checking for fgrep... /bin/grep -F
          checking for ld used by gcc... /usr/bin/ld
          checking if the linker (/usr/bin/ld) is GNU ld... yes
          checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
          checking the name lister (/usr/bin/nm -B) interface... BSD nm
          checking whether ln -s works... yes
          checking the maximum length of command line arguments... 1572864
          checking whether the shell understands some XSI constructs... yes
          checking whether the shell understands "+="... yes
          checking for /usr/bin/ld option to reload object files... -r
          checking for objdump... objdump
          checking how to recognize dependent libraries... pass_all
          checking for ar... ar
          checking for strip... strip
          checking for ranlib... ranlib
          checking command to parse /usr/bin/nm -B output from gcc object... ok
          checking how to run the C preprocessor... gcc -E
          checking for ANSI C header files... yes
          checking for sys/types.h... yes
          checking for sys/stat.h... yes
          checking for stdlib.h... yes
          checking for string.h... yes
          checking for memory.h... yes
          checking for strings.h... yes
          checking for inttypes.h... yes
          checking for stdint.h... yes
          checking for unistd.h... yes
          checking for dlfcn.h... yes
          checking for objdir... .libs
          checking if gcc supports -fno-rtti -fno-exceptions... no
          checking for gcc option to produce PIC... -fPIC -DPIC
          checking if gcc PIC flag -fPIC -DPIC works... yes
          checking if gcc static flag -static works... yes
          checking if gcc supports -c -o file.o... yes
          checking if gcc supports -c -o file.o... (cached) yes
          checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
          checking whether -lc should be explicitly linked in... no
          checking dynamic linker characteristics... GNU/Linux ld.so
          checking how to hardcode library paths into programs... immediate
          checking whether stripping libraries is possible... yes
          checking if libtool supports shared libraries... yes
          checking whether to build shared libraries... yes
          checking whether to build static libraries... yes
          checking for a BSD-compatible install... /usr/bin/install -c
          checking for gawk... gawk
          checking for special C compiler options needed for large files... no
          checking for _FILE_OFFSET_BITS value needed for large files... 64
          checking for int8_t... yes
          checking for int16_t... yes
          checking for int32_t... yes
          checking for int64_t... yes
          checking for intptr_t... yes
          checking for uint8_t... yes
          checking for uint16_t... yes
          checking for uint32_t... yes
          checking for uint64_t... yes
          checking for uintptr_t... yes
          checking for sys/types.h... (cached) yes
          checking for stdlib.h... (cached) yes
          checking for stdint.h... (cached) yes
          checking for inttypes.h... (cached) yes
          checking for usleep... yes
          checking for fdatasync... yes
          checking for localtime_r... yes
          checking for gmtime_r... yes
          checking for localtime_s... no
          checking for tclsh8.4... tclsh8.4
          configure: Version set to 3.6
          configure: Release set to 3.6.19
          configure: Version number set to 3006019
          checking whether to support threadsafe operation... yes
          checking for library containing pthread_create... -lpthread
          checking whether to allow connections to be shared across threads... no
          checking whether threads can override each others locks... no
          checking whether to support shared library linked as release mode or not... no
          checking whether to use an in-ram database for temporary tables... no
          checking if executables have the .exe suffix... unknown
          checking host system type... (cached) i686-pc-linux-gnu
          checking for Tcl configuration... found /home/anbog/Programs/ccp4/tcltk/lib/tclConfig.sh
          checking for existence of /home/anbog/Programs/ccp4/tcltk/lib/tclConfig.sh... loading
          checking for library containing tgetent... -lncurses
          checking for readline in -lreadline... no
          checking readline.h usability... no
          checking readline.h presence... no
          checking for readline.h... no
          checking for /usr/include/readline.h... no
          checking for /usr/include/readline/readline.h... no
          checking for /usr/local/include/readline.h... no
          checking for /usr/local/include/readline/readline.h... no
          checking for /usr/local/readline/include/readline.h... no
          checking for /usr/local/readline/include/readline/readline.h... no
          checking for /usr/contrib/include/readline.h... no
          checking for /usr/contrib/include/readline/readline.h... no
          checking for /mingw/include/readline.h... no
          checking for /mingw/include/readline/readline.h... no
          checking for library containing fdatasync... none required
          configure: creating ./config.status
          config.status: creating Makefile
          config.status: creating sqlite3.pc
          config.status: creating config.h
          config.status: executing libtool commands
          tclsh ./tool/mksqlite3h.tcl . >sqlite3.h
          gcc  -g -O2 -o mkkeywordhash -DSQLITE_OMIT_LOAD_EXTENSION=1  ./tool/mkkeywordhash.c
          ./mkkeywordhash >keywordhash.h
          gcc  -g -O2 -o lemon ./tool/lemon.c
          cp ./src/lempar.c .
          cp ./src/parse.y .
          ./lemon -DSQLITE_OMIT_LOAD_EXTENSION=1  parse.y
          mv parse.h parse.h.temp
          gawk -f ./addopcodes.awk parse.h.temp >parse.h
          cat parse.h ./src/vdbe.c | gawk -f ./mkopcodeh.awk >opcodes.h
          sort -n -b -k 3 opcodes.h | gawk -f ./mkopcodec.awk >opcodes.c
          rm -rf tsrc
          mkdir -p tsrc
          cp ./src/alter.c ./src/analyze.c ./src/attach.c ./src/auth.c ./src/backup.c ./src/bitvec.c ./src/btmutex.c ./src/btree.c ./src/btree.h ./src/btreeInt.h ./src/build.c ./src/callback.c 
          .
          .
          .
          /fts3_hash.h ./ext/fts3/fts3_icu.c ./ext/fts3/fts3_porter.c ./ext/fts3/fts3_tokenizer.h ./ext/fts3/fts3_tokenizer.c ./ext/fts3/fts3_tokenizer1.c ./ext/icu/sqliteicu.h ./ext/icu/icu.c ./ext/rtree/rtree.h ./ext/rtree/rtree.c tsrc
          rm tsrc/sqlite.h.in tsrc/parse.y
          tclsh8.4 ./tool/vdbe-compress.tcl <tsrc/vdbe.c >vdbe.new
          mv vdbe.new tsrc/vdbe.c
          touch .target_source
          tclsh8.4 ./tool/mksqlite3c.tcl
          ./libtool --mode=compile --tag=CC gcc   -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1   -DSQLITE_TEMP_STORE=1 -c sqlite3.c
          libtool: compile:  gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=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./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=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./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1     -o libsqlite3.la sqlite3.lo -lpthread  \
                   -rpath "/home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib" -version-info "8:6:8"
          libtool: link: gcc -shared  .libs/sqlite3.o   -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" )
          ./libtool --mode=link gcc   -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1     -DHAVE_READLINE=0  \
                  -o sqlite3 ./src/shell.c libsqlite3.la \
                   -lpthread  -rpath "/home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib"
          libtool: link: gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=0 -o .libs/sqlite3 ./src/shell.c  ./.libs/libsqlite3.so -lpthread -Wl,-rpath -Wl,/home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib
          ./libtool --mode=compile --tag=CC gcc   -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1   -DUSE_TCL_STUBS=1 -c ./src/tclsqlite.c
          libtool: compile:  gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_TCL_STUBS=1 -c ./src/tclsqlite.c  -fPIC -DPIC -o .libs/tclsqlite.o
          ./src/tclsqlite.c:15:17: error: tcl.h: No such file or directory
          ./src/tclsqlite.c:58: error: expected specifier-qualifier-list before ?Tcl_Interp?
          ./src/tclsqlite.c:71: error: expected specifier-qualifier-list before ?Tcl_Interp?
          ./src/tclsqlite.c:88: error: expected specifier-qualifier-list before ?Tcl_Obj?
          ./src/tclsqlite.c:100: error: expected specifier-qualifier-list before ?Tcl_Interp?
          ./src/tclsqlite.c:129: error: expected specifier-qualifier-list before ?Tcl_Channel?
          ./src/tclsqlite.c: In function ?closeIncrblobChannels?:
          ./src/tclsqlite.c:154: error: ?SqliteDb? has no member named ?pIncrblob?
          ./src/tclsqlite.c:155: error: ?IncrblobChannel? has no member named ?pNext?
          ./src/tclsqlite.c:161: error: ?SqliteDb? has no member named ?interp?
          ./src/tclsqlite.c:161: error: ?IncrblobChannel? has no member named ?channel?
          ./src/tclsqlite.c: At top level:
          ./src/tclsqlite.c:168: error: expected ?)? before ?instanceData?
          ./src/tclsqlite.c:198: error: expected ?)? before ?instanceData?
          ./src/tclsqlite.c:230: error: expected ?)? before ?instanceData?
          ./src/tclsqlite.c:263: error: expected ?)? before ?instanceData?
          ./src/tclsqlite.c:288: error: expected ?)? before ?instanceData?
          ./src/tclsqlite.c:291: error: expected ?)? before ?instanceData?
          ./src/tclsqlite.c:295: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?IncrblobChannelType?
          ./src/tclsqlite.c:317: error: expected ?)? before ?*? token
          ./src/tclsqlite.c:377: error: expected ?)? before ?*? token
          ./src/tclsqlite.c: In function ?findSqlFunc?:
          ./src/tclsqlite.c:401: error: ?SqlFunc? has no member named ?zName?
          ./src/tclsqlite.c:402: error: ?SqlFunc? has no member named ?zName?
          ./src/tclsqlite.c:403: error: ?SqlFunc? has no member named ?zName?
          ./src/tclsqlite.c:404: error: ?SqliteDb? has no member named ?pFunc?
          ./src/tclsqlite.c:404: error: ?SqlFunc? has no member named ?pNext?
          ./src/tclsqlite.c:405: error: ?SqlFunc? has no member named ?zName?
          ./src/tclsqlite.c:405: error: ?SqlFunc? has no member named ?zName?
          .
          .
          .
          ?__attribute__? before ?int?
          ./src/tclsqlite.c:2972: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2973: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2974: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2975: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2976: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2980: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2981: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2982: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2983: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2984: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2985: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2986: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2987: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          make: *** [tclsqlite.lo] Error 1
          /usr/bin/install -c -d /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib
          ./libtool --mode=install /usr/bin/install -c libsqlite3.la /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib
          libtool: install: /usr/bin/install -c .libs/libsqlite3.so.0.8.6 /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib/libsqlite3.so.0.8.6
          libtool: install: (cd /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/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/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/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/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib/libsqlite3.la
          libtool: install: /usr/bin/install -c .libs/libsqlite3.a /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib/libsqlite3.a
          libtool: install: chmod 644 /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib/libsqlite3.a
          libtool: install: ranlib /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib/libsqlite3.a
          libtool: finish: PATH="/home/anbog/.phoronix-test-suite/installed-tests/sqlite:/home/anbog/Programs/phenix-1.6.4-486/build/intel-linux-2.6/bin:/home/anbog/Programs/ccp4/ccp4-6.1.3/src/phaser/phaser-2.1.4/build/intel-linux/bin:/home/anbog/Programs/ccp4/graphviz-2.20.2/bin:/home/anbog/Programs/ccp4/fasta-35.4.1/bin:/home/anbog/Programs/ccp4/clustalw-2.0.9/bin:/home/anbog/Programs/ccp4/tcltk/bin:/home/anbog/Programs/ccp4/Python-2.4.5/bin:/home/anbog/Programs/ccp4/ccp4-6.1.3/bin:/home/anbog/Programs/ccp4/ccp4mg-2.2.0/bin:/home/anbog/Programs/ccp4/Coot-0.6.0/bin:/home/anbog/Programs/ccp4/ccp4-6.1.3/share/dbccp4i/bin:/home/anbog/Programs/ccp4/ccp4-6.1.3/ccp4i/bin:/home/anbog/Programs/ccp4/ccp4-6.1.3/etc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/lib
          ----------------------------------------------------------------------
          Libraries have been installed in:
             /home/anbog/.phoronix-test-suite/installed-tests/sqlite//sqlite_/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=compile --tag=CC gcc   -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG  -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1   -DUSE_TCL_STUBS=1 -c ./src/tclsqlite.c
          libtool: compile:  gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -I/home/fr45/tcltk++/Linux/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_TCL_STUBS=1 -c ./src/tclsqlite.c  -fPIC -DPIC -o .libs/tclsqlite.o
          ./src/tclsqlite.c:15:17: error: tcl.h: No such file or directory
          ./src/tclsqlite.c:58: error: expected specifier-qualifier-list before ?Tcl_Interp?
          ./src/tclsqlite.c:71: error: expected specifier-qualifier-list before ?Tcl_Interp?
          .
          .
          .
          ./src/tclsqlite.c:2826: error: ?interp? undeclared (first use in this function)
          ./src/tclsqlite.c:2827: error: ?TCL_OK? undeclared (first use in this function)
          ./src/tclsqlite.c:2847: error: ?TCL_ERROR? undeclared (first use in this function)
          ./src/tclsqlite.c:2899: error: ?TCL_STATIC? undeclared (first use in this function)
          ./src/tclsqlite.c:2904: error: ?translatedFilename? undeclared (first use in this function)
          ./src/tclsqlite.c:2918: error: ?TCL_VOLATILE? undeclared (first use in this function)
          ./src/tclsqlite.c:2923: error: ?SqliteDb? has no member named ?maxStmt?
          ./src/tclsqlite.c:2924: error: ?SqliteDb? has no member named ?interp?
          ./src/tclsqlite.c: At top level:
          ./src/tclsqlite.c:2962: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2970: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2971: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2972: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2973: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2974: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2975: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2976: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2980: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2981: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2982: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2983: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2984: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2985: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2986: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          ./src/tclsqlite.c:2987: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?int?
          make: *** [tclsqlite.lo] Error 1
          and it contains a lot of errors related to "tclsqlite.c"..

          I hope this can help someone help me

          Comment


          • #6
            You must miss the develop package of tcl. Try install it (tcl-dev in Ubuntu, other platforms may with different name) first.

            Comment


            • #7
              Thanks for the reply! I didn't have tcl-dev install, but I'm afraid it didn't help much to install it either.

              I've posted the latest install-failed.log here:


              and the content of the tclsqlite.c file that seems to be the problem here:


              if that is any help. According to Phoronix Test Suite I have no missing dependencies, but maybe there is something it doesn't check for?

              Comment


              • #8
                It's still not finding the tcl development files
                Code:
                ./src/tclsqlite.c:15:17: error: tcl.h: No such file or directory
                Is the key sign.

                Comment

                Working...
                X