php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4162 make line 39: Need an operator
Submitted: 2000-04-17 13:09 UTC Modified: 2000-09-26 21:44 UTC
From: popelek at geocities dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: BSDI 4.1
Private report: No CVE-ID: None
 [2000-04-17 13:09 UTC] popelek at geocities dot com
Hi,

I was trying to compile php-4.0 RC1 on BSDI 4.1 as a non-root, using
commands:

 ./configure --prefix=$D --with-mysql=$D --with-apxs=$D/bin/apxs
 make
 
and make ended with errors like

 Makefile lines 39--41 : Need an operator

If you need any other information, please ask. 

Best Regards, Jan Popelek <popelek@geocities.com>

P.S. You can find the config.log and Makefile attached here:

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

configure:1172: checking for a BSD compatible install
configure:1225: checking whether build environment is sane
configure:1282: checking whether make sets ${MAKE}
configure:1328: checking for working aclocal
configure:1341: checking for working autoconf
configure:1354: checking for working automake
configure:1367: checking for working autoheader
configure:1380: checking for working makeinfo
configure:1410: checking whether to enable maintainer-specific portions of Makefiles
configure:1439: checking host system type
configure:1468: checking for bison
configure:1468: checking for byacc
configure:1515: checking for gcc
configure:1628: checking whether the C compiler (gcc  ) works
configure:1644: gcc -o conftest    conftest.c  1>&5
configure:1670: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1675: checking whether we are using GNU C
configure:1684: gcc -E conftest.c
configure:1703: checking whether gcc accepts -g
configure:1735: checking how to run the C preprocessor
configure:1756: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1815: checking for AIX
configure:1843: checking for gcc option to accept ANSI C
configure:1896: gcc  -c -g -O2  conftest.c 1>&5
configure:1923: checking for ranlib
configure:1952: checking whether gcc and cc understand -c and -o together
configure:1967: gcc -c conftest.c -o conftest.o 1>&5
configure:1968: gcc -c conftest.c -o conftest.o 1>&5
configure:1973: cc -c conftest.c 1>&5
configure:1975: cc -c conftest.c -o conftest.o 1>&5
configure:1976: cc -c conftest.c -o conftest.o 1>&5
configure:2003: checking whether ln -s works
configure:2030: checking for flex
configure:2030: checking for lex
configure:2063: checking for flex
configure:2097: checking for yywrap in -ll
configure:2116: gcc -o conftest -g -O2   conftest.c -ll   1>&5
configure:2139: checking lex output file root
configure:2160: checking whether yytext is a pointer
configure:2179: gcc -o conftest -g -O2   conftest.c  -ll 1>&5
configure:2202: checking for working const
configure:2256: gcc -c -g -O2  conftest.c 1>&5
configure:2336: checking whether compiler supports -R
configure:2351: gcc -o conftest -g -O2   conftest.c -R /usr/lib  1>&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: File format not recognized
configure: failed program was:
#line 2344 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2369: checking whether compiler supports -Wl,-rpath,
configure:2384: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  1>&5
configure:2408: checking for sendmail
configure:2456: checking for gethostname in -lnsl
configure:2475: gcc -o conftest -g -O2   conftest.c -lnsl   1>&5
ld: cannot open -lnsl: No such file or directory
configure: failed program was:
#line 2464 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gethostname();

int main() {
gethostname()
; return 0; }
configure:2513: checking for socket in -lsocket
configure:2532: gcc -o conftest -g -O2   conftest.c -lsocket   1>&5
ld: cannot open -lsocket: No such file or directory
configure: failed program was:
#line 2521 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:2568: checking for htonl in -lsocket
configure:2587: gcc -o conftest -g -O2   conftest.c -lsocket   1>&5
ld: cannot open -lsocket: No such file or directory
configure: failed program was:
#line 2576 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char htonl();

int main() {
htonl()
; return 0; }
configure:2624: checking for gethostbyaddr in -lnsl
configure:2643: gcc -o conftest -g -O2   conftest.c -lnsl   1>&5
ld: cannot open -lnsl: No such file or directory
configure: failed program was:
#line 2632 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gethostbyaddr();

int main() {
gethostbyaddr()
; return 0; }
configure:2681: checking for crypt in -lcrypt
configure:2700: gcc -o conftest -g -O2   conftest.c -lcrypt   1>&5
ld: cannot open -lcrypt: No such file or directory
configure: failed program was:
#line 2689 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char crypt();

