Results 1 to 3 of 3

Thread: Compiling Ice v3.4.0 on OSX/Snow Leopard

  1. #1
    jsgoecke is offline Registered User
    Name: Jason Goecke
    Organization: Voxeo Labs
    Project: http://tropo.com
    Join Date
    Mar 2010
    Posts
    5

    Compiling Ice v3.4.0 on OSX/Snow Leopard

    I am trying to compile and install Ice on OSX and am getting this error:
    ===
    c++ -c -I.. -I../../include -DSLICE_API_EXPORTS -g -Wall -D_REENTRANT MD5.cpp
    c++ -c -I.. -I../../include -DSLICE_API_EXPORTS -g -Wall -D_REENTRANT MD5I.cpp
    rm -f ../../lib/libSlice.3.4.0.dylib
    c++ -dynamiclib -g -Wall -D_REENTRANT -L../../lib -o ../../lib/libSlice.3.4.0.dylib -install_name /opt/Ice-3.4/lib/libSlice.34.dylib Scanner.o ../Slice/Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o PHPUtil.o Util.o FileTracker.o MD5.o MD5I.o -lIceUtil -lmcpp
    ld: library not found for -lmcpp
    collect2: ld returned 1 exit status
    make[3]: *** [../../lib/libSlice.3.4.0.dylib] Error 1
    make[2]: *** [all] Error 1
    make[1]: *** [all] Error 1
    make: *** [all] Error 1
    ===

    Full log here:

    https://gist.github.com/ae730fd23c0f1c3b5c10

    Is there something I may do to get this compiled and installed on OSX? I am specifically hoping for the IceRuby support.

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi Jason,

    It appears that you have not installed MCPP, which is the C preprocessor library used by our Slice compilers. You can download an archive of Ice's third-party dependencies here. The README file in this archive provides build instructions, and don't forget to apply the MCPP patch.

    Note that we don't support Ice for Ruby on Mac OS X.

    Regards,
    Mark

  3. #3
    jsgoecke is offline Registered User
    Name: Jason Goecke
    Organization: Voxeo Labs
    Project: http://tropo.com
    Join Date
    Mar 2010
    Posts
    5
    I had done a 'sudo port install mcpp', but it seems not to like that one. Will try a manual install.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ice 3.4.1 for PHP on Mac Os Snow Leopard
    By oksanat in forum Help Center
    Replies: 7
    Last Post: 01-13-2011, 11:12 PM
  2. slice2html coredumps on Mac Snow Leopard
    By uwe.arzt in forum Bug Reports
    Replies: 4
    Last Post: 09-11-2009, 02:44 AM
  3. Exceptions in Ice v3.2
    By borax00 in forum Comments
    Replies: 2
    Last Post: 03-18-2007, 10:39 PM
  4. Tru64 patches for Ice V3.0.0 #1
    By kvogel in forum Patches
    Replies: 7
    Last Post: 02-07-2006, 06:30 AM
  5. Replies: 2
    Last Post: 12-16-2005, 10:10 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
  •