Page 2 of 2 FirstFirst 1 2
Results 16 to 21 of 21

Thread: Unable to compile Ice

  1. #16
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Note that running these tests is not necessary to build Ice for C++ and later Ice for PHP.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  2. #17
    YuGiOhJCJ's Avatar
    YuGiOhJCJ is offline Registered User
    Name: Chris REDFIELD
    Organization: YuGiOhJCJ
    Project: mumble
    Join Date
    Jan 2009
    Location
    France
    Posts
    11
    Yes I have a process already listening on the 9999 ports!
    Thank you now I have killed the process and the test works.
    Can I run again the process killed now?

  3. #18
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Yes, you can if you don't want to run this test again. We'll fix this test in 3.3.1 to listen on a system assigned port instead of 9999 (which doesn't seem to be such a good random port ).

    Cheers,
    Benoit.

  4. #19
    YuGiOhJCJ's Avatar
    YuGiOhJCJ is offline Registered User
    Name: Chris REDFIELD
    Organization: YuGiOhJCJ
    Project: mumble
    Join Date
    Jan 2009
    Location
    France
    Posts
    11

    Question Destdir

    OK fine
    Other little problem : the Makefile doesn't take a DESTDIR variable.
    Lot of GNU softwares allow this :
    Code:
    ./configure prefix=/usr
    make
    make install DESTDIR=/tmp/packagename-build
    This is very usefull for building package with the simple user permissions.
    I am trying to edit manually Makefile but it is not easy for me.
    Can you correct this also in the new Ice version?

  5. #20
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    You can just use the following to install Ice in another location:

    Code:
        make prefix=/tmp/packagename-build install
    We could add support for DESTDIR but it would be equivalent to setting prefix as above since none of the installed files embed the $(prefix) directory.

    The only path embedded into installed files is the one specified with the embedded_runpath_prefix variable specified in */config/Make.rules files and which is used to add a runpath to Ice executables.

    Cheers,
    Benoit.

  6. #21
    YuGiOhJCJ's Avatar
    YuGiOhJCJ is offline Registered User
    Name: Chris REDFIELD
    Organization: YuGiOhJCJ
    Project: mumble
    Join Date
    Jan 2009
    Location
    France
    Posts
    11

    Thumbs up

    Thank you all working now.
    I compiled Ice-cpp and Ice-php.
    Edit my php.ini file.
    Restart the web server Apache httpd.
    And now a php script using Ice works fine

Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Unable to start ice module
    By cooldreng13 in forum Help Center
    Replies: 0
    Last Post: 02-25-2010, 01:35 PM
  2. Slice compilers unable to parse demo .ice files?
    By asynchronos in forum Help Center
    Replies: 14
    Last Post: 07-17-2008, 07:41 AM
  3. Replies: 1
    Last Post: 05-07-2008, 05:56 PM
  4. Replies: 1
    Last Post: 01-04-2007, 03:20 PM
  5. Unable to compile Ice-2.0.0 on RH ES Linux
    By vsonnathi in forum Bug Reports
    Replies: 2
    Last Post: 11-23-2004, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •