octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile databas


From: anonymous
Subject: [Octave-bug-tracker] [bug #38106] liboctave-dev fails to compile database-1.0.4
Date: Thu, 17 Jan 2013 18:15:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #5, bug #38106 (project octave):

>I still don't understand what part you think is buggy.

I am not sure myself. Perhaps detailing the sequence will help. 
The debian package liboctave-dev_3.6.2-2.amd64.deb does not contain
oct-types.h I have installed that and database_1.0.4 


$ cd ,/test/octave.database/database-1.0.4/src
$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for octave_idx_type... yes
checking for quit.h... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.6.2
checking for octave_config_info('canonical_host_type') in Octave...
x86_64-pc-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 postgresql/libpq-fe.h usability... yes
checking postgresql/libpq-fe.h presence... yes
checking for postgresql/libpq-fe.h... yes
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
configure: creating ./config.status
config.status: creating Makeconf
 
  "$prefix" is /usr/local
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/share/octave/3.6.2/site/m/octave-forge
   oct-files:
/usr/lib/x86_64-linux-gnu/octave/3.6.2/site/oct/x86_64-pc-linux-gnu/octave-forge
   binaries: 
/usr/lib/x86_64-linux-gnu/octave/3.6.2/site/exec/x86_64-pc-linux-gnu
alternatives:
   m-files:   /usr/share/octave/3.6.2/site/octave-forge-alternatives/m
   oct-files:
/usr/lib/x86_64-linux-gnu/octave/3.6.2/site/octave-forge-alternatives/oct/x86_64-pc-linux-gnu

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: ${datarootdir}/man
   libraries: ${exec_prefix}/lib
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      octave (version 3.6.2)
   mkoctfile:   mkoctfile for Octave 2
   swig:        pre-generated
   postgres:    yes
   mysql:       mysql/mysql.h not found
   sqlite3:     yes
   odbc:        sql.h not found

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

address@hidden:~/test/octave.database/database-1.0.4/src$ make
CXXFLAGS="-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp" mkoctfile -DHAVE_OCTAVE_36 -v -Wl,-z,relro
-o postgres.oct postgres_wrap.cpp -lpq
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.6.2/octave/..
-I/usr/include/octave-3.6.2/octave -I/usr/include/mpi -I/usr/include/freetype2
-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp -DHAVE_OCTAVE_36 postgres_wrap.cpp -o
postgres_wrap.o
g++ -shared -Wl,-Bsymbolic -o postgres.oct postgres_wrap.o -Wl,-z,relro -lpq
-L/usr/lib/x86_64-linux-gnu/octave/3.6.2 -L/usr/lib/x86_64-linux-gnu
-loctinterp -loctave -lcruft -Wl,-z,relro
CXXFLAGS="-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp" mkoctfile -DHAVE_OCTAVE_36 -v -Wl,-z,relro
-o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.6.2/octave/..
-I/usr/include/octave-3.6.2/octave -I/usr/include/mpi -I/usr/include/freetype2
-g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fopenmp -DHAVE_OCTAVE_36 sqlite3_wrap.cpp -o
sqlite3_wrap.o
g++ -shared -Wl,-Bsymbolic -o sqlite3.oct sqlite3_wrap.o -Wl,-z,relro
-lsqlite3 -L/usr/lib/x86_64-linux-gnu/octave/3.6.2 -L/usr/lib/x86_64-linux-gnu
-loctinterp -loctave -lcruft -Wl,-z,relro
address@hidden:~/test/octave.database/database-1.0.4/src$ mc

address@hidden:~/test/octave.database/database-1.0.4/src$ 
address@hidden:~/test/octave.database/database-1.0.4/src$ 
address@hidden:~/test/octave.database/database-1.0.4/src$ rm -i ./postgres.oct
./postgres_wrap.o ./sqlite3.oct ./sqlite3_wrap.o
rm: remove regular file `./postgres.oct'? y
rm: remove regular file `./postgres_wrap.o'? y
rm: remove regular file `./sqlite3.oct'? y
rm: remove regular file `./sqlite3_wrap.o'? y
address@hidden:~/test/octave.database/database-1.0.4/src$ mc

address@hidden:~/test/octave.database/database-1.0.4/src$ mc

address@hidden:~/test/octave.database/database-1.0.4/src$ ./autogen.sh
address@hidden:~/test/octave.database/database-1.0.4/src$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for octave_idx_type... no
checking for quit.h... no
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.6.2
checking for octave_config_info('canonical_host_type') in Octave...
x86_64-pc-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 postgresql/libpq-fe.h usability... yes
checking postgresql/libpq-fe.h presence... yes
checking for postgresql/libpq-fe.h... yes
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
configure: creating ./config.status
config.status: creating Makeconf
 
  "$prefix" is /usr/local
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/share/octave/3.6.2/site/m/octave-forge
   oct-files:
/usr/lib/x86_64-linux-gnu/octave/3.6.2/site/oct/x86_64-pc-linux-gnu/octave-forge
   binaries: 
/usr/lib/x86_64-linux-gnu/octave/3.6.2/site/exec/x86_64-pc-linux-gnu
alternatives:
   m-files:   /usr/share/octave/3.6.2/site/octave-forge-alternatives/m
   oct-files:
/usr/lib/x86_64-linux-gnu/octave/3.6.2/site/octave-forge-alternatives/oct/x86_64-pc-linux-gnu

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: ${datarootdir}/man
   libraries: ${exec_prefix}/lib
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      octave (version 3.6.2)
   mkoctfile:   mkoctfile -Doctave_idx_type=int -DNEED_OCTAVE_QUIT for Octave 2
   swig:        pre-generated
   postgres:    yes
   mysql:       mysql/mysql.h not found
   sqlite3:     yes
   odbc:        sql.h not found

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

As far as I can tell, something has gone wrong - see config.log
at configure:3152 and configure:3174

As it says, configure can't find oct-types.h 
and i can't find conftest.cc
My best guess is that Debian should have continued to package 
oct-types in their liboctave-dev package. It was included in
liboctave-dev_3.2.4 

(file #27295)
    _______________________________________________________

Additional Item Attachment:

File name: config.log                     Size:21 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38106>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]