ports/62729: lang/php4 fails to configure
Maxim Maximov
mcsi at portpc-design.spb.ru
Thu Feb 12 13:10:26 UTC 2004
>Number: 62729
>Category: ports
>Synopsis: lang/php4 fails to configure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 12 05:10:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Maxim Maximov
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD portpc-design.spb.ru 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Feb 6 09:46:27 MSK 2004 mcsi at portpc-design.spb.ru:/usr/obj/usr/src/sys/HOSTING i386
>Description:
When trying to build lang/php4 port it fails with an error.
>How-To-Repeat:
mcsi at portpc-design(ttyp1) [123] ports/lang/php4# portupgrade php4-4.3.4_5
---> Upgrading 'php4-4.3.4_5' to 'php4-4.3.4_6' (lang/php4)
---> Building '/usr/ports/lang/php4' with make flags: -DWITH_BCMATH -DWITH_BZIP2 -DWITH_CALENDAR -DWITH_CRACK -DWITH_CTYPE -DWITH_CURL -DWITH_DOMXML -DWITH_DOMXSLT -DWITH_EXIF -DWITH_FILEPRO -DWITH_FRIBIDI -DWITH_FTP -DWITH_GD -DWITH_GETTEXT -DWITH_HYPERWAVE -DWITH_ICONV -DWITH_IMAP -DWITH_MBSTRING -DWITH_MCAL -DWITH_MCVE -DWITH_MCRYPT -DWITH_MHASH -DWITH_MIME -DWITH_MING -DWITH_MYSQL -DWITH_OPENLDAP -DWITH_OPENSSL -DWITH_OVERLOAD -DWITH_PCRE -DWITH_PDFLIB -DWITH_POSIX -DWITH_PSPELL -DWITH_SESSION -DWITH_SHMOP -DWITH_SNMP -DWITH_SOCKETS -DWITH_SYSVSEM -DWITH_SYSVSHM -DWITH_TOKENIZER -DWITH_WDDX -DWITH_XML -DWITH_XMLRPC -DWITH_XSLT -DWITH_ZIP -DWITH_ZLIB -DWITH_GDBM WITHOUT_X11=yes
===> Cleaning for fribidi-0.10.4_1
===> Cleaning for libiconv-1.9.1_3
===> Cleaning for gdbm-1.8.3_1
===> Cleaning for mysql-client-4.0.17
===> Cleaning for autoconf-2.53_1
===> Cleaning for autoconf-2.57_1
===> Cleaning for bison-1.75_2
===> Cleaning for gettext-0.13.1
===> Cleaning for gmake-3.80_2
===> Cleaning for libltdl-1.5
===> Cleaning for libmcve-3.2.2_1
===> Cleaning for libtool-1.3.5_1
===> Cleaning for libtool-1.4.3_2
===> Cleaning for m4-1.4_1
===> Cleaning for pkgconfig-0.15.0_1
===> Cleaning for zziplib-0.10.82
===> Cleaning for curl-7.11.0
===> Cleaning for jpeg-6b_1
===> Cleaning for libungif-nox11-4.1.0b1_1
===> Cleaning for ming-0.2a_1
===> Cleaning for png-1.2.5_3
===> Cleaning for python-2.3.3_1
===> Cleaning for cclient-2002d,1
===> Cleaning for help2man-1.29
===> Cleaning for libmcal-0.7_1
===> Cleaning for net-snmp-5.1_1
===> Cleaning for openldap-client-2.1.26
===> Cleaning for freetype2-2.1.5_2
===> Cleaning for pdflib-5.0.3_1
===> Cleaning for cracklib-2.7_1
===> Cleaning for libmcrypt-2.5.7_1
===> Cleaning for mhash-0.8.18
===> Cleaning for rc_subr-1.16
===> Cleaning for aspell-0.50.4.1_1
===> Cleaning for expat-1.95.6_1
===> Cleaning for libxml2-2.6.5_1
===> Cleaning for libxslt-1.1.2_3
===> Cleaning for p5-XML-Parser-2.34
===> Cleaning for Sablot-1.0_1
===> Cleaning for apache-2.0.48_3
===> Cleaning for php4-4.3.4_6
===> Vulnerability check disabled
===> Extracting for php4-4.3.4_6
===> Vulnerability check disabled
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:
>> Checksum OK for php-4.3.4.tar.bz2.
===> Patching for php4-4.3.4_6
===> Applying FreeBSD patches for php4-4.3.4_6
===> php4-4.3.4_6 depends on file: /usr/local/lib/libcrack.a - found
===> php4-4.3.4_6 depends on file: /usr/local/sbin/apxs - found
===> php4-4.3.4_6 depends on executable: bison - found
===> php4-4.3.4_6 depends on shared library: curl.2 - found
===> php4-4.3.4_6 depends on shared library: xml2.5 - found
===> php4-4.3.4_6 depends on shared library: xslt.2 - found
===> php4-4.3.4_6 depends on shared library: fribidi.0 - found
===> php4-4.3.4_6 depends on shared library: freetype.9 - found
===> php4-4.3.4_6 depends on shared library: png.5 - found
===> php4-4.3.4_6 depends on shared library: jpeg.9 - found
===> php4-4.3.4_6 depends on shared library: gdbm.3 - found
===> php4-4.3.4_6 depends on shared library: iconv.3 - found
===> php4-4.3.4_6 depends on shared library: mcal.0 - found
===> php4-4.3.4_6 depends on shared library: mcve.3 - found
===> php4-4.3.4_6 depends on shared library: mcrypt.8 - found
===> php4-4.3.4_6 depends on shared library: ltdl.4 - found
===> php4-4.3.4_6 depends on shared library: mhash.2 - found
===> php4-4.3.4_6 depends on shared library: ming.3 - found
===> php4-4.3.4_6 depends on shared library: pdf.6 - found
===> php4-4.3.4_6 depends on shared library: aspell.15 - found
===> php4-4.3.4_6 depends on shared library: expat.4 - found
===> php4-4.3.4_6 depends on shared library: sablot.70 - found
===> php4-4.3.4_6 depends on shared library: zzip.10 - found
===> php4-4.3.4_6 depends on shared library: c-client4.8 - found
===> php4-4.3.4_6 depends on shared library: netsnmp.6 - found
===> php4-4.3.4_6 depends on shared library: ldap.2 - found
===> php4-4.3.4_6 depends on shared library: intl.6 - found
===> php4-4.3.4_6 depends on shared library: mysqlclient.12 - found
===> Configuring for php4-4.3.4_6
To enable LZW-compressed GIF support in GD define the WITH_LZW knob.
You are building the Apache Module and the Command Line Interpreter of PHP.
Use port:
lang/php4-cli for Command Line Interpreter only
www/php4-cgi for Common Gateway Interface only
www/mod_php4 for Apache Module only
creating cache ./config.cache
checking host system type... i386-portbld-freebsd4.9
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib) works... yes
checking whether the C compiler (cc -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking if compiler supports -R... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for bison... bison -y
checking bison version... 1.75 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... (cached) -D_THREAD_SAFE
checking for pthreads_lib... (cached) -pthread
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads.
===> Script "configure" failed unexpectedly.
Please report the problem to ale at FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/php4/work/php-4.3.4/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
Stop in /usr/ports/lang/php4.
*** Error code 1
Stop in /usr/ports/lang/php4.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade49532.0 make -DWITH_BCMATH -DWITH_BZIP2 -DWITH_CALENDAR -DWITH_CRACK -DWITH_CTYPE -DWITH_CURL -DWITH_DOMXML -DWITH_DOMXSLT -DWITH_EXIF -DWITH_FILEPRO -DWITH_FRIBIDI -DWITH_FTP -DWITH_GD -DWITH_GETTEXT -DWITH_HYPERWAVE -DWITH_ICONV -DWITH_IMAP -DWITH_MBSTRING -DWITH_MCAL -DWITH_MCVE -DWITH_MCRYPT -DWITH_MHASH -DWITH_MIME -DWITH_MING -DWITH_MYSQL -DWITH_OPENLDAP -DWITH_OPENSSL -DWITH_OVERLOAD -DWITH_PCRE -DWITH_PDFLIB -DWITH_POSIX -DWITH _PSPELL -DWITH_SESSION -DWITH_SHMOP -DWITH_SNMP -DWITH_SOCKETS -DWITH_SYSVSEM -DWITH_SYSVSHM -DWITH_TOKENIZER -DWITH_WDDX -DWITH_XML -DWITH_XMLRPC -DWITH_XSLT -DWITH_ZIP -DWITH_ZLIB -DWITH_GDBM WITHOUT_X11=yes
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
! lang/php4 (php4-4.3.4_5) (configure error)
Exit 1
"/usr/ports/lang/php4/work/php-4.3.4/config.log":
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:1638: checking host system type
configure:1726: checking for gcc
configure:1839: checking whether the C compiler (cc -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib) works
configure:1855: cc -o conftest -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c 1>&5
configure:1881: checking whether the C compiler (cc -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib) is a cross-compiler
configure:1886: checking whether we are using GNU C
configure:1895: cc -E conftest.c
configure:1914: checking whether cc accepts -g
configure:1950: checking whether cc understands -c and -o together
configure:1962: cc -c conftest.c -o conftest.o 1>&5
configure:1963: cc -c conftest.c -o conftest.o 1>&5
configure:1998: checking how to run the C preprocessor
configure:2019: cc -E conftest.c >/dev/null 2>conftest.out
configure:2079: checking for AIX
configure:2106: checking if compiler supports -R
configure:2121: cc -o conftest -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -R /usr/lib 1>&5
configure:2180: checking for re2c
configure:2211: checking for ranlib
configure:2239: checking whether ln -s works
configure:2264: checking for gawk
configure:2264: checking for mawk
configure:2264: checking for nawk
configure:2298: checking for bison
configure:2332: checking bison version
configure:2342: checking for flex
configure:2376: checking for yywrap in -lfl
configure:2395: cc -o conftest -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -lfl 1>&5
configure:2419: checking lex output file root
configure:2440: checking whether yytext is a pointer
configure:2459: cc -o conftest -O -pipe -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -lfl 1>&5
configure:2483: checking for working const
configure:2537: cc -c -O -pipe conftest.c 1>&5
configure:2562: checking flex version
configure:2706: cc -o conftest -O -pipe -D_THREAD_SAFE -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -l-pthread 1>&5
/usr/libexec/elf/ld: cannot find -l-pthread
configure: failed program was:
#line 2688 "configure"
#include "confdefs.h"
#include <pthread.h>
#include <stddef.h>
void *thread_routine(void *data) {
return data;
}
int main() {
pthread_t thd;
pthread_mutexattr_t mattr;
int data = 1;
pthread_mutexattr_init(&mattr);
return pthread_create(&thd, NULL, thread_routine, &data);
}
configure:2726: checking for pthreads_cflags
configure:2789: checking for pthreads_lib
configure:2915: checking for AOLserver support
configure:3135: checking for Apache 1.x module support via DSO through APXS
configure:3418: checking for Apache 1.x module support
configure:4199: checking for member fd in BUFF *
configure:4218: cc -c -O -pipe conftest.c 1>&5
configure:4212: httpd.h: No such file or directory
configure: In function `main':
configure:4214: `conn_rec' undeclared (first use in this function)
configure:4214: (Each undeclared identifier is reported only once
configure:4214: for each function it appears in.)
configure:4214: `c' undeclared (first use in this function)
configure:4214: syntax error before `int'
configure: failed program was:
#line 4211 "configure"
#include "confdefs.h"
#include <httpd.h>
int main() {
conn_rec *c; int fd = c->client->fd;
; return 0; }
configure:4242: checking for mod_charset compatibility option
configure:4309: checking for Apache 2.0 filter-module support via DSO through APXS
configure:5045: checking for Apache 2.0 handler-module support via DSO through APXS
More information about the freebsd-ports-bugs
mailing list