I have an Ice 2.0.0 installation and a PHP 5.0.3 installation running on Linux (Fedora).
I downloaded the IcePHP-2.0.0 package, unpacked it, copied the src/ice directory to my php/ext directory and did:
rm -rf configure autom4te.cache
./buildconf --force
This worked although with warnings:
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13 and automake-1.5.
buildconf: libtool version 1.5.6 (ok)
rebuilding configure
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
configure.in:147: the top level
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
configure.in:147: the top level
I then ran:
./configure --with-ice=shared,$ICE_HOME
Which gave a lot of output (as expected) ending with:
checking for Ice files in default path... not found
configure: error: Please reinstall the Ice distribution from http://www.zeroc.com
I imagine this could be related to another problem:
The installation of Ice itself went fine, however, gcc was unable to link to Ice's standard libraries which was solved by copying them to /usr/local/lib. Permissions have been checked so that should not be the issue.
I am at a loss as how to solve this problem and would welcome any suggestions. Reinstalling Ice is an option but one I'd very much like to avoid since everything else is working fine. Also, the installation itself gave no errors whatsoever so we're not really sure that it would make any difference.

Reply With Quote