|
|
|
|||||
|
IcePHP install error: Ice files not found in deault path.
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. |
|
|||||
|
Good question!
Even though I was convinced otherwise I double checked and found that ICE_HOME was not set. Setting it properly made the installation run without a hitch. A bit embarassing really... :-) Thank you for your time, René K.P. |
|
|||||
|
I've the same problem on FC3
Hello,
I've the same problem with the configuration. If I configure like: .configure --with-ice=$ICE_HOME I get the error: checking for Ice files in default path... not found configure: error: Please reinstall the Ice distribution from http://www.zeroc.com Previously I've installed ice-2.1.2-1.i386.rpm, ice-java-2.1.2-1.noarch.rpm (by double klicking on the files not by the shell rpm -ivh) and apache-ant-1.6.5-bin.tar.gz. Then I set the environment variables: Code:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
export ANT_HOME=/usr/local/apache-ant-1.6.5
export PATH=${PATH}:${ANT_HOME}/bin
export JAVA_HOME=/usr/java/jdk1.5.0_04
export PATH=${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/lib
# export ICE_HOME=/usr/share/slice
export ICE_HOME=/usr
export CLASSPATH=/usr/java/jdk1.5.0_04/lib/tools.jar:/usr/java/jdk1.5.0_04/lib/dt.jar:.:/usr/java/jdk1.5.0_04:classes:/usr/lib/Ice-2.1.2/Ice.jar
Then I unpacked php-5.0.4.tar.gz and IcePHP-2.1.2.tar.gz. Then I followed the ICE-PHP installation file: 1) Copy the extension source directory. $ cd <icephpdir> $ cp -r src/ice <phpdir>/ext 2) $ cd <phpdir> $ cp <icephpdir>/configure.gz . (->I renamed the existing configure script) $ gunzip configure The I tried to configure it at first with no extensions by: $ ./configure --with-ice=$ICE_HOME the I've got the error. Which files are searched by the script and why is my ICE_HOME wrong for the PHP if it runs with Java? Please let me know about the mistake. Thanks a lot !!!!!!!!!! Greetings surfer |
|
||||||
|
To be perfectly clear: Yes its required to *compile* the Ice for PHP development kit (since the PHP extension is written in C++). You don't need it *after* you've compiled it.
|
|
|||||
|
Standard FC3 Apache2 (--with-apxs2=/??) and PHP5 ?
Hello,
I tried and now it configures it well also with further extensions like XML, make and make install ("make install" isn't in the manual but is it required?) is also ok. But I've a problem to find Apache2 apxs2 script. I've installed FC3 with Apache2 and PHP4 which comes with the 4 installation CD's. I didn't installed Apache2 and PHP4 by source. I know it is an ICE forum but I searched, "googled" the whole night for it and everybody has the same problem. Is it required to install Apache2 by source or is there a way to configure PHP5 with the line: "--with-apxs2=/???????????" On the FC3 installation there isn't a apxs2 script or any other folder or hint. Please give me some information to solve the problem. Thanks a lot Greetings surfer Last edited by surfer : 09-06-2005 at 04:12 AM. |
|
|||||
|
Update response
Sorry its done !!!
__________________
Philipp Henkel Brunel University London MSc student. MSc dissertation: Centralized controlling of distributed application servers. Used tools: FC3, W2k, XP, Apache2, PHP5 , ICE-PHP and ICE-Java. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a IcePHP compile error | nightsuns | Help Center | 3 | 11-29-2005 06:41 AM |
| IcePHP, test okey,but apply demo error?help me | silva | Help Center | 1 | 07-08-2005 04:56 AM |
| Error: Slice source directory not found | mkk | Help Center | 2 | 03-21-2005 09:18 AM |
| IcePHP: Profile not found. | René Pedersen | Help Center | 5 | 03-01-2005 09:53 AM |
| slice2freeze generating include path is error | dragzhb | Bug Reports | 2 | 09-12-2004 10:55 PM |