Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-12-2003
Jeff Holle Jeff Holle is offline
Registered User
 
 
Join Date: Aug 2003
Posts: 13
Build problem on Linux

I am attempting to build Ice 1.1.0 on my Mandrake 9.1 Linux system.

I found that I didn't have Xerces so I downloaded (from rpmfind) and built version 2.1.0.

Now running Ice-1.1.0 gets to a link action and encounters problems.

It first complained that it couldn't find a libxerces-c.so.

I have a libxerces-c1_1.so file on my system, so I created a symbolic link to it
to create the needed libxerces-c.so "file".

Now I'm running into unresolved external errors. As an example:

Validate.o(.text+0x449):/home/jholle/Ice-1.1.0/src/slice2xsd/Validate.cpp:156: undefined reference to `XercesDOMParser::XercesDOMParser[in-charge](XMLValidator*)'


Does anybody know how to get around this problem?
Reply With Quote
  #2 (permalink)  
Old 08-12-2003
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: 971
Hi Jeff,

Did you set XERCESC_HOME to the appropriate directory so that the linker can find $(XERCESC_HOME)/lib/libxerces-c.so?

- Mark
Reply With Quote
  #3 (permalink)  
Old 08-12-2003
Jeff Holle Jeff Holle is offline
Registered User
 
 
Join Date: Aug 2003
Posts: 13
No I didn't have the XERCESC_HOME variable set. As per the Xercesc build instructions, I had XERCESCROOT set instead.

On setting the variable that you sugguested though, this problem was fixed.

Thanks.

Now I have another problem.

The problem begins with this compiler error message:

In file included from DBI.cpp:17:
../Freeze/DBI.h:21:16: db.h: No such file or directory

What resource is my system lacking?
Reply With Quote
  #4 (permalink)  
Old 08-12-2003
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: 971
This error means that either BerkeleyDB is not installed on your system, or that DB_HOME is not set to point at its installation directory.

- Mark
Reply With Quote
  #5 (permalink)  
Old 08-12-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
db.h is a header file from Berkeley DB. You can either download the source from http://www.sleepycat.com and build it yourself, or check if your Linux distribution has an RPM (or whatever format Mandrake uses) for Berkeley DB.

After installation, you must set DB_HOME, so that Ice finds Berkeley DB on your system.
Reply With Quote
  #6 (permalink)  
Old 08-13-2003
Jeff Holle Jeff Holle is offline
Registered User
 
 
Join Date: Aug 2003
Posts: 13
Success!

I didn't have BerkleyDB, but I downloaded and build version 4.1
Then set the variable DB_HOME to "/usr/local/BerkeleyDB.4.1".

Now the result file, created via "make 2> result", is empty.
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
Build error in Redhat Linux 9.0 wuqiu Help Center 10 05-16-2006 11:39 PM
Build error on Red Hat Linux (kernel:2.4.18) rc_hz Help Center 3 11-26-2005 08:58 PM
Does ICE can build&run on Linux with IA64? Yunqiao Yin Help Center 2 10-17-2005 01:23 AM
Freeze build in Redhat Linux yomi Help Center 4 04-10-2004 01:20 PM
Ice 1.2.0 Linux build patch bernard Patches 0 01-30-2004 06:23 PM


All times are GMT -4. The time now is 10:54 PM.


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.