Subject: Re: Can't build databases/php-pdo_pgsql
To: Konrad Neuwirth <>
From: Jaromir Dolecek <>
List: tech-pkg
Date: 02/07/2006 19:00:38
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,
>  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/

> [amelie:/usr/pkgsrc/databases/php-pdo_pgsql]# make
> =3D=3D=3D> Checking for vulnerabilities in php-pdo_pgsql-
> =3D=3D=3D> Configuring for php-pdo_pgsql-
> 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.
> *** Error code 1
> Alas, php-pdo is installed:
> [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- PHP extension for PHP Data Objects (base)
> And the appropriate directory does contain stuff:=20
> [amelie:/usr/pkgsrc/databases/php-pdo_pgsql]# ls /usr/pkg/include/php/ext
> date      hash      libxml    pcre      pdo       session   standard  xml
> I'm stymied.
> What is going wrong?=20
> Thank you,
>  Konrad

Jaromir Dolecek <>  
-=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-

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

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