Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-15-2008
scottie 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.
Reply With Quote
  #2 (permalink)  
Old 04-15-2008
scottie 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.
Reply With Quote
  #3 (permalink)  
Old 04-15-2008
scottie 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.
Reply With Quote
  #4 (permalink)  
Old 04-16-2008
mefoster mefoster is offline
Registered User
 
Name: Mary Ellen Foster
Organization: Technical University of Munich
Project: JAST human-robot dialogue system
 
Join Date: Jun 2006
Posts: 77
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
__________________
Mary Ellen Foster
Technical University of Munich
JAST human-robot dialogue system
Maintainer of Fedora Ice packages
Reply With Quote
  #5 (permalink)  
Old 04-16-2008
mefoster mefoster is offline
Registered User
 
Name: Mary Ellen Foster
Organization: Technical University of Munich
Project: JAST human-robot dialogue system
 
Join Date: Jun 2006
Posts: 77
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
__________________
Mary Ellen Foster
Technical University of Munich
JAST human-robot dialogue system
Maintainer of Fedora Ice packages
Reply With Quote
  #6 (permalink)  
Old 04-16-2008
scottie 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.
Reply With Quote
  #7 (permalink)  
Old 04-16-2008
mefoster mefoster is offline
Registered User
 
Name: Mary Ellen Foster
Organization: Technical University of Munich
Project: JAST human-robot dialogue system
 
Join Date: Jun 2006
Posts: 77
[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
__________________
Mary Ellen Foster
Technical University of Munich
JAST human-robot dialogue system
Maintainer of Fedora Ice packages
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ice 3.3b released mes Announcements 0 03-31-2008 11:46 PM
problem in compiling icestormS with vc6 leya Help Center 5 03-15-2006 01:19 AM
Problem compiling Icicle andreynech Help Center 10 05-05-2004 08:24 AM
Problem compiling ICE 1.2.0 on Mandrake 9.1 amrufon Help Center 8 11-07-2003 01:45 AM


All times are GMT -4. The time now is 04:51 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.