Home Help Center

Cannot make IcePHP.

kobhqltkobhqlt Member raphael estrachOrganization: PersonalProject: setting up mumble viewer on php
Hello,
I have some problems to compile the lib IcePHP.

I have set up the file "Make.rules" in php/config/ but when i try to make, i got that :
making all in src
make[1]: entrant dans le répertoire « /home/Ice/Ice-3.3.0/php/src »
making all in IcePHP
make[2]: entrant dans le répertoire « /home/Ice/Ice-3.3.0/php/src/IcePHP »
make[2]: *** Pas de règle pour fabriquer la cible « ../../../cpp/include/Ice/CommunicatorF.h », nécessaire pour « Communicator.o ». Arrêt.
make[2]: quittant le répertoire « /home/Ice/Ice-3.3.0/php/src/IcePHP »
make[1]: *** [all] Erreur 1
make[1]: quittant le répertoire « /home/Ice/Ice-3.3.0/php/src »
make: *** [all] Erreur 1

I've tried to look for a tutorial to fix that problem on Google but there's no good topics.

Can you explain me what's the problem to try to fix it ?

Information : I'm on Gentoo r2. (ask me if you need more !)

Thanks,

(Please excuse my crappy english.)

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Welcome to the forum.

    It looks like you have not run make in /home/Ice/Ice-3.3.0/cpp/src.

    Note that we only provide support here on the forum for the most recent Ice release, so I recommend that you upgrade to Ice 3.3.1 (or 3.4b).

    Regards,
    Mark
  • kobhqltkobhqlt Member raphael estrachOrganization: PersonalProject: setting up mumble viewer on php
    I have tried to make the cpp (i've done the editing of the file for third-part linking) but i've errors in compilation too :
    ks35443 src # make
    making all in IceUtil
    make[1]: entrant dans le répertoire « /home/Ice/Ice-3.3.1/cpp/src/IceUtil »
    c++ -c -I../../include -DICE_UTIL_API_EXPORTS -I.. -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Cond.cpp
    Cond.cpp: In constructor `IceUtil::Cond::Cond()':
    Cond.cpp:311: erreur: « pthread_condattr_setclock » n'a pas été déclaré dans cet horizon
    Cond.cpp:311: attention : variable « pthread_condattr_setclock » inutilisée
    make[1]: *** [Cond.o] Erreur 1
    make[1]: quittant le répertoire « /home/Ice/Ice-3.3.1/cpp/src/IceUtil »
    make: *** [all] Erreur 1

    What can I do ?

    PS : I've got the latest version.

    Thank you very much.

    Cheers,
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Like for RHEL4, installing the nptl-devel RPM package from your Linux distribution should fix this problem.

    Cheers,
    Benoit.
Sign In or Register to comment.