Hi,
I've run into an error as I try to install php-4.2.3 on Mac OS 10.2. Everything seems to be fine when I run buildconf and configure. But when I run make, I get the following error:
------ start clip ----------
su-2.05a# make
Making all in Zend
make[1]: Nothing to be done for all'.
Making all in main
/bin/sh /usr/local/src/php-4.2.3/libtool --silent --mode=link gcc -I. -I/usr/local/src/php-4.2.3/main -I/usr/local/src/php-4.2.3/main -I/usr/local/src/php-4.2.3 -I/usr/include/httpd -I/usr/local/src/php-4.2.3/Zend -I/usr/local/src/php-4.2.3/ext/mysql/libmysql -I/usr/local/src/php-4.2.3/ext/xml/expat -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I/usr/local/src/php-4.2.3/TSRM -g -O2 -prefer-pic -o libmain.la main.lo snprintf.lo php_sprintf.lo safe_mode.lo fopen_wrappers.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo reentrancy.lo php_variables.lo php_ticks.lo streams.lo network.lo php_open_temporary_file.lo php_logos.lo output.lo internal_functions.lo
ranlib: warning: cannot infer operation mode from.libs/libmain.al'
ranlib: you must specify a MODE
Try `ranlib --help' for more information.
make[2]: [libmain.la] Error 1
make[1]: [all-recursive] Error 1
make: *** [all-recursive] Error 1
-------- end clip --------
I've tried to set the mode for ranlib, but must be doing it wrong, because it even results in further errors.
Help.
Thanks,
Mike