help-octave
[Top][All Lists]
Advanced

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

Re: Problem with database package


From: Olaf Till
Subject: Re: Problem with database package
Date: Mon, 21 Mar 2016 20:32:02 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Mar 21, 2016 at 08:17:26PM +0100, Santiago Higuera wrote:
> Hi all:
> I'm trying to install database package. My OS is Ubuntu 15.10. I have
> installed Postgresql and liboctave-dev. I have struct package installed
> in Octave. When I execute 'pkg install -forge database' the result is:
>  
> > > pkg install -forge database
> configure: error: unable to find the PQconnectdb() function in pq
> checking for mkoctfile... /usr/bin/mkoctfile
> checking for octave-config... /usr/bin/octave-config
> checking for pg_config... pg_config
> checking for gawk... gawk
> 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 g++ accepts -g... yes
> checking for gcc... gcc
> 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 PQconnectdb in -lpq... no

You need to install the libpq packages. At my system, they are named
libpq5 and libpq-dev. You need both, or packages corresponding to
both.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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