Hola,

I am having a weird problem installing php 4.1.0 on a FreeBSD 4.4-STABLE machine.

if i run the following configure:

./configure --with-imap=/usr/local/src/imap-2001a.RELEASE-CANDIDATE.4 --with-apache=/usr/local/src/apache_1.3.22/ --enable-ftp --with-zlib --with-gd=/usr/local --with-curl=/usr/local --with-openssl --with-mcrypt=/usr/local

i get the following error when i 'make':

In file included from /usr/local/include/osdep.h:21,
from /usr/local/include/c-client.h:33,
from /usr/local/src/php-4.1.0/ext/imap/php_imap.h:42,
from internal_functions.c:36:
/usr/local/include/os_mac.h:30: types.h: No such file or directory
In file included from /usr/local/include/osdep.h:21,
from /usr/local/include/c-client.h:33,
from /usr/local/src/php-4.1.0/ext/imap/php_imap.h:42,
from internal_functions.c:36:
/usr/local/include/os_mac.h:33: Desk.h: No such file or directory
/usr/local/include/os_mac.h:34: Devices.h: No such file or directory
/usr/local/include/os_mac.h:35: Errors.h: No such file or directory
/usr/local/include/os_mac.h:36: Events.h: No such file or directory
/usr/local/include/os_mac.h:37: Fonts.h: No such file or directory
/usr/local/include/os_mac.h:38: Memory.h: No such file or directory
/usr/local/include/os_mac.h:39: Menus.h: No such file or directory
/usr/local/include/os_mac.h:40: ToolUtils.h: No such file or directory
/usr/local/include/os_mac.h:41: Windows.h: No such file or directory
/usr/local/include/os_mac.h:50: env_mac.h: No such file or directory
*** Error code 1

Stop in /usr/local/src/php-4.1.0/main.
*** Error code 1

Stop in /usr/local/src/php-4.1.0/main.
*** Error code 1

Stop in /usr/local/src/php-4.1.0.

now the weird part is, if I remove any ONE of the configure options, it will make properly. If i remove --with-gd for example, it will make fine. but if i want to use --with-gd and remove instead --with-curl, it'll work fine.

It just won't work with ALL of these options. Is this a 4.1.0 problem ? Anyone have any ideas on solving it ?

Thanks, Keith

    Write a Reply...