Results 1 to 9 of 9

Thread: Instalation error

  1. #1
    davidcr1983 is offline Registered User
    Name: David Vallejo
    Organization: University of Castilla-La Mancha (Spain)
    Project: Intelligent Surveillance System
    Join Date
    Jul 2005
    Location
    Ciudad Real (Spain)
    Posts
    44

    Instalation error

    Hello!!

    I am trying to install Ice for C++ from the file Ice-2.1.2.tar.gz, and when I type 'makel' I find the next error:

    ConnectionI.cpp:28:19: error: bzlib.h: No existe el fichero o el directorio
    ConnectionI.cpp: In function 'std::string getBZ2Error(int)':
    ConnectionI.cpp:1846: error: 'BZ_RUN_OK' was not declared in this scope
    ConnectionI.cpp:1850: error: 'BZ_FLUSH_OK' was not declared in this scope
    ConnectionI.cpp:1854: error: 'BZ_FINISH_OK' was not declared in this scope
    ConnectionI.cpp:1858: error: 'BZ_STREAM_END' was not declared in this scope
    ConnectionI.cpp:1862: error: 'BZ_CONFIG_ERROR' was not declared in this scope
    ConnectionI.cpp:1866: error: 'BZ_SEQUENCE_ERROR' was not declared in this scope
    ConnectionI.cpp:1870: error: 'BZ_PARAM_ERROR' was not declared in this scope
    ConnectionI.cpp:1874: error: 'BZ_MEM_ERROR' was not declared in this scope
    ConnectionI.cpp:1878: error: 'BZ_DATA_ERROR' was not declared in this scope
    ConnectionI.cpp:1882: error: 'BZ_DATA_ERROR_MAGIC' was not declared in this scope
    ConnectionI.cpp:1886: error: 'BZ_IO_ERROR' was not declared in this scope
    ConnectionI.cpp:1890: error: 'BZ_UNEXPECTED_EOF' was not declared in this scope
    ConnectionI.cpp:1894: error: 'BZ_OUTBUFF_FULL' was not declared in this scope
    ConnectionI.cpp: In member function 'void Ice::ConnectionI::doCompress(IceInternal::BasicStr eam&, IceInternal::BasicStream&)':
    ConnectionI.cpp:1919: error: 'BZ2_bzBuffToBuffCompress' was not declared in this scope
    ConnectionI.cpp:1920: error: 'BZ_OK' was not declared in this scope
    ConnectionI.cpp: In member function 'void Ice::ConnectionI::doUncompress(IceInternal::BasicS tream&, IceInternal::BasicStream&)':
    ConnectionI.cpp:1977: error: 'BZ2_bzBuffToBuffDecompress' was not declared in this scope
    ConnectionI.cpp:1978: error: 'BZ_OK' was not declared in this scope
    make[2]: *** [ConnectionI.o] Error 1
    make[2]: Leaving directory `/home/david/Aplicaciones/Ice-2.1.2/src/Ice'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/david/Aplicaciones/Ice-2.1.2/src'
    make: *** [all] Error 1


    Can someone help me?

    Thank you very much!
    Last edited by davidcr1983; 10-27-2005 at 11:10 AM.

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hello,

    Please see this thread for our new support policy on the forums.

    Thanks,

    Benoit.

  3. #3
    xdm's Avatar
    xdm
    xdm is online now ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruña, Spain
    Posts
    588
    Hello
    ConnectionI.cpp:28:19: error: bzlib.h: No existe el fichero o el directorio
    Your compiler don't found bzlib.h that is a header from bzip2 package that is required to build Ice fron sources read the Requirements in INSTALL files

  4. #4
    davidcr1983 is offline Registered User
    Name: David Vallejo
    Organization: University of Castilla-La Mancha (Spain)
    Project: Intelligent Surveillance System
    Join Date
    Jul 2005
    Location
    Ciudad Real (Spain)
    Posts
    44
    [QUOTE=xdm]Hello

    Hello again!

    I have the bzip2 package installed in my system (Debian GNU/Linux), but the error mentioned before still persists.
    Full name: David Vallejo Fernández
    University of Castilla-La Mancha (Spain)
    ICE Project: basic-fipa-multiagentsystem

  5. #5
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Where is the bzlib.h header file located on your system? If it's installed in a non standard location, you'll need to set the BZIP2_HOME variable in the Ice-2.1.2/config/Make.rules file.

    Also, note that you must install the bzip2 developer package to get this header file.

    Benoit.
    Last edited by benoit; 10-28-2005 at 05:43 AM.

  6. #6
    davidcr1983 is offline Registered User
    Name: David Vallejo
    Organization: University of Castilla-La Mancha (Spain)
    Project: Intelligent Surveillance System
    Join Date
    Jul 2005
    Location
    Ciudad Real (Spain)
    Posts
    44
    Thank you for helping me. The problem was that I had not the libbz2-dev package installed. Now I have other problem:

    RSAPublicKey.cpp: In member function 'void IceSSL::RSAPublicKey::byteSeqToCert(const Ice::ByteSeq&)':
    RSAPublicKey.cpp:107: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
    RSAPublicKey.cpp:107: error: initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
    make[2]: *** [RSAPublicKey.o] Error 1
    make[2]: Leaving directory `/home/david/Aplicaciones/Ice-2.1.2/src/IceSSL'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/david/Aplicaciones/Ice-2.1.2/src'
    make: *** [all] Error 1


    Sorry for being so heavy, and thank you for your time.
    Full name: David Vallejo Fernández
    University of Castilla-La Mancha (Spain)
    ICE Project: basic-fipa-multiagentsystem

  7. #7
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    It looks like your OpenSSL library differs from the one we're using (0.96 and 0.97). Which OpenSSL version do you use?

    Cheers,
    Benoit.

  8. #8
    davidcr1983 is offline Registered User
    Name: David Vallejo
    Organization: University of Castilla-La Mancha (Spain)
    Project: Intelligent Surveillance System
    Join Date
    Jul 2005
    Location
    Ciudad Real (Spain)
    Posts
    44
    My OpenSSL version is 0.9.8a. I use Debian Sid.
    Full name: David Vallejo Fernández
    University of Castilla-La Mancha (Spain)
    ICE Project: basic-fipa-multiagentsystem

  9. #9
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    We don't support this OpenSSL version yet. It should be supported in the upcoming Ice version. To get it to compile with 0.9.8, you can try to edit the Ice-2.1.2/src/IceSSL/RSAPublicKey.cpp file and change the following line 102 and 103:

    Code:
       unsigned char* pubKeyBuff = publicKeyBuffer;
       unsigned char** pubKeyBuffpp = &pubKeyBuff;
    To:

    Code:
       const unsigned char* pubKeyBuff = publicKeyBuffer;
       const unsigned char** pubKeyBuffpp = &pubKeyBuff;
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. error LNK2019 : unresolved symbol error
    By colorado in forum Help Center
    Replies: 3
    Last Post: 12-16-2010, 06:57 PM
  2. Problem with IceSSL after Ice 3.3.0 instalation
    By kornelsk in forum Help Center
    Replies: 1
    Last Post: 08-05-2008, 07:08 AM
  3. Replies: 1
    Last Post: 02-05-2006, 01:58 AM
  4. Replies: 6
    Last Post: 04-11-2004, 09:12 PM
  5. Replies: 2
    Last Post: 09-03-2003, 02:49 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
  •