help-octave
[Top][All Lists]
Advanced

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

Install issue with database package


From: jlandercy
Subject: Install issue with database package
Date: Sun, 29 Jan 2012 15:26:05 -0800 (PST)

Hello,

I am facing a problem with the installation of the database package of
Ocatve.
I am using Octave 3.2.4 on Ubuntu 11.10.
I have read documentation but there might be something I missed.

I cannot succeed installing the database package.
I have already installed swig and I am using PostgreSQL 9.1.
I get no error when I perform : pkg install database-1.0.4.tar.gz

But the command postgres_db remains unknown to Octave.
I read more, seeking for solution and I tried:

pkg -verbose install database-1.0.4.tar.gz
Which gave me the following output:

mkdir (/tmp/oct-UGJeRB)
untar (/home/database-1.0.4.tar.gz, /tmp/oct-UGJeRB)
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 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.2.4
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... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no*
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
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/share/octave/packages/3.2/database-1.0.4
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/share/octave/3.2.4/site/m/octave-forge
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... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no*
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
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/share/octave/packages/3.2/database-1.0.4
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/share/octave/3.2.4/site/m/octave-forge
   oct-files:
/usr/lib/octave/3.2.4/site/oct/x86_64-pc-linux-gnu/octave-forge
   binaries:  /usr/lib/octave/3.2.4/site/exec/x86_64-pc-linux-gnu
alternatives:
   m-files:   /usr/share/octave/3.2.4/site/octave-forge-alternatives/m
   oct-files:
/usr/lib/octave/3.2.4/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.2.4)
   mkoctfile:   mkoctfile for Octave 4
   swig:        pre-generated
*   postgres:    postgresql/libpq-fe.h not found*
   mysql:       mysql/mysql.h not found
   sqlite3:     sqlite3.h not found
   odbc:        sql.h not found

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

make: entrant dans le répertoire « /tmp/oct-UGJeRB/database-1.0.4/src »
make: Rien à faire pour « all ».
make: quittant le répertoire « /tmp/oct-UGJeRB/database-1.0.4/src »

Obviously there is a binding issue.
The script seems seeking for a file postgresql/libpq-fe.h, which is not
registered or even present on my hdd.
Have I forgotten something before performing pkg command ?
Or is this a PostgreSQL version issue, must I downgrade to 8.4 ?

Thanks for your help,

Landercy Jean




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Install-issue-with-database-package-tp4339573p4339573.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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