int main() {
crypt()
; return 0; }
configure:2738: checking for sin in -lm
configure:2757: gcc -o conftest -g -O2   conftest.c -lm   1>&5
configure:2750: warning: conflicting types for built-in function `sin'
configure:2786: checking for inet_aton in -lbind
configure:2805: gcc -o conftest -g -O2   conftest.c -lbind  -lm  1>&5
/var/tmp/ccaAv5Dd.o: In function `main':
/usr/home/popelek/web/src/php/configure:2801: undefined reference to `inet_aton'
configure: failed program was:
#line 2794 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_aton();

int main() {
inet_aton()
; return 0; }
configure:2843: checking for inet_aton in -lresolv
configure:2862: gcc -o conftest -g -O2   conftest.c -lresolv  -lm  1>&5
ld: cannot open -lresolv: No such file or directory
configure: failed program was:
#line 2851 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_aton();

int main() {
inet_aton()
; return 0; }
configure:2891: checking for res_search in -lsocket
configure:2910: gcc -o conftest -g -O2   conftest.c -lsocket  -lm  1>&5
ld: cannot open -lsocket: No such file or directory
configure: failed program was:
#line 2899 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {
res_search()
; return 0; }
configure:3029: checking for res_search in -lresolv
configure:3048: gcc -o conftest -g -O2   conftest.c -lresolv  -lm  1>&5
ld: cannot open -lresolv: No such file or directory
configure: failed program was:
#line 3037 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {
res_search()
; return 0; }
configure:3074: checking for dn_skipname in -lresolv
configure:3093: gcc -o conftest -g -O2   conftest.c -lresolv  -lm  1>&5
ld: cannot open -lresolv: No such file or directory
configure: failed program was:
#line 3082 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {
dn_skipname()
; return 0; }
configure:3121: checking for __dn_skipname in -lresolv
configure:3140: gcc -o conftest -g -O2   conftest.c -lresolv  -lm  1>&5
ld: cannot open -lresolv: No such file or directory
configure: failed program was:
#line 3129 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __dn_skipname();

int main() {
__dn_skipname()
; return 0; }
configure:3175: checking for ANSI C header files
configure:3188: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3255: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:3285: checking for dirent.h that defines DIR
configure:3298: gcc -c -g -O2  conftest.c 1>&5
configure:3323: checking for opendir in -ldir
configure:3342: gcc -o conftest -g -O2   conftest.c -ldir  -lm  1>&5
ld: cannot open -ldir: No such file or directory
configure: failed program was:
#line 3331 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:3449: checking for fclose declaration
configure:3458: gcc -c -g -O2  conftest.c 1>&5
configure:3512: checking for arpa/inet.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for crypt.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3518: crypt.h: No such file or directory
configure: failed program was:
#line 3517 "configure"
#include "confdefs.h"
#include <crypt.h>
configure:3512: checking for dlfcn.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for fcntl.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for grp.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for limits.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for locale.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for memory.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for netinet/in.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for pwd.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for signal.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for stdarg.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for stdlib.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for string.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/file.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/mman.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/select.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/socket.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/statfs.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3518: sys/statfs.h: No such file or directory
configure: failed program was:
#line 3517 "configure"
#include "confdefs.h"
#include <sys/statfs.h>
configure:3512: checking for sys/statvfs.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3518: sys/statvfs.h: No such file or directory
configure: failed program was:
#line 3517 "configure"
#include "confdefs.h"
#include <sys/statvfs.h>
configure:3512: checking for sys/time.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/types.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for sys/varargs.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3518: sys/varargs.h: No such file or directory
configure: failed program was:
#line 3517 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:3512: checking for sys/wait.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for syslog.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for unistd.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for unix.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3518: unix.h: No such file or directory
configure: failed program was:
#line 3517 "configure"
#include "confdefs.h"
#include <unix.h>
configure:3550: checking whether struct tm is in sys/time.h or time.h
configure:3563: gcc -c -g -O2  conftest.c 1>&5
configure:3584: checking for tm_zone in struct tm
configure:3597: gcc -c -g -O2  conftest.c 1>&5
configure:3656: checking for tm_gmtoff in struct tm
configure:3669: gcc -c -g -O2  conftest.c 1>&5
configure:3692: checking for struct flock
configure:3707: gcc -c -g -O2  conftest.c 1>&5
configure:3734: checking for socklen_t
configure:3751: gcc -c -g -O2  conftest.c 1>&5
configure:3777: checking size of long
configure:3796: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:3816: checking size of int
configure:3835: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:3882: checking for st_blksize in struct stat
configure:3895: gcc -c -g -O2  conftest.c 1>&5
configure:3917: checking for st_blocks in struct stat
configure:3930: gcc -c -g -O2  conftest.c 1>&5
configure:3957: checking for st_rdev in struct stat
configure:3970: gcc -c -g -O2  conftest.c 1>&5
configure:3992: checking for size_t
configure:4025: checking for uid_t in sys/types.h
configure:4060: checking for vprintf
configure:4088: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for asctime_r
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for crypt
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for ctime_r
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for cuserid
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/ccsLWtoM.o: In function `main':
/usr/home/popelek/web/src/php/configure:4237: undefined reference to `cuserid'
configure: failed program was:
#line 4220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char cuserid(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char cuserid();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_cuserid) || defined (__stub___cuserid)
choke me
#else
cuserid();
#endif

; return 0; }
configure:4215: checking for flock
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for gcvt
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/cckntQ5A.o: In function `main':
/usr/home/popelek/web/src/php/configure:4237: undefined reference to `gcvt'
configure: failed program was:
#line 4220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gcvt(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gcvt();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_gcvt) || defined (__stub___gcvt)
choke me
#else
gcvt();
#endif

; return 0; }
configure:4215: checking for getlogin
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for gethostbyaddr
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for getrusage
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for gettimeofday
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for gmtime_r
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for inet_aton
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/cc5FSciK.o: In function `main':
/usr/home/popelek/web/src/php/configure:4237: undefined reference to `inet_aton'
configure: failed program was:
#line 4220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char inet_aton(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_aton();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
choke me
#else
inet_aton();
#endif

; return 0; }
configure:4215: checking for link
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for localtime_r
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for lockf
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/cc9NMiNZ.o: In function `main':
/usr/home/popelek/web/src/php/configure:4237: undefined reference to `lockf'
configure: failed program was:
#line 4220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char lockf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lockf();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_lockf) || defined (__stub___lockf)
choke me
#else
lockf();
#endif

; return 0; }
configure:4215: checking for lrand48
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for memcpy
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4227: warning: conflicting types for built-in function `memcpy'
configure:4215: checking for memmove
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for mmap
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for putenv
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for random
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for rand_r
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for regcomp
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for rint
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for setitimer
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for setlocale
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for setsockopt
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for setvbuf
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for shutdown
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for sin
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4227: warning: conflicting types for built-in function `sin'
configure:4215: checking for snprintf
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for srand48
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for srandom
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for statfs
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for statvfs
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/cc844jho.o: In function `main':
/usr/home/popelek/web/src/php/configure:4237: undefined reference to `statvfs'
configure: failed program was:
#line 4220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char statvfs(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char statvfs();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_statvfs) || defined (__stub___statvfs)
choke me
#else
statvfs();
#endif

; return 0; }
configure:4215: checking for strcasecmp
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for strdup
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for strerror
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for strftime
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for strstr
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for strtok_r
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for symlink
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for tempnam
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for tzset
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for unsetenv
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for usleep
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for utime
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4215: checking for vsnprintf
configure:4243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4271: checking for strlcat
configure:4299: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/cc3w6rai.o: In function `main':
/usr/home/popelek/web/src/php/configure:4293: undefined reference to `strlcat'
configure: failed program was:
#line 4276 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strlcat(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strlcat();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strlcat) || defined (__stub___strlcat)
choke me
#else
strlcat();
#endif

; return 0; }
configure:4271: checking for strlcpy
configure:4299: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp/ccAa7Qed.o: In function `main':
/usr/home/popelek/web/src/php/configure:4293: undefined reference to `strlcpy'
configure: failed program was:
#line 4276 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strlcpy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strlcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strlcpy) || defined (__stub___strlcpy)
choke me
#else
strlcpy();
#endif

; return 0; }
configure:4271: checking for getopt
configure:4299: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4326: checking whether utime accepts a null argument
configure:4347: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4373: checking for working alloca.h
configure:4385: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4379: alloca.h: No such file or directory
configure: failed program was:
#line 4378 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:4406: checking for alloca
configure:4439: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4606: checking whether sprintf is broken
configure:4621: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:4655: checking for declared timezone
configure:4676: gcc -c -g -O2  conftest.c 1>&5
configure:4702: checking for time_r type
configure:4731: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function `main':
configure:4724: too many arguments to function `asctime_r'
configure: failed program was:
#line 4713 "configure"
#include "confdefs.h"

#include <time.h>

main() {
char buf[27];
struct tm t;
time_t old = 0;
int r;

gmtime_r(&old, &t);
r = (int) asctime_r(&t, buf, 26);
if (r == -1 || (r > 0 && r <= 26)) exit(0);
exit(1);
}

configure:4801: checking whether to use a configuration file
configure:4870: checking whether to include debugging symbols
configure:4886: checking whether to enable safe mode by default
configure:4918: checking for safe mode exec dir
configure:4958: checking whether to enable track_vars variables by default
configure:4990: checking whether to enable magic quotes by default
configure:5022: checking whether to enable runpaths
configure:5042: checking whether to enable short tags by default
configure:5073: checking whether to enable the URL-aware fopen wrapper
configure:5104: checking whether to enable PIC for shared objects
configure:5121: checking whether to enable dmalloc
configure:5165: checking whether to install PEAR
configure:5189: checking for AOLserver support
configure:5244: checking for Apache module support via DSO through APXS
configure:5548: checking for mod_charset compatibility option
configure:5691: checking for fhttpd module support
configure:5736: checking for Zeus ISAPI support
configure:5794: checking for PHTTPD support
configure:5848: checking for Roxen/Pike support
configure:5941: checking for Servlet support
configure:6073: checking for thttpd
configure:6079: checking for chosen SAPI module
configure:6092: checking for ASPELL support
configure:6210: checking whether to enable bc style precision math functions
configure:6264: checking whether to include cpdflib support
configure:6743: checking for CyberCash support
configure:6898: checking whether to enable DAV support through mod_dav
configure:6962: checking for db1/ndbm.h
configure:6972: gcc -E  -DEAPI=1 conftest.c >/dev/null 2>conftest.out
configure:6968: db1/ndbm.h: No such file or directory
configure: failed program was:
#line 6967 "configure"
#include "confdefs.h"
#include <db1/ndbm.h>
configure:7005: checking for gdbm_open in -lgdbm
configure:7024: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lgdbm  -lm  1>&5
ld: cannot open -lgdbm: No such file or directory
configure: failed program was:
#line 7013 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gdbm_open();

int main() {
gdbm_open()
; return 0; }
configure:7046: checking for dbm_open in -ldb
configure:7065: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -ldb  -lm  1>&5
ld: cannot open -ldb: No such file or directory
configure: failed program was:
#line 7054 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbm_open();

int main() {
dbm_open()
; return 0; }
configure:7087: checking for dbm_open in -lc
configure:7106: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lc  -lm  1>&5
configure:7178: checking preferred dbm library
configure:7540: checking for GDBM support
configure:7716: checking for NDBM support
configure:7906: checking for Berkeley DB2 support
configure:8079: checking for Berkeley DB3 support
configure:8244: checking for DBM support
configure:8409: checking for CDB support
configure:8421: checking whether to enable DBA interface
configure:8461: checking whether to include the bundled dbase library
configure:8515: checking whether to include DOM support
configure:8906: checking whether to include fdftk support
configure:9077: checking whether to include the bundled filePro support
configure:9131: checking for FTP support
configure:9177: checking whether to include GD support
configure:10171: checking for gdImageLine in -lgd
configure:10190: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lgd  -lm  1>&5
configure:10218: checking for gdImageString16 in -lgd
configure:10237: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lgd  -lgd -lm  1>&5
/var/tmp/ccNu3U3u.o: In function `main':
/usr/home/popelek/web/src/php/configure:10233: undefined reference to `gdImageString16'
configure: failed program was:
#line 10226 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gdImageString16();

int main() {
gdImageString16()
; return 0; }
configure:10263: checking for gdImageString16 in -lgd
configure:10306: checking for compress in -lz
configure:10325: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lz  -lgd -lm  1>&5
configure:10346: checking for png_info_init in -lpng
configure:10365: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lpng  -lgd -lm  -lz 1>&5
configure:10386: checking for gdImageColorResolve in -lgd
configure:10405: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lgd  -lgd -lm  -lz -lpng 1>&5
/var/tmp/ccEx9yDN.o: In function `main':
/usr/home/popelek/web/src/php/configure:10401: undefined reference to `gdImageColorResolve'
configure: failed program was:
#line 10394 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gdImageColorResolve();

int main() {
gdImageColorResolve()
; return 0; }
configure:10429: checking for gdImageCreateFromPng in -lgd
configure:10448: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lgd  -lgd -lm  -lz -lpng 1>&5
/var/tmp/ccLkJkef.o: In function `main':
/usr/home/popelek/web/src/php/configure:10444: undefined reference to `gdImageCreateFromPng'
configure: failed program was:
#line 10437 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gdImageCreateFromPng();

int main() {
gdImageCreateFromPng()
; return 0; }
configure:10472: checking for gdImageCreateFromGif in -lgd
configure:10491: gcc -o conftest -g -O2  -DEAPI=1  conftest.c -lgd  -lgd -lm  -lz -lpng 1>&5
configure:10564: checking whether to include ttf support
configure:10738: checking for T1lib support
configure:10941: checking whether to enable 4bit antialias hack with FreeType2
configure:11035: checking whether to include GNU gettext support
configure:11187: checking for Hyperwave support
configure:11241: checking for ICAP support
configure:11360: checking for IMAP support
configure:11514: checking for Informix support
configure:11801: checking for InterBase support
configure:11861: checking for Java support
configure:12142: checking for LDAP support
configure:12417: checking for MCAL support
configure:12532: checking for mcrypt support
configure:12650: checking for mhash support
configure:12770: checking for mSQL support
configure:12957: checking for MySQL support
configure:14279: checking for Oracle-OCI8 support
configure:14526: checking for Adabas support
configure:14671: checking for Solid support
configure:14734: checking for IBM DB2 support
configure:14770: checking for Empress support
configure:14813: checking for Velocis support
configure:14854: checking for a custom ODBC support
configure:14888: checking for iODBC support
configure:14979: checking for Easysoft ODBC-ODBC Bridge support
configure:15013: checking for unixODBC support
configure:15047: checking for OpenLink ODBC support
configure:15081: checking for DBMaker support
configure:15193: checking for Oracle support
configure:15421: checking whether to include PCRE support
configure:15632: checking for memmove
configure:15686: checking whether to include Pdflib 3.x support
configure:16624: checking for PostgresSQL support
configure:16844: checking whether to include POSIX-like functions
configure:16879: checking for readline support
configure:17241: checking for recode support
configure:17408: checking for mm support
configure:17424: checking whether to enable session support
configure:17440: checking whether to enable transparent session id propagation
configure:17586: checking for SNMP support
configure:17969: checking whether to enable UCD SNMP hack
configure:17993: checking for dlopen in -lc
configure:18012: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -lc  -lmysqlclient -lgd -lm  1>&5
/var/tmp/cccoTSzo.o: In function `main':
/usr/home/popelek/web/src/php/configure:18008: undefined reference to `dlopen'
configure: failed program was:
#line 18001 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dlopen();

int main() {
dlopen()
; return 0; }
configure:18037: checking for dlopen in -ldl
configure:18056: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl  -lmysqlclient -lgd -lm  1>&5
configure:18085: checking for pam_start in -lpam
configure:18104: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -lpam  -ldl -lmysqlclient -lgd -lm  1>&5
ld: cannot open -lpam: No such file or directory
configure: failed program was:
#line 18093 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pam_start();

int main() {
pam_start()
; return 0; }
configure:18131: checking for crypt in -lcrypt
configure:18190: checking for getcwd
configure:18218: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -lmysqlclient -lgd -lm  1>&5
configure:18245: checking for getwd
configure:18273: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -lmysqlclient -lgd -lm  1>&5
configure:18328: checking for standard DES crypt
configure:18350: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -lmysqlclient -lgd -lm  1>&5
configure:18381: checking for extended DES crypt
configure:18403: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -lmysqlclient -lgd -lm  1>&5
configure:18434: checking for MD5 crypt
configure:18465: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -lmysqlclient -lgd -lm  1>&5
configure: failed program was:
#line 18445 "configure"
#include "confdefs.h"

main() {
#if HAVE_CRYPT
    char salt[15], answer[40];

    salt[0]='$'; salt[1]='1'; salt[2]='$'; 
    salt[3]='r'; salt[4]='a'; salt[5]='s';
    salt[6]='m'; salt[7]='u'; salt[8]='s';
    salt[9]='l'; salt[10]='e'; salt[11]='$';
    salt[12]='\0';
    strcpy(answer,salt);
    strcat(answer,"rISCgZzpwk3UhDidwXvin0");
    exit (strcmp((char *)crypt("rasmuslerdorf",salt),answer));
#else
        exit(0);
#endif
}
configure:18496: checking for Blowfish crypt
configure:18524: gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -lmysqlclient -lgd -lm  1>&5
configure: failed program was:
#line 18507 "configure"
#include "confdefs.h"

main() {
#if HAVE_CRYPT
    char salt[25], answer[70];
    
    salt[0]='$'; salt[1]='2'; salt[2]='a'; salt[3]='$'; salt[4]='0'; salt[5]='7'; salt[6]='$'; salt[7]='\0';
    strcat(salt,"rasmuslerd");
    strcpy(answer,salt);
    strcpy(&answer[16],"O............gl95GkTKn53Of.H4YchXl5PwvvW.5ri");
    exit (strcmp((char *)crypt("rasmuslerdorf",salt),answer));
#else
        exit(0);
#endif
}
configure:18559: checking for sys/resource.h
configure:18569: gcc -E  -DEAPI=1 conftest.c >/dev/null 2>conftest.out
configure:18622: checking for Sybase support
configure:18791: checking for Sybase-CT support
configure:19060: checking whether to enable System V semaphore support
configure:19161: checking whether to enable System V shared memory support
configure:19215: checking whether to include WDDX support
configure:19274: checking whether byte ordering is bigendian
configure:19292: gcc -c -g -O2  -DEAPI=1 conftest.c 1>&5
configure:19307: gcc -c -g -O2  -DEAPI=1 conftest.c 1>&5
configure: In function `main':
configure:19302: syntax error before `big'
configure: failed program was:
#line 19296 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
; return 0; }
configure:19371: checking for XML support
configure:19472: checking whether to include YP support
configure:19532: checking whether to include zlib support
configure:19776: checking whether to enable versioning
configure:19844: checking which regex library to use
configure:19933: checking for limits.h
configure:19933: checking for malloc.h
configure:19943: gcc -E  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c >/dev/null 2>conftest.out
configure:19933: checking for string.h
configure:19933: checking for unistd.h
configure:19933: checking for stdarg.h
configure:19933: checking for sys/types.h
configure:19933: checking for signal.h
configure:19933: checking for unix.h
configure:19933: checking for dlfcn.h
configure:19971: checking for size_t
configure:20004: checking return type of signal handlers
configure:20026: gcc -c -g -O2  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
configure:20046: checking for dlopen in -lc
configure:20090: checking for dlopen in -ldl
configure:20139: checking for uint
configure:20172: checking for ulong
configure:20207: checking for vprintf
configure:20312: checking for 8-bit clean memcmp
configure:20330: gcc -o conftest -g -O2  -DEAPI=1 -DXML_BYTE_ORDER=12  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -ldl -lmysqlclient -lgd -lm  1>&5
configure:20350: checking for working alloca.h
configure:20383: checking for alloca
configure:20584: checking for memcpy
configure:20584: checking for strdup
configure:20584: checking for getpid
configure:20612: gcc -o conftest -g -O2  -DEAPI=1 -DXML_BYTE_ORDER=12  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -ldl -lmysqlclient -lgd -lm  1>&5
configure:20584: checking for kill
configure:20612: gcc -o conftest -g -O2  -DEAPI=1 -DXML_BYTE_ORDER=12  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -ldl -lmysqlclient -lgd -lm  1>&5
configure:20584: checking for strtod
configure:20612: gcc -o conftest -g -O2  -DEAPI=1 -DXML_BYTE_ORDER=12  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -ldl -lmysqlclient -lgd -lm  1>&5
configure:20584: checking for strtol
configure:20612: gcc -o conftest -g -O2  -DEAPI=1 -DXML_BYTE_ORDER=12  -Wl,-rpath,/usr/home/popelek/web/lib/mysql -L/usr/home/popelek/web/lib/mysql conftest.c -ldl -ldl -lmysqlclient -lgd -lm  1>&5
configure:20638: checking whether sprintf is broken
configure:20729: checking whether to enable experimental ZTS
configure:20733: checking whether to enable inline optimization for GCC
configure:20737: checking whether to enable a memory limit
configure:20741: checking whether to enable Zend debugging
configure:21335: checking for inline
configure:21349: gcc -c -g -O2  -Wall  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
configure: In function `main':
configure:21345: warning: control reaches end of non-void function
configure: At top level:
configure:21345: warning: return-type defaults to `int'
configure:21995: checking build system type
configure:22024: checking for ld used by GCC
configure:22087: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.9.1 (with BFD 2.9.1)
configure:22103: checking for BSD-compatible nm
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  -Wall  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -g -O2  -Wall  -DEAPI=1 -DXML_BYTE_ORDER=12  conftest.c  1>&5
conftest.c:1: warning: return-type defaults to `int'
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2  -Wall -fPIC -DPIC  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2  -Wall -o out/conftest2.o  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2  -Wall -c -o conftest.lo  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2  -Wall -fno-rtti -fno-exceptions -c conftest.c  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2  -Wall  -DEAPI=1 -DXML_BYTE_ORDER=12  -static conftest.c  1>&5
conftest.c:1: warning: return-type defaults to `int'
GNU ld version 2.9.1 (with BFD 2.9.1)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2  -Wall  -DEAPI=1 -DXML_BYTE_ORDER=12 conftest.c 1>&5
conftest.c:9: warning: return-type defaults to `int'
ltconfig:1639: eval "/usr/bin/nm -p conftest.o | sed -n -e 's/^.*[      ]\([BCDEGRST]\)[        ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: gcc -o conftest -g -O2  -Wall -fno-builtin -fno-rtti -fno-exceptions  -DEAPI=1 -DXML_BYTE_ORDER=12  conftest.c conftstm.o 1>&5
conftest.c:6: warning: `main' is usually a function
configure:22351: checking for working mkdir -p

--- Makefile ---
DEPTH     = .
topsrcdir = /usr/home/popelek/web.new/src/php-4.0RC1
srcdir    = /usr/home/popelek/web.new/src/php-4.0RC1/.
VPATH     = /usr/home/popelek/web.new/src/php-4.0RC1/.

ZEND_DIR = $(srcdir)/Zend
SUBDIRS = Zend ext sapi $(TSRM_DIR) $(REGEX_DIR) . $(PEAR_DIR)

LTLIBRARY_NAME = libphp4.la

LTLIBRARY_SOURCES = \
       main.c internal_functions.c snprintf.c php_sprintf.c \
       configuration-parser.c configuration-scanner.c \
       safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \
       php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \
       strlcat.c mergesort.c reentrancy.c php_variables.c php_ticks.c

LTLIBRARY_DEPENDENCIES = \
                Zend/libZend.la \
                sapi/$(PHP_SAPI)/libsapi.la \
                $(REGEX_LIB) \
                $(EXT_LTLIBS) \
                $(TSRM_LIB)

LTLIBRARY_LDFLAGS = -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS)
LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS)

PROGRAM_NAME         = $(PHP_PROGRAM)
PROGRAM_SOURCES      = stub.c
PROGRAM_LDADD        = libphp4.la
PROGRAM_LDFLAGS      = -export-dynamic  
PROGRAM_DEPENDENCIES = $(PROGRAM_LDADD)

targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME)

install_targets = install-local install-modules

include $(topsrcdir)/build/rules.mk
include $(topsrcdir)/build/library.mk
include $(topsrcdir)/build/program.mk

install-local:
        @$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1
        -@$(mkinstalldirs) $(bindir)
        $(INSTALL_IT)

configuration-parser.h configuration-parser.c: configuration-parser.y
        $(YACC) -p cfg -v -d $< -o configuration-parser.c

configuration-scanner.c: configuration-scanner.l
        $(LEX) -Pcfg -o$@ -i $<

internal_functions.c: internal_functions.c.in config.status
        CONFIG_FILES= CONFIG_HEADERS= ./config.status

.NOEXPORT:

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-17 14:47 UTC] popelek at geocities dot com
PHP needs GNU make. After installing GNU make compilation
succeeded.

Jan Popelek <popelek@geocities.com>
 [2000-09-26 21:44 UTC] sas@php.net
A workaround for BSD/OS's native make has been committed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 03:02:51 2024 UTC