pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Apitz <guru@unixarea.de>
To: pgsql-general@lists.postgresql.org
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Subject: Re: Missing pg_config on SuSE SLES 12 for PostgreSQL 10
Date: Sat, 27 Apr 2019 16:11:15 +0200
Message-ID: <20190427141115.GA6004@c720-r342378> (raw)
In-Reply-To: <87zhobva81.fsf@news-spur.riddles.org.uk>
References: <20190427075849.GA2944@c720-r342378>
	<ed8c4471382322e47ffaf28ef794d0e2113103b1.camel@cybertec.at>
	<vzmb8t.pqm99q.2xib4o-qmf@ms-10.1blu.de>
	<20190427125656.GA5216@c720-r342378>
	<87zhobva81.fsf@news-spur.riddles.org.uk>

El día sábado, abril 27, 2019 a las 02:39:54p. m. +0100, Andrew Gierth escribió:

> >>>>> "Matthias" == Matthias Apitz <guru@unixarea.de> writes:
> 
>  Matthias> There is no cmd 'pg_config'. Can I compile this from source?
> 
> Some distros separate out a 'libpq' package, and have a 'libpq-devel'
> package with pg_config in it. Did you look for that?

Yes, it isn't there either. Meanwhile I wrote my own 'pg_config' as:

$ cat /opt/bin/pg_config
#!/bin/sh

test $1 = '--version'   && echo 'PostgreSQL 10.4'
test $1 = '--bindir'    && echo '/usr/pgsql-10/bin'
test $1 = '--configure' && echo ''
exit 0

and with this the building went fine:


$ /usr/local/sisis-pap/perlbrew/bin/cpanm DBD::Pg
--> Working on DBD::Pg
Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.8.0.tar.gz ... OK
Configuring DBD-Pg-3.8.0 ... OK
Building and testing DBD-Pg-3.8.0 ... OK
Successfully installed DBD-Pg-3.8.0
1 distribution installed

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (14+ messages)  latest in thread

Message-ID: <20190427141115.GA6004@c720-r342378>
Permalink:  ../20190427141115.GA6004@c720-r342378/
Also on:    postgresql.org/message-id/20190427141115.GA6004@c720-r342378

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: guru@unixarea.de, andrew@tao11.riddles.org.uk
  Subject: Re: Missing pg_config on SuSE SLES 12 for PostgreSQL 10
  In-Reply-To: <20190427141115.GA6004@c720-r342378>
  References: <20190427075849.GA2944@c720-r342378> <ed8c4471382322e47ffaf28ef794d0e2113103b1.camel@cybertec.at> <vzmb8t.pqm99q.2xib4o-qmf@ms-10.1blu.de> <20190427125656.GA5216@c720-r342378> <87zhobva81.fsf@news-spur.riddles.org.uk> <20190427141115.GA6004@c720-r342378>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox