Hello,
I am trying to compile PHP 5.3.5 on AIX 5.2 with Apache 2.2.17 and Mysql 3.23.58
Apache und Mysql are working fine but if i try to compile PHP i get this error:
with make:
sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -o libphp5.la
grep: can't open /opt/freeware/lib/libintl.la
sed: Cannot find or open file /opt/freeware/lib/libintl.la.
libtool: link: `/opt/freeware/lib/libintl.la' is not a valid libtool archive
make: 1254-004 The error code from the last command is 1.
with gmake:
sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -o libphp5.la
grep: can't open /opt/freeware/lib/libintl.la
sed: Cannot find or open file /opt/freeware/lib/libintl.la.
libtool: link: `/opt/freeware/lib/libintl.la' is not a valid libtool archive
gmake: *** [libphp5.la] Error 1
./configure --prefix=/usr/local
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/apache2/conf
--with-gd
--with-zlib-dir=/opt/freeware/lib
--enable-shared --disable-static
--with-png
--with-zlib
--with-bz2
--with-xml
--with-jpeg-dir=/opt/freeware/lib
--with-png-dir=/opt/freeware/lib
--with-xpm-dir=/opt/freeware/lib
--with-freetype-dir=/opt/freeware/lib
--with-mysql=/usr/local/mysql
thanks for answers