Date: Thu, 5 Oct 2000 20:22:13 +0300 From: Alex Popa <razor@ldc.ro> To: freebsd-ports@freebsd.org Cc: freebsd-stable@freebsd.org Subject: moh_php4 not compiling, failing at config Message-ID: <20001005202213.A9631@ldc.ro>
next in thread | raw e-mail | index | archive | help
I am trying to compile php4 on a FreeBSD -stable, cvsupped last night, and compiled today, with ports collection cvsupped some one hour ago. Also, since I think it should compile (-kthread appears in cc's manpage), I cc'd this to -stable as well as -ports. Here is the output (after make patch, I just logged the "make") =3D=3D=3D> Configuring for mod_php-4.0.2 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g whe= el checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found Updated php_version.h checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i386--freebsd4.1.1 checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for bison... no checking for byacc... byacc configure: warning: You will need bison if you want to regenerate the PHP p= arsers. checking for gcc... cc checking whether the C compiler (cc -O -pipe ) works... yes checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E checking for AIX... no checking for cc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether cc understands -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for flex... (cached) 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 for pthreads_cflags... -pthread checking for pthreads_lib...=20 =1B[1mConfiguring SAPI modules=1B[m checking for AOLserver support... no checking for Apache module support via DSO through APXS...=20 Usage: apxs -g [-S <var>=3D<val>] -n <modname> apxs -q [-S <var>=3D<val>] <query> ... apxs -c [-S <var>=3D<val>] [-o <dsofile>] [-D <name>[=3D<value>]] [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>] <files> ... apxs -i [-S <var>=3D<val>] [-a] [-A] [-n <modname>] <dsofile> ... apxs -e [-S <var>=3D<val>] [-a] [-A] [-n <modname>] <dsofile> ... configure: error: Sorry, I cannot run apxs. Either you need to install Perl= or you need to pass the absolute path of apxs by using --with-apxs=3D/abso= lute/path/to/apxs =3D=3D=3D> Script "configure" failed: here are the contents of "config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1273: checking for a BSD compatible install configure:1326: checking whether build environment is sane configure:1383: checking whether make sets ${MAKE} configure:1429: checking for working aclocal configure:1442: checking for working autoconf configure:1455: checking for working automake configure:1468: checking for working autoheader configure:1481: checking for working makeinfo configure:1511: checking whether to enable maintainer-specific portions of = Makefiles configure:1540: checking host system type configure:1568: checking for gawk configure:1568: checking for mawk configure:1568: checking for nawk configure:1568: checking for awk configure:1602: checking for bison configure:1602: checking for byacc configure:1649: checking for gcc configure:1762: checking whether the C compiler (cc -O -pipe ) works configure:1778: cc -o conftest -O -pipe conftest.c 1>&5 configure:1804: checking whether the C compiler (cc -O -pipe ) is a cross-c= ompiler configure:1809: checking whether we are using GNU C configure:1818: cc -E conftest.c configure:1837: checking whether cc accepts -g configure:1869: checking how to run the C preprocessor configure:1890: cc -E conftest.c >/dev/null 2>conftest.out configure:1949: checking for AIX configure:1986: checking for cc option to accept ANSI C configure:2039: cc -c -O -pipe conftest.c 1>&5 configure:2066: checking for ranlib configure:2098: checking whether cc understands -c and -o together configure:2110: cc -c conftest.c -o conftest.o 1>&5 configure:2111: cc -c conftest.c -o conftest.o 1>&5 configure:2146: checking whether ln -s works configure:2173: checking for flex configure:2206: checking for flex configure:2240: checking for yywrap in -lfl configure:2259: cc -o conftest -O -pipe conftest.c -lfl 1>&5 configure:2282: checking lex output file root configure:2303: checking whether yytext is a pointer configure:2322: cc -o conftest -O -pipe conftest.c -lfl 1>&5 configure:2345: checking for working const configure:2399: cc -c -O -pipe conftest.c 1>&5 configure:2516: cc -o conftest -O -pipe conftest.c 1>&5 /tmp/ccy10558.o: In function `main': /tmp/ccy10558.o(.text+0x1d): undefined reference to `pthread_mutexattr_init' /tmp/ccy10558.o(.text+0x31): undefined reference to `pthread_create' configure: failed program was: #line 2498 "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 =3D 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); }=20 configure:2536: checking for pthreads_cflags configure:2569: cc -o conftest -O -pipe -kthread conftest.c 1>&5 /tmp/ccx10573.o: In function `main': /tmp/ccx10573.o(.text+0x1d): undefined reference to `pthread_mutexattr_init' /tmp/ccx10573.o(.text+0x31): undefined reference to `pthread_create' configure: failed program was: #line 2551 "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 =3D 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); }=20 configure:2569: cc -o conftest -O -pipe -pthread conftest.c 1>&5 configure:2598: checking for pthreads_lib configure:2703: checking for AOLserver support configure:2777: checking for Apache module support via DSO through APXS (end of "config.log") *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. ------------+------------------------------------------ Alex Popa, | "Artificial Intelligence is razor@ldc.ro| no match for Natural Stupidity" ------------+------------------------------------------ "It took the computing power of three C-64s to fly to the Moon. It takes a 486 to run Windows 95. Something is wrong here." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001005202213.A9631>