Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKO6d-00066M-Mm for pgsql-general@arkaria.postgresql.org; Sat, 27 Apr 2019 14:15:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hKO6c-0003c8-HY for pgsql-general@arkaria.postgresql.org; Sat, 27 Apr 2019 14:15:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKO37-0002Qf-Bd for pgsql-general@lists.postgresql.org; Sat, 27 Apr 2019 14:11:29 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKO2z-0007rt-DN for pgsql-general@lists.postgresql.org; Sat, 27 Apr 2019 14:11:28 +0000 Received: from [188.174.89.55] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hKO2w-000176-R7; Sat, 27 Apr 2019 16:11:18 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3REBGpV006156 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 27 Apr 2019 16:11:17 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3REBGf3006155; Sat, 27 Apr 2019 16:11:16 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 27 Apr 2019 16:11:15 +0200 From: Matthias Apitz To: pgsql-general@lists.postgresql.org Cc: Andrew Gierth Subject: Re: Missing pg_config on SuSE SLES 12 for PostgreSQL 10 Message-ID: <20190427141115.GA6004@c720-r342378> Reply-To: Matthias Apitz References: <20190427075849.GA2944@c720-r342378> <20190427125656.GA5216@c720-r342378> <87zhobva81.fsf@news-spur.riddles.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <87zhobva81.fsf@news-spur.riddles.org.uk> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.89.55 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa s=C3=A1bado, abril 27, 2019 a las 02:39:54p. m. +0100, Andrew G= ierth escribi=C3=B3: > >>>>> "Matthias" =3D=3D Matthias Apitz writes: >=20 > Matthias> There is no cmd 'pg_config'. Can I compile this from source? >=20 > 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 =3D '--version' && echo 'PostgreSQL 10.4' test $1 =3D '--bindir' && echo '/usr/pgsql-10/bin' test $1 =3D '--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 .= =2E. 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 --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlzEYwAACgkQR8z35Hb+ nRHQBQ/9FUDgeS0AOuc7ch1lXRSuOdBK+lWBXR/pDL/tQ1KLrOYNGTEO4rGpCAXP uKkLwMedBLtWEO9Ss0Ng5/HX9kvQXr+zR0RhjEMwjXLbuhiSPL6d32up70V9/DVs jMsPFCLJdu0lE7hZUtBt0ClDdUUiUX7DqU3ySnDV234u6acsbHQSRCFcZ3PE0wy6 mO/LOC15NgiFZmxkWiKaMFm5H6ondPX04aamPJIquyFm9I6OIYKcPnDjUrfJ6tm2 o61QTB9+f3psrpdNmmiUNF0mxr7ohIPYogO6inHHclCETUUzsC0nwpQrpBiqIAVV /sU1HUdO6ziuyVVCb+6AvtIvRZUOb669vfdPQ0e3/g1ANQqF9Ul8CbS2DXUFjDAw jpLT+8OZh2vi9ClXdwcecZj7mAi/GuFq9u08NRRPBNXzObcjdmv//uONcQ1OEVIc ADIPFszHQPbY4z7kGCz57RppLc5+P8NxRziNPV7ef/3XcxvSupAuJL5ciM6T6uPf de+wWFeLRNuu+UwrehOsBNl4AwidU00pqHXOF+9OaRIti4tB0tw+LOmrj3UJQgx4 uJeRGfJ288PwtgZ/otzNA8wFuVpzAEPmXf2AbV6Af0cG5jiHt6OkpdDEMjRynqi+ 2aUxbaQGxvn/hVOPDXs+ySABLOgJDftgPFOFmxa21yHyJA1zy3Q= =eEkh -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--