Subject: Re: Can't build databases/php-pdo_pgsql
To: Konrad Neuwirth <konrad@mailathome.or.at>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: tech-pkg
Date: 02/07/2006 19:00:38
--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 07, 2006 at 06:35:59PM +0100, Konrad Neuwirth wrote:
> Hello,
>=20
>  I'm currently rebuilding one of our webservers, and facing a problem:=20

It should be fixed by rev. 1.6 of databases/php-pdo/module.mk

Jaromir
=20
> [amelie:/usr/pkgsrc/databases/php-pdo_pgsql]# make
> =3D=3D=3D> Checking for vulnerabilities in php-pdo_pgsql-5.1.2.1.0.1nb1
> =3D=3D=3D> Configuring for php-pdo_pgsql-5.1.2.1.0.1nb1
> configure: WARNING: If you wanted to set the --build type, don't use
> --host.
>     If a cross compiler is detected then cross compile mode will be used.
> checking for egrep... grep -E
> checking for a sed that does not truncate output... /usr/pkg/bin/gsed
> checking for i386--netbsdelf-gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ANSI C... none needed
> checking whether cc understands -c and -o together... yes
> checking if compiler supports -R... yes
> checking build system type... i386-unknown-netbsdelf2.99.11
> checking host system type... i386--netbsdelf
> checking target system type... i386--netbsdelf
> checking for PHP prefix... /usr/pkg
> checking for PHP includes... -I/usr/pkg/include/php
> -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM
> -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext
> checking for PHP extension directory... /usr/pkg/lib/php/20040412
> checking for PHP installed headers prefix... /usr/pkg/include/php
> checking for re2c... no
> configure: WARNING: You will need re2c 0.9.11 or later if you want to
> regenerate PHP parsers.
> checking for gawk... /usr/bin/awk
> checking if /usr/bin/awk is broken... no
> checking for PostgreSQL support for PDO... yes, shared
> checking for pg_config... /usr/pkg/bin/pg_config
> checking for openssl dependencies... yes
> gnome-config: not found
> checking for PQescapeString in -lpq... yes
> checking for PQsetnonblocking in -lpq... yes
> checking for PQcmdTuples in -lpq... yes
> checking for PQoidValue in -lpq... yes
> checking for PQclientEncoding in -lpq... yes
> checking for PQparameterStatus in -lpq... yes
> checking for PQprotocolVersion in -lpq... yes
> checking for PQtransactionStatus in -lpq... yes
> checking for PQunescapeBytea in -lpq... yes
> checking for PQExecParams in -lpq... no
> checking for PQresultErrorField in -lpq... yes
> checking for pg_encoding_to_char in -lpq... yes
> checking for PQprepare in -lpq... yes
> checking for PDO includes... checking for PDO
> includes... /usr/pkg/include/php/ext
> configure: error:
> You've configured extension pdo_pgsql, which depends on extension pdo,
> but you've either not enabled pdo, or have disabled it.
>=20
> *** Error code 1
>=20
> Alas, php-pdo is installed:
>=20
> [amelie:/usr/pkgsrc/databases/php-pdo_pgsql]# pkg_info | grep php
> php-5.1.2           PHP Hypertext Preprocessor version 5
> ap-php-5.1.2nb5     Apache (apache13) module for PHP5
> php-pdo-5.1.2.1.0.2nb1 PHP extension for PHP Data Objects (base)
>=20
> And the appropriate directory does contain stuff:=20
>=20
> [amelie:/usr/pkgsrc/databases/php-pdo_pgsql]# ls /usr/pkg/include/php/ext
> date      hash      libxml    pcre      pdo       session   standard  xml
>=20
> I'm stymied.
>=20
> What is going wrong?=20
>=20
> Thank you,
>  Konrad

--=20
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=3D- We can walk our road together if our goals are all the same;     -=3D-
-=3D- We can run alone and free if we pursue a different aim.          -=3D-

--azLHFNyN32YCQGCU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: wtDAe1PY+HowiQP/PzVySJr1UC4lNDbi

iQCVAwUBQ+jgRrZjOQfIPRaZAQHDhwP/eSqUFrRlRcs6xVWa5tbc0/5Jykjp+gCf
oikJYd+5oiwlfYrc7sTTIkrfLuCIl6XkTF1qAVYseYGb+Z1oMAgPjBYHynCTEqdv
jqMwFd573nJc25YL4pXanypnUwJJPUxFvETLVOSYo3qYEKY2MssmWNHfQ97bm8l2
1G1DKpyXmTQ=
=dPey
-----END PGP SIGNATURE-----

--azLHFNyN32YCQGCU--