Results 1 to 6 of 6

Thread: Problem installing Ice 2.0 on Fedora Core 3

  1. #1
    umber is offline Registered User
    Join Date
    Nov 2004
    Posts
    9

    Problem installing Ice 2.0 on Fedora Core 3

    I have problem installing Ice 2.0 on Fedora core 3 (updated with rawhide). I tried both gcc and icpc, but got the same error message as blow:

    ava Gen.o Main.o -lSlice -lIceUtil -lpthread
    make[2]: Leaving directory `/home/gyang/tmp/Ice-2.0.0/src/slice2java'
    making all in slice2py
    make[2]: Entering directory `/home/gyang/tmp/Ice-2.0.0/src/slice2py'
    icpc -c -I. -I../../include -O2 -tpp7 -DNDEBUG -fPIC -D_REENTRANT Main.cpp
    rm -f ../../bin/slice2py
    icpc -O2 -tpp7 -DNDEBUG -fPIC -D_REENTRANT -L../../lib -o ../../bin/slice2py Main.o -lSlice -lIceUtil -lpthread
    make[2]: Leaving directory `/home/gyang/tmp/Ice-2.0.0/src/slice2py'
    making all in Ice
    make[2]: Entering directory `/home/gyang/tmp/Ice-2.0.0/src/Ice'
    rm -f ../../include/Ice/LocalException.h LocalException.cpp
    ../../bin/slice2cpp --ice --include-dir Ice --dll-export ICE_API -I../../slice ../../slice/Ice/LocalException.ice
    terminate called after throwing an instance of 'std::length_error'
    what(): basic_string::reserve
    make[2]: *** [LocalException.cpp] Aborted
    make[2]: Leaving directory `/home/gyang/tmp/Ice-2.0.0/src/Ice'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/gyang/tmp/Ice-2.0.0/src'
    make: *** [all] Error 1

    The icpc version is 8.1 Build 20041019Z.
    The gcc version is 3.4.3.
    The glibc version is 2.3.3.

    I also tried the LD_ASSUME_KERNEL enviroment variable but with same result. Please help me to solve this problem. Thanks.

    Guo
    Last edited by umber; 11-23-2004 at 08:38 PM.
    Guo Yang
    New Jersey Institute of Technology
    http://solar.njit.edu/

  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,441
    Hi,

    I tested Ice 2.0 with gcc 3.4.3 and Intel 8.1 on RedHat 9.0 without problems, so perhaps it's a glibc issue. I don't think we have FC3 installed yet, but we probably will install it soon.

    Meanwhile, all I can suggest is to build with debugging and see if the stack trace in the core file gives you any clues.

    Take care,
    - Mark

  3. #3
    umber is offline Registered User
    Join Date
    Nov 2004
    Posts
    9
    Marc, thank you very much. I did what you directed and got the stack trace as below:

    #0 0x00558c67 in Slice::Preprocessor::checkInputFile (this=0xfeffe600)
    at Preprocessor.cpp:323
    323 return true;
    (gdb) bt
    #0 0x00558c67 in Slice::Preprocessor::checkInputFile (this=0xfeffe600)
    at Preprocessor.cpp:323
    #1 0x00557775 in Slice::Preprocessor:reprocess (this=0xfeffe600,
    keepComments=false) at Preprocessor.cpp:57
    #2 0x080c7ab1 in main (argc=2, argv=0xfeffee64) at Main.cpp:276

    Guo
    Guo Yang
    New Jersey Institute of Technology
    http://solar.njit.edu/

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    I tried to build and run the Ice test suite with a clean FC3 installation ... and no problem to report (except for -ldb_cxx that needs to be renamed -ldb_cxx-4.2 in config/Make.rules).

    The gcc version in FC3 is:
    gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

    glibc's version is glibc-2.3.3-74.

    How did you get gcc 3.4.3? Did you build it yourself?

    Cheers,
    Bernard

  5. #5
    umber is offline Registered User
    Join Date
    Nov 2004
    Posts
    9
    Originally posted by bernard
    How did you get gcc 3.4.3? Did you build it yourself?

    Cheers,
    Bernard
    I 'update' my system daily with their rawhide. This finally bite me I will see if the problem will be gone very soon. Otherwise I will reinstall it.
    Guo Yang
    New Jersey Institute of Technology
    http://solar.njit.edu/

  6. #6
    umber is offline Registered User
    Join Date
    Nov 2004
    Posts
    9

    No problem now :)

    Today I tried to compile ICE 2.0 again. To my surprise it finished without any problem But the Intel C/C++ compiler still has same old problem. My settings now are:

    gcc version 3.4.3 20041125 (Red Hat 3.4.3-7)
    glibc-2.3.3-84

    Thanks for all the help here.
    Guo Yang
    New Jersey Institute of Technology
    http://solar.njit.edu/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 04-14-2006, 03:12 PM
  2. Success Compiling Ice on Fedora core 4.
    By myer in forum Help Center
    Replies: 1
    Last Post: 07-28-2005, 03:26 AM
  3. Replies: 1
    Last Post: 09-06-2004, 04:38 AM
  4. Problem building Ice 1.4.0 on Fedora Linux Core 2
    By dthomson in forum Help Center
    Replies: 4
    Last Post: 05-28-2004, 11:27 AM
  5. Ice 1.2.0 RPMs (Fedora Core 1)
    By shaver in forum Patches
    Replies: 3
    Last Post: 12-01-2003, 12:27 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
  •