make fails due to ext/iconv/php_have_ibm_iconv.h missing (5.3 including alpha2)

From: Date: Sun, 07 Sep 2008 20:11:54 +0000
Subject: make fails due to ext/iconv/php_have_ibm_iconv.h missing (5.3 including alpha2)
Groups: php.internals 
Request: Send a blank email to internals+get-40319@lists.php.net to get a copy of this message
In an attempt to do some testing of 5.3 I have being trying to compile it on my Mac (MacOSX10.5) with the same configure line[1] as I use for my 'current' version (5.2.6), this is turning out to be impossible because (so far) of a missing file ext/iconv/php_have_ibm_iconv.h the configure line I want to use is as follows (note that it specifies '--without-iconv'): './configure' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--prefix=/usr/local/php5.3alpha2' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-xsl=/usr' '--with-tidy=/opt/local' '--enable-mbstring' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--with-zlib-dir' '--enable-sockets' '--enable-exif' '--with-mcrypt=/opt/local' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/private/tmp/mysql.sock' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-pdo-mysql=/usr/local/mysql/bin/mysql_config' '--with-freetype-dir=/opt/local' '--with-xpm-dir=/Developer/SDKs/MacOSX10.5.sdk/usr/X11' '--with-ldap' '--with-xmlrpc' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--with-bz2' '--enable-zip' '--enable-pcntl' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-bcmath' '--with-gettext=/opt/local' '--with-curl' '--with-mcrypt=/opt/local' '--with-interbase=/opt' '--without-iconv' '--enable-cli' '--with-sqlite' the error message from make is: In file included from /Users/jochem/src/php-5.3.0alpha2/ext/standard/info.c:47: /Users/jochem/src/php-5.3.0alpha2/ext/iconv/php_iconv.h:42:42: error: ext/iconv/php_have_ibm_iconv.h: No such file or directory I have (just now) been able to build a very minimal install of 5.3 using the following configure line, which does give me enough to be able to test some stuff related to namespaces/LSB/etc: './configure' '--with-config-file-path=/usr/local/php5.3alpha2' '--sysconfdir=/private/etc' '--prefix=/usr/local/php5.3alpha2' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-all' '--enable-cli' it does seem that the file ext/iconv/php_have_ibm_iconv.h really is missing and that it should be there (although I have no idea why iconv is referenced given the '--without-iconv' ... there is probably good reason, but it's over my head, so to speak. rgds, Jochem [1]minus the apache module for now ... as I'm afraid 'make install' will break my current install, which I really can't afford to break ... I'm no wizard but I do need to be able to do my job :-/ ... if anyone knows of some details info on how to keep multiple installs of php around (including apache modules) and being able to switch between them with minimal fuss then I be very happy to learn!

« previous php.internals (#40319) next »