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 1hKNSM-00041N-Br for pgsql-general@arkaria.postgresql.org; Sat, 27 Apr 2019 13:33:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hKNSK-0007jA-Qa for pgsql-general@arkaria.postgresql.org; Sat, 27 Apr 2019 13:33:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKNSK-0007eB-CW for pgsql-general@lists.postgresql.org; Sat, 27 Apr 2019 13:33:28 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKNSH-0004da-0N for pgsql-general@lists.postgresql.org; Sat, 27 Apr 2019 13:33:27 +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 1hKNSD-00057J-Hx for pgsql-general@lists.postgresql.org; Sat, 27 Apr 2019 15:33:21 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x3RDXJIn005718 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 27 Apr 2019 15:33:20 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x3RDXJjg005717 for pgsql-general@lists.postgresql.org; Sat, 27 Apr 2019 15:33:19 +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 15:33:19 +0200 From: Matthias Apitz To: pgsql-general@lists.postgresql.org Subject: Re: Missing pg_config on SuSE SLES 12 for PostgreSQL 10 Message-ID: <20190427133319.GA5644@c720-r342378> Reply-To: Matthias Apitz References: <20190427075849.GA2944@c720-r342378> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: 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 --ReaqsoxgOBHFXBhH 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 06:22:00a. m. -0700, Adrian K= laver escribi=C3=B3: > On 4/27/19 12:58 AM, Matthias Apitz wrote: > > Hello, > >=20 > > I'm investigating on a SuSE Linux SLES 12 server if we could add support > > for PostgreSQL 10 to our Library Management System (currently running o= n top > > of Oracle 12 and Sybase 15.7) using all kind of languages and API one c= ould imagine. > >=20 > > I've up and running the server and figured out how to connect (apart of > > psql) with: > >=20 > > - C code to run SQL commands from char strings > > - ESQL/C code to embed SQL statements into C > > - JDBC > >=20 > > To get Perl's DBD::Pg compiled now I really do need the pg_config tool, > > but I can't figure out how to get it. I see the following RPM (the ones > > with an 'i' or 'i+' are installed): >=20 > Did the compile process complain about not finding pg_config? Yes: =2E.. Running Makefile.PL Path to pg_config? Configuring DBD::Pg 3.7.4 PostgreSQL version: 0 (default port: 0) POSTGRES_HOME: /usr/pgsql-10 POSTGRES_INCLUDE: /usr/pgsql-10/include POSTGRES_LIB: /usr/pgsql-10/lib OS: linux Could not determine the PostgreSQL library version. > What happens if you run?: >=20 > whereis pg_config whereis pg_config pg_config: I also looked as root with find from / ... there is no pg_config o the server and not in the installed RPM. Meanwhile I fetched the full source of 10.4 and can build it, but ofc this shows the data of *my* build and not the installed version: apitzm@srap16dxr1:~/Postgres/postgresql-10.4> ./src/bin/pg_config/pg_config BINDIR =3D /home/apitzm/Postgres/postgresql-10.4/src/bin/pg_config DOCDIR =3D /usr/local/pgsql/share/doc HTMLDIR =3D /usr/local/pgsql/share/doc INCLUDEDIR =3D /usr/local/pgsql/include PKGINCLUDEDIR =3D /usr/local/pgsql/include =2E.. But, I have an idea, I will write a simulated 'pg_config' which punches the values of the installation when asked :-) 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 --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlzEWhwACgkQR8z35Hb+ nRFe3RAAmvWZnbxpa+D6+3lJfKYHJ/rHlAKUI+Ul5B5KFTYuY5L5n7Qk0A+XGKta qBh56+r7F4N6SyAiFEcfM+dd6zzMZq/+O9szssBa212L1qEUPk12d6tc1m7vGs0K uaTjo6mZaK5Xp+v9S0FRzGZ1GbDpNivcxBNiZ7ynfrA6263gakB/80qc2zcmR/eG OyhgtzV0Ls8i2cG3DE7vxzatoZZWhEDWWe7zewF/vy8FL4SlJR3FSC8+UyxM4r/D 0Amo/q02XaTm0WJoHN4b8sYRk1ZutW1OC7ZFDB7zemIYXPhxcYB+HmfCKYrHF1o8 GvffAahVZ/U46Ilze5Z9xfo9U1VTuXaGS1x/Qky6y+m/WwnkM+ZJz+n1vKuL6H9j +zHwoDScPVETe+oXxzAPtp5erpb+U+jyCe3eIpMNrdNCQb0NAPMeb58wAHPjp/j+ 2WMrI/cdlP2adzuIAhff5/Dir08UkIWDDiS9sEsCNVwl6xH0vwQ/YVBxle502MaE kRiJlblNAlsNIDt/7Gjc1aLdX+OfJ6fseCqxit+NGU37B8o3xNpW7S0qAmI7KJJf qMQ0FzkU0MVDNAxTKw85J+JUJV3sEwV3dJ/JJYX6mDB4KkshIQhxYgn0H1PAGDTe JwTv5JFDy3fvjDz81Yg0kfe8ODXnu61Byyp9HtIHhgniJWipOuo= =EECu -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--