Results 1 to 7 of 7

Thread: Problem compiling Ice 3.3b

  1. #1
    scottie is offline Registered User
    Name: Scott Smedley
    Organization: Anglo-Australian Observatory
    Project: Astronomical Software
    Join Date
    Mar 2008
    Posts
    5

    Problem compiling Ice 3.3b

    Hi,

    I am trying to compile Ice v3.3b to try out the persistent subscribers feature & have hit a problem during compilation:

    c++ -shared -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.3b/lib -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g -L../../lib -o ../../lib/libSlice.so.3.3b -Wl,-h,libSlice.so.33b Scanner.o Grammar.o Parser.o CPlusPlusUtil.o CsUtil.o JavaUtil.o Preprocessor.o Checksum.o PythonUtil.o DotNetNames.o RubyUtil.o Util.o MD5.o MD5I.o SignalHandler.o -lIceUtil -lmcpp -lpthread -lrt
    /usr/bin/ld: cannot find -lmcpp

    Ice v3.2.1 compiled just fine on this system (Fedora Core 4). Do I need extra libraries for the 3.3 release?

    Scott.

  2. #2
    scottie is offline Registered User
    Name: Scott Smedley
    Organization: Anglo-Australian Observatory
    Project: Astronomical Software
    Join Date
    Mar 2008
    Posts
    5
    Quote Originally Posted by scottie View Post
    /usr/bin/ld: cannot find -lmcpp
    The same problem occurs on Ubuntu 7.04 & Fedora 8.

  3. #3
    scottie is offline Registered User
    Name: Scott Smedley
    Organization: Anglo-Australian Observatory
    Project: Astronomical Software
    Join Date
    Mar 2008
    Posts
    5
    Ah! I need to build mcpp from the 3rd party sources.

  4. #4
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    121
    Is mcpp really necessary? What does it do? Will anything break if I patch out the "-lmcpp" from the compilation lines?

    I'm also having other compilation issues on Fedora 8 that I'll try to track down and describe in more detail shortly.

    MEF

  5. #5
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    121
    Quote Originally Posted by mefoster View Post
    Is mcpp really necessary? What does it do? Will anything break if I patch out the "-lmcpp" from the compilation lines?
    To answer my own question: yes, Ice does use some functions defined by mcpp. It would be nice if mcpp also provided *.h files; it feels vaguely dirty to get access to functions purely through linking.

    My other compilation issues seem to have come from using the stock version of mcpp 2.7 from sourceforge instead of the patched 2.6 version that's available on the download page. Guess I need to read that patch now ...

    MEF

  6. #6
    scottie is offline Registered User
    Name: Scott Smedley
    Organization: Anglo-Australian Observatory
    Project: Astronomical Software
    Join Date
    Mar 2008
    Posts
    5
    Quote Originally Posted by mefoster View Post
    I'm also having other compilation issues on Fedora 8 that I'll try to track down and describe in more detail shortly.
    Me too - java stuff. I haven't worked out what's wrong/missing yet. Java error messages are rather verbose but still don't help the uninitiated (like me) work out how to fix the problem.

    Quote Originally Posted by mefoster View Post
    Maintainer of Fedora Ice packages
    Ohhh! Tell me more.

  7. #7
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    121
    [Re: compiling on Fedora 8]

    Quote Originally Posted by scottie View Post
    Me too - java stuff. I haven't worked out what's wrong/missing yet. Java error messages are rather verbose but still don't help the uninitiated (like me) work out how to fix the problem.
    It's probably the case that that you don't have the required libraries installed and in your CLASSPATH; take a look at the Java INSTALL file to see what's needed. Java compilation can be a bit tricky ...

    [Re: Fedora packages]
    Quote Originally Posted by scottie View Post
    Ohhh! Tell me more.
    Yup, on Fedora greater than 7, you should be able to just "yum install ice" and have the packages installed for you. Depending on what you're developing, you need different sub-packages; try "yum list ice\*" to see what's there.

    At the moment, that'll get you 3.2.1; as you can probably tell, I'm currently working on updating those packages to 3.3, and hopefully that'll be available on Fedora shortly after the final version is released.

    MEF

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem compiling C++
    By bobc in forum Comments
    Replies: 4
    Last Post: 06-22-2009, 09:08 AM
  2. Ice 3.3b released
    By mes in forum Announcements
    Replies: 0
    Last Post: 03-31-2008, 11:46 PM
  3. Problem compiling Icicle
    By andreynech in forum Help Center
    Replies: 10
    Last Post: 05-05-2004, 08:24 AM
  4. Problem compiling ICE 1.2.0 on Mandrake 9.1
    By amrufon in forum Help Center
    Replies: 8
    Last Post: 11-07-2003, 01:45 AM

Posting Permissions

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