|
|
|
|||||
|
Unable to run icegridnode
Hi,
I downloaded the ice source code for Linux and used make to build. When I tried to execute icegridnode built by make, I got an exception: icegridnode --Ice.Config=./node2.cfg 05/19/08 17:02:41.750 error: service caught unhandled Ice exception: ThreadPool.cpp:64: Ice::SocketException: socket exception: Function not implemented libgcc_s.so.1 must be installed for pthread_cancel to work Appreciate any input on resolving this issue. Thanks, Sandeep |
|
|||||
|
Environment info
Linux distribution - Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
processor i686 C++ compiler version - GCC 3.3.4(32 bit) Ice version - 3.2.1 |
|
||||||
|
Hi,
Note that we don't officially support this Red Hat distribution (see this page for a list of supported platforms). It looks like epoll is not supported on your system. You should recompile Ice from sources to use poll() instead. Edit the config/Make.rules.Linux file from your Ice source distribution and add -DICE_NO_EPOLL to the CXXFLAGS macro definition at line 86: Code:
CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -DICE_NO_EPOLL Cheers, Benoit. |
|
|||||
|
Icegridnode issue
Hi Benoit,
The issue has been resolved with the CXXFLAG. Thanks very much. All tests run ok. Also, noted the platform support disclaimer. I found two issues in the source files while doing make on Freeze: 1. SharedDbEnv.cpp uses a constant DB_LOG_AUTOREMOVE which is not declared 2. Util.cpp uses a constant DB_BUFFER_SMALL which is not declared Can the constants be removed from the source distribution? I have commented out their references in order to build successfully. Thanks, Sandeep |
|
||||||
|
Which BerkeleyDB version do you use?
I recommend to install and use the BerkeleyDB version supported by Ice 3.2.1: BerkeleyDB 4.5.20. You can download it from the Oracle web site or from the "Source Code for Third-Party Software" section of our download page. Once installed, you can either set DB_HOME in your envionment or edit config/Make.rules to specify the location of the BerkeleyDB 4.5.20 installation before building Ice. See INSTALL.LINUX for more information. Cheers, Benoit. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to override LocatorCacheTimeout | zhi | Help Center | 5 | 12-14-2006 10:14 PM |
| Unable to publish messge on IceStorm | jaggu | Help Center | 4 | 07-26-2005 04:05 PM |
| Unable to register object in icepack registry | annekat | Help Center | 2 | 11-26-2004 07:01 PM |
| Unable to run icepackadmin -e command | vsonnathi | Bug Reports | 1 | 11-04-2004 09:20 AM |
| unable to load certificate authorities | xdm | Help Center | 3 | 11-24-2003 04:52 PM |