php5-mysql configure error

Joey Mingrone joey at mingrone.org
Sat Aug 14 01:58:10 PDT 2004


Hi,

I sent this message to the port maintainer Monday, but thought I'd try here 
as well.

The config.log file that the output asks for can be found at 
http://mingrone.org/errors/config.log


Here's the output from make install:

===>   php5-mysql-5.0.0_2 depends on executable: phpize - found
===>   php5-mysql-5.0.0_2 depends on file: /usr/local/bin/automake15 - 
found
===>   php5-mysql-5.0.0_2 depends on file: /usr/local/bin/autoconf253 - 
found
===>   php5-mysql-5.0.0_2 depends on file: /usr/local/bin/libtool13 - 
found
===>   php5-mysql-5.0.0_2 depends on shared library: mysqlclient.12 - 
found
===>  PHPizing for php5-mysql-5.0.0_2
Configuring for:
PHP Api Version:         20031224
Zend Module Api No:      20040412
Zend Extension Api No:   220040412
autoheader: `config.h.in' is unchanged
===>  Configuring for php5-mysql-5.0.0_2
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd4.7
checking host system type... i386-portbld-freebsd4.7
checking for i386-portbld-freebsd4.7-gcc... cc
checking for C compiler default output... 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 whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/Zend 
-I/usr/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20040412
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... no
checking for the location of libz... /usr
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for 
more information.
===>  Script "configure" failed unexpectedly.
Please report the problem to ale at FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/php5-mysql/work/php-5.0.0/ext/mysql/config.log" 
including
the output of the failure of your make command. Also, it might be a good 
idea
to provide an overview of all packages installed on your system (e.g. an 
`ls
/var/db/pkg`).
*** Error code 1

uname -a: FreeBSD rhydon 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Sat 
Nov 16 17:49:03 PST 2002     
root at rhydon:/usr/obj/usr/src/sys/rhydon_2002-11-16  i386

ls -la /var/db/pkg:
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 
apache+mod_ssl-1.3.31+2.8.19
drwxr-xr-x   2 root  wheel      512 Aug  9 00:07 autoconf-2.53_3
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 autoconf-2.59_2
drwxr-xr-x   2 root  wheel      512 Aug  9 00:07 automake-1.5_2,1
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 automake-1.9
drwxr-xr-x   2 root  wheel      512 Aug  8 15:51 bash-2.05b.007_1
drwxr-xr-x   2 root  wheel      512 Aug  8 22:34 bison-1.75_2
drwxr-xr-x   2 root  wheel      512 Jan  6  2004 cvsup-without-gui-16.1h
drwxr-xr-x   2 root  wheel      512 Aug  8 17:37 expat-1.95.8
drwxr-xr-x   2 root  wheel      512 Aug  8 17:37 gettext-0.13.1_1
drwxr-xr-x   2 root  wheel      512 Aug  8 17:37 gmake-3.80_2
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 help2man-1.33.1
drwxr-xr-x   2 root  wheel      512 Aug  8 15:27 libgnugetopt-1.2
drwxr-xr-x   2 root  wheel      512 Aug  8 17:37 libiconv-1.9.2_1
drwxr-xr-x   2 root  wheel      512 Aug  8 16:06 libtool-1.3.5_2
drwxr-xr-x   2 root  wheel      512 Aug  8 16:04 libtool-1.5.6_1
drwxr-xr-x   2 root  wheel      512 Aug  8 22:37 libxml2-2.6.11_1
drwxr-xr-x   2 root  wheel      512 Aug  8 16:02 linux_base-7.1_7
drwxr-xr-x   2 root  wheel      512 Aug  8 17:19 lynx-2.8.5
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 m4-1.4.1
drwxr-xr-x   2 root  wheel      512 Aug  8 22:23 mm-1.3.0
drwxr-xr-x   2 root  wheel      512 Aug  8 23:54 mysql-client-4.0.20
drwxr-xr-x   2 root  wheel      512 Aug  8 21:03 openssl-0.9.7d_1
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-Authen-SASL-2.08
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-Digest-1.08
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-Digest-MD5-2.33
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-HTML-Parser-3.36
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-HTML-Tagset-3.03
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-MIME-Base64-3.01
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-Net-1.19,1
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-URI-1.31
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-XML-DOM-1.43
drwxr-xr-x   2 root  wheel      512 Aug  8 17:38 p5-XML-Parser-2.34_1
drwxr-xr-x   2 root  wheel      512 Jan  6  2004 p5-XML-RegExp-0.03
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-gettext-1.01_4
drwxr-xr-x   2 root  wheel      512 Aug  8 17:39 p5-libwww-5.79_1
drwxr-xr-x   2 root  wheel      512 Aug  8 17:38 p5-libxml-0.07
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 php5-5.0.0_2
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 php5-ftp-5.0.0_2
drwxr-xr-x   2 root  wheel      512 Aug  9 00:06 php5-pgsql-5.0.0_2
drwxr-xr-x   2 root  wheel      512 Aug  8 22:36 pkgconfig-0.15.0_1
-rw-r--r--   1 root  wheel  2374656 Aug  9 00:06 pkgdb.db
drwxr-xr-x   2 root  wheel      512 Aug  8 17:36 pm3-base-1.1.15_1
drwxr-xr-x   2 root  wheel      512 Aug  8 17:36 pm3-net-1.1.15
drwxr-xr-x   2 root  wheel      512 Aug  8 17:21 popt-1.7
drwxr-xr-x   2 root  wheel      512 Aug  8 21:03 portupgrade-20040701_3
drwxr-xr-x   2 root  wheel      512 Aug  8 22:52 postgresql-7.4.3
drwxr-xr-x   2 root  wheel      512 Aug  8 16:00 qpopper-4.0.5_1
drwxr-xr-x   2 root  wheel      512 Aug  8 22:23 rc_subr-1.29
drwxr-xr-x   2 root  wheel      512 Aug  8 17:21 rpm-3.0.6_9
drwxr-xr-x   2 root  wheel      512 Aug  8 21:02 ruby-1.6.8.2004.04.16_1
drwxr-xr-x   2 root  wheel      512 Aug  8 21:03 ruby-1.8.1.2004.05.02_1
drwxr-xr-x   2 root  wheel      512 Aug  8 21:03 
ruby-shim-ruby18-1.8.1.p3
drwxr-xr-x   2 root  wheel      512 Aug  8 21:03 ruby18-bdb1-0.2.2
drwxr-xr-x   2 root  wheel      512 Aug  8 17:14 stunnel-4.05

Please let me know if I can provide anything else.

Thanks,

Joey






More information about the freebsd-ports mailing list