Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 11:52:19 +0100
From:      Roger Olofsson <raggen@passagen.se>
To:        freebsd-questions@freebsd.org, ale@FreeBSD.org
Subject:   php5-mysql?
Message-ID:  <45D046E3.8000900@passagen.se>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030302030503000505070706
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Dear Mailing List,

As usual I would like to thank the replies I go to my earlier questions 
and I will try and step up and answer the ones I can.

Now for my question,

After a recent buildworld/portupgrade everything seems to be up to date 
except a few and among those are php5-extensions and to be more precise 
php5-mysql.

php5-mysql and php5-extensions reports
configure: error: mysql configure failed. Please check config.log for 
more information.
===>  Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org

The requisites are met, all the following are ok:

Requires: autoconf-2.59_2, libiconv-1.9.2_2, libxml2-2.6.27, m4-1.4.8_1, 
mysql-client-5.0.33, perl-5.8.8, php5-5.2.1, pkg-config-0.21

autoconf reports autoconf-2.13.000227_5 as well as 2.59_2, could this be 
the problem?

I tried make deinstall ; make install of php5 and of mysql (both client 
and server) but no luck so far.

What can I do?

Grateful for any answers!

Greetings

/Roger


--------------030302030503000505070706
Content-Type: text/plain;
 name="config.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="config.log"

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-mysql=/usr/local --with-zlib-dir=/usr --with-php-config=/usr/local/bin/php-config --prefix=/usr/local i386-portbld-freebsd6.2

## --------- ##
## Platform. ##
## --------- ##

hostname = scomber.salt.sea
uname -m = i386
uname -r = 6.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-STABLE #0: Sat Feb 10 10:48:02 CET 2007     raggen@scomber.salt.sea:/usr/obj/usr/src/sys/SCOMBER 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1500: checking for egrep
configure:1510: result: grep -E
configure:1515: checking for a sed that does not truncate output
configure:1569: result: /usr/bin/sed
configure:1640: checking for i386-portbld-freebsd6.2-gcc
configure:1666: result: cc
configure:1948: checking for C compiler version
configure:1951: cc --version </dev/null >&5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1954: $? = 0
configure:1956: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:1959: $? = 0
configure:1961: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:1964: $? = 1
configure:1987: checking for C compiler default output file name
configure:1990: cc -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
configure:1993: $? = 0
configure:2039: result: a.out
configure:2044: checking whether the C compiler works
configure:2050: ./a.out
configure:2053: $? = 0
configure:2070: result: yes
configure:2077: checking whether we are cross compiling
configure:2079: result: no
configure:2082: checking for suffix of executables
configure:2084: cc -o conftest -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
configure:2087: $? = 0
configure:2112: result: 
configure:2118: checking for suffix of object files
configure:2139: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2142: $? = 0
configure:2164: result: o
configure:2168: checking whether we are using the GNU C compiler
configure:2192: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2198: $? = 0
configure:2202: test -z 
			 || test ! -s conftest.err
configure:2205: $? = 0
configure:2208: test -s conftest.o
configure:2211: $? = 0
configure:2224: result: yes
configure:2230: checking whether cc accepts -g
configure:2251: cc -c -g  conftest.c >&5
configure:2257: $? = 0
configure:2261: test -z 
			 || test ! -s conftest.err
configure:2264: $? = 0
configure:2267: test -s conftest.o
configure:2270: $? = 0
configure:2281: result: yes
configure:2298: checking for cc option to accept ANSI C
configure:2368: cc  -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2374: $? = 0
configure:2378: test -z 
			 || test ! -s conftest.err
configure:2381: $? = 0
configure:2384: test -s conftest.o
configure:2387: $? = 0
configure:2405: result: none needed
configure:2423: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2429: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2566: checking whether cc understands -c and -o together
configure:2593: cc -c conftest.c -o conftest.o >&5
configure:2596: $? = 0
configure:2598: cc -c conftest.c -o conftest.o >&5
configure:2601: $? = 0
configure:2640: result: yes
configure:2664: checking if compiler supports -R
configure:2688: cc -o conftest -O2 -fno-strict-aliasing -pipe    conftest.c -R /usr/lib  >&5
configure:2694: $? = 0
configure:2698: test -z 
			 || test ! -s conftest.err
