Package: octave3.0Version: 3.0.2Severity: important
Subject: octave3.0: libpq-dev needs to be included in dependencies.Package:
octave3.0Version: 3.0.2Severity: important
Please type your report below this line ***Octave 3.0 itself builds fine from
apt-get, but I was trying to add the 'database' package, and ran into some
issues trying to talk to postgresql databases. All otherdatabases supported by
this package are OK.
Talking to the database package creator:> I installed your kit, and can talk to
sqlite3 and mysql OK, but when I> type in 'postgres', I don't receive a
definition. Any ideas why?
Does postgres.oct get built? If not, can you send your configure log?
If yes, is it in your path when you run postgres?
Xavier
THEN:> So I found the problem:>> You do a pkg install database-1.0.1.tar.gz
-verbose and you get:>> 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... yes> checking
mysql/mysql.h presence... yes>> so look around for libpq-fe.h:>>
sz-ud017:/usr/include# apt-file search libpq-fe.h> libpq-dev:
/usr/include/postgresql/libpq-fe.h>> sz-ud017:/usr/include# apt-get install
libpq-dev Reading package> lists... Done Building dependency tree Reading state
information...> Done The following extra packages will be installed:>
libssl-dev> Suggested packages:> postgresql-doc-8.3> The following NEW
packages will be installed:> libpq-dev libssl-dev> 0 upgraded, 2 newly
installed, 0 to remove and 0 not upgraded.
> libpq-dev libssl-dev> 0 upgraded, 2 newly installed, 0 to remove and 0 not
> upgraded.> Need to get 2519kB of archives.> After this operation, 6701kB of
> additional disk space will be used.>> And then an install gives:> 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... yes> checking mysql/mysql.h presence... yes>> and
> now I can talk to a Postgres DB.>> libpq-dev is not installed by default
> however on an install of "postgresql"> with debian. Would it be worth putting
> a note in SF to this effect?
Okay, I'll add some notes about installing required packages to the README.
Would you still file a bug against the debian database package? since I think
them not building the postgres.oct binary is wrong (the build machine didn't
have libpq-devinstalled, or similar), and it is the method many/most users will
use.
Thanks!
Xavier
***************************************
I rated this as 'important' because most people wanting to install octave I
image would want to talk to a database, and this would be their normal method
ofinstallation.
This package might be needed for octave3.0-headers instead rather than
octave3.0, but I'll leave that up to someone else to decide.
-- System Information:Debian Release: lenny/sid APT prefers testing APT
policy: (500, 'testing')Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)Locale: LANG=en_US.UTF-8,
LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)Shell: /bin/sh linked to /bin/bash
Versions of packages octave3.0 depends on:ii libatlas3gf-base [libl 3.6.0-22
Automatically Tuned Linear Algebraii libblas3gf [libblas.so 1.2-2
Basic Linear Algebra Subroutines 3
ii libatlas3gf-base [libl 3.6.0-22 Automatically Tuned Linear
Algebraii libblas3gf [libblas.so 1.2-2 Basic Linear Algebra
Subroutines 3ii libc6 2.7-13 GNU C Library: Shared
librariesii libcurl3-gnutls 7.18.2-5 Multi-protocol file
transfer libraii libfftw3-3 3.1.2-3.1 library for
computing Fast Fourierii libgcc1 1:4.3.1-2 GCC support
libraryii libgfortran3 4.3.1-2 Runtime library for GNU
Fortran apii libglpk0 4.29-2 linear programming kit
with integeii libhdf5-serial-1.6.6-0 1.6.6-4 Hierarchical Data
Format 5 (HDF5)ii liblapack3gf [liblapac 3.1.1-1 library of linear
algebra routinesii libncurses5 5.6+20080804-1 shared libraries
for terminal handii libpcre3 7.6-2.1 Perl 5 Compatible
Regular Expressiii libqhull5 2003.1-9 calculate convex
hulls and relatedii libreadline5 5.2-3 GNU readline and
history librariesii libstdc++6 4.3.1-2 The GNU Standard
C++ Library v3ii libsuitesparse-3.1.0 3.1.0-3 collection of
libraries for computii texinfo 4.11.dfsg.1-4 Documentation
system for on-line iii zlib1g 1:1.2.3.3.dfsg-12 compression
library - runtime
Versions of packages octave3.0 recommends:pn gnuplot
<none> (no description available)ii libatlas3gf-base 3.6.0-22
Automatically Tuned Linear Algebra
Versions of packages octave3.0 suggests:pn octave3.0-doc
<none> (no description available)pn octave3.0-emacsen <none>
(no description available)pn octave3.0-headers <none> (no
description available)pn octave3.0-htmldoc <none> (no
description available)pn octave3.0-info <none> (no
description available)
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE