Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #572

Re: install perl DBD::Pg problem

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!uucp.gnuu.de!doeblitz.net!.POSTED!not-for-mail
From Ralf Döblitz <doeblitz@doeblitz.net>
Newsgroups comp.databases.postgresql
Subject Re: install perl DBD::Pg problem
Date Mon, 19 May 2014 22:06:30 +0000 (UTC)
Organization private site in Braunschweig, Germany
Lines 35
Message-ID <lldv96$1pd$1@selene.doeblitz.net> (permalink)
References <887f883e-e083-4054-aa80-7f13cea16fda@googlegroups.com>
NNTP-Posting-Host selene.escape.de
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace selene.doeblitz.net 1400537190 1837 194.120.234.83 (19 May 2014 22:06:30 GMT)
X-Complaints-To usenet@selene.doeblitz.net
NNTP-Posting-Date Mon, 19 May 2014 22:06:30 +0000 (UTC)
User-Agent tin/2.1.1-20120623 ("Mulindry") (UNIX) (Linux/3.12-0.bpo.1-amd64 (x86_64))
Cancel-Lock sha1:C12JbOxhbw0ifbbJEfRrYxVt5w4=
Mail-Copies-To nobody
X-Face MTa[OP$pr;PqMc)e|d9BmnYq|Ir0`Ijj)kNr"C:9lS:bjC1P`Y>eWC41xS,XF96GoZH8WOl ^L#i6KSohA`[`_P->X=Q|g?{H{B):V5>&z"M>njIRGN:5"VBu,OLOe%v6\{@iS
X-Alignment Lawful Evil
X-No-Archive Yes
X-Archive http:/www.netzverwaltung.net/archive/_outgoing/
Xref csiph.com comp.databases.postgresql:572

Show key headers only | View raw


juliani.moon@gmail.com wrote:
> I encounter a problem installing perl DBD::Pg on Ubuntu 
> with regard to Pg information.
> 
> Here is what I did:
> 
> Ubuntu_bash> sudo apt-get install postgresql-server-dev-9.1
> and it's up running.
> 
> Ubuntu_bash> sudo cpan
> CPAN> install DBD::Pg
> ................................................
> Enter a valid PostgreSQL postgres major version number 9
> Enter a valid PostgreSQL postgres minor version number 1
> Enter a valid PostgreSQL postgres patch version number 13
> You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
                                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[...]
> Pg.h:35:22: fatal error: libpq-fe.h: No such file or directory
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[...]
> Could someone suggest what was wrong and how can I get by this?

DBD::Pg is a client-side application, so you need to install the
libpq-dev package (which is obviuosly missing, as the missing header
file indicates), not the package for server-side extensions.

Ralf
-- 
Wenn Du so minderbemittelt bist, daß Du es nötig hast, die Worte anderer
für Dich sprechen zu lassen, dann kann ich Dir meine Hilfe schlecht
versagen...
       – Thorsten Albers in <ntlqk6touens531uq58jk56oocp4hf7cb6@4ax.com>

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Find similar


Thread

install perl DBD::Pg problem juliani.moon@gmail.com - 2014-05-19 14:21 -0700
  Re: install perl DBD::Pg problem Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2014-05-19 22:43 +0100
    Re: install perl DBD::Pg problem Julian M <juliani.moon@gmail.com> - 2014-05-19 15:12 -0700
  Re: install perl DBD::Pg problem "Peter H. Coffin" <hellsop@ninehells.com> - 2014-05-19 17:02 -0500
  Re: install perl DBD::Pg problem Ralf Döblitz <doeblitz@doeblitz.net> - 2014-05-19 22:06 +0000

csiph-web