PHP4 compile problems

docsabre

2002-04-07 07:23:00

I've been trying to install PHP4.1.1 with a variety of options [img]images/icons/rolleyes.gif"%20border="0[/img] but I get this message whn making:
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -traditional-cpp -DDARWIN -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../TSRM -g -O2 -prefer-pic -c zend_language_parser.c
In file included from zend_compile.h:24,
from zend_language_parser.c:148:
zend.h:62: dlfcn.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make: *** [all-recursive] Error 1

Any ideas?

orange1

2002-04-10 17:21:00

funny, someone trying to compile transconnect was missing the same heade.
you can try putting this in /usr/include:
http://tcl.apache.org/sources/tcl/compat/dlfcn.h.html
stripping out html, of course.
i doubt that will work, though.
have you tried php4.1.2? it's included with apples latest security update.

orange1

2002-04-11 14:27:00