configure:2701: $? = 0
configure:2704: test -s conftest
configure:2707: $? = 0
configure:2721: result: yes
configure:2823: checking build system type
configure:2841: result: i386-portbld-freebsd6.2
configure:2849: checking host system type
configure:2863: result: i386-portbld-freebsd6.2
configure:2871: checking target system type
configure:2885: result: i386-portbld-freebsd6.2
configure:2970: checking for PHP prefix
configure:2972: result: /usr/local
configure:2974: checking for PHP includes
configure:2976: result: -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
configure:2978: checking for PHP extension directory
configure:2980: result: /usr/local/lib/php/20060613
configure:2982: checking for PHP installed headers prefix
configure:2984: result: /usr/local/include/php
configure:3031: checking for re2c
configure:3060: result: no
configure:3084: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
configure:3098: checking for gawk
configure:3128: result: no
configure:3098: checking for nawk
configure:3115: found /usr/bin/nawk
configure:3125: result: nawk
configure:3149: checking if nawk is broken
configure:3158: result: no
configure:3176: checking for MySQL support
configure:3219: result: yes, shared
configure:3227: checking for specified location of the MySQL UNIX socket
configure:3245: result: no
configure:3254: checking for the location of libz
configure:3272: result: /usr
configure:3287: checking for MySQL UNIX socket location
configure:3331: result: no
configure:3490: checking for mysql_close in -lmysqlclient
configure:3520: cc -o conftest -O2 -fno-strict-aliasing -pipe   -R/usr/local/lib -L/usr/local/lib  conftest.c -lmysqlclient   >&5
/usr/bin/ld: cannot find -lmysqlclient
configure:3526: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_MYSQL 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char mysql_close ();
| int
| main ()
| {
| mysql_close ();
|   ;
|   return 0;
| }
configure:3552: result: no
configure:3760: checking for mysql_error in -lmysqlclient
configure:3790: cc -o conftest -O2 -fno-strict-aliasing -pipe   -R/usr/local/lib -L/usr/local/lib  conftest.c -lmysqlclient   >&5
/usr/bin/ld: cannot find -lmysqlclient
configure:3796: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_MYSQL 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char mysql_error ();
| int
| main ()
| {
| mysql_error ();
|   ;
|   return 0;
| }
configure:3822: result: no
configure:3836: error: mysql configure failed. Please check config.log for more information.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-portbld-freebsd6.2
ac_cv_build_alias=i386-portbld-freebsd6.2
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe '
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -fno-strict-aliasing -pipe'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd6.2
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-portbld-freebsd6.2
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-portbld-freebsd6.2
ac_cv_exeext=''
ac_cv_host=i386-portbld-freebsd6.2
ac_cv_host_alias=i386-portbld-freebsd6.2
ac_cv_lib_mysqlclient___mysql_close=no
ac_cv_lib_mysqlclient___mysql_error=no
ac_cv_objext=o
ac_cv_prog_AWK=nawk
ac_cv_prog_CC=cc
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=''
ac_cv_prog_egrep='grep -E'
ac_cv_target=i386-portbld-freebsd6.2
ac_cv_target_alias=i386-portbld-freebsd6.2
lt_cv_path_SED=/usr/bin/sed
lt_cv_sys_max_cmd_len=262144
php_cv_cc_dashr=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
AWK='nawk'
CC='cc'
CFLAGS='-O2 -fno-strict-aliasing -pipe '
CONFIGURE_COMMAND=' './configure' '--with-mysql=/usr/local' '--with-zlib-dir=/usr' '--with-php-config=/usr/local/bin/php-config' '--prefix=/usr/local''
CPP=''
CPPFLAGS=''
CXX='c++'
CXXCPP=''
CXXFLAGS='-O2 -fno-strict-aliasing -pipe'
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MYSQL_INCLUDE=''
MYSQL_LIBS=''
MYSQL_MODULE_TYPE=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RE2C='exit 0;'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
STRIP=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd6.2'
build_alias='i386-portbld-freebsd6.2'
build_cpu='i386'
build_os='freebsd6.2'
build_vendor='portbld'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-portbld-freebsd6.2'
host_alias='i386-portbld-freebsd6.2'
host_cpu='i386'
host_os='freebsd6.2'
host_vendor='portbld'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-portbld-freebsd6.2'
target_alias='i386-portbld-freebsd6.2'
target_cpu='i386'
target_os='freebsd6.2'
target_vendor='portbld'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_MYSQL 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 1

--------------030302030503000505070706--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D046E3.8000900>