Results 1 to 4 of 4

Thread: Building problem on FreeBSD5.1

  1. #1
    yrh79 is offline Registered User
    Join Date
    Apr 2005
    Posts
    7

    Building problem on FreeBSD5.1

    Hi all,

    I am building ICE on FreeBSD5.1, and I cannot proceed without db_cxx.h,
    I search on my machine and cannot find it. Does my system lack of something that is needed by ICE?

    What I got is the next messages:
    --------
    In file included from ../Freeze/ConnectionI.h:15,
    from ConnectionI.cpp:10:
    ../Freeze/TransactionI.h:14:20: db_cxx.h: No such file or directory
    In file included from ../Freeze/ConnectionI.h:16,
    from ConnectionI.cpp:10:
    ../Freeze/SharedDbEnv.h:16:20: db_cxx.h: No such file or directory
    In file included from ../Freeze/MapI.h:14,
    from ConnectionI.cpp:11:
    ../Freeze/SharedDb.h:14:20: db_cxx.h: No such file or directory

    ...

    -------
    .... and what I was building is :
    Ice-2.1.0.tar.gz and ThirdParty-Sources-2.1.0.tar.gz, I have build and install bzip2-1.0.2.tar.gz db-4.2.52.zip expat-1.95.8.tar.gz openssl-0.9.7e.tar.gz, threre is no problems with those ThirdParty Packages.

    My Make.rules is something like this:
    Code:
    prefix                  = /usr/local/Ice-$(VERSION)
    
    OPTIMIZE                = yes
    
    GPL_BUILD               := yes
    
    ifeq ($(GPL_BUILD),yes)
       USE_READLINE            := yes
    endif
    
    #STLPORT_HOME           ?= /opt/STLport
    
    #BZIP2_HOME             = /usr/bin/
    
    #DB_HOME                = /usr/local/BerkeleyDB.4.2
    
    OPENSSL_HOME            = /usr/local/
    
    KERBEROS_HOME           ?= /usr/kerberos
    
    EXPAT_HOME              = /usr/local/
    
    #READLINE_HOME          ?= /opt/readline
    
    
    
    # ... Many other lines that no need to be changed ...

  2. #2
    yrh79 is offline Registered User
    Join Date
    Apr 2005
    Posts
    7

    Still about the libdb_cxx

    I found that i forgot to set DB_HOME to "DB_HOME = /usr/local/BerkeleyDB.4.2". I corrected that and then got the next problem:

    ---------
    c++ -shared -O2 -DNDEBUG -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT -D_THREAD_SAFE -L../../lib -o ../../lib/libFreeze.so.2.1.0 -Wl,-h,libFreeze.so.21 CatalogData.o Catalog.o ConnectionF.o ConnectionI.o Connection.o DB.o EvictorF.o EvictorI.o EvictorIteratorI.o Evictor.o EvictorStorage.o Exception.o IndexI.o Index.o MapI.o ObjectStore.o SharedDbEnv.o SharedDb.o TransactionHolder.o TransactionI.o Transaction.o Util.o -lIce -lIceUtil -L/usr/local/BerkeleyDB.4.2/lib -ldb_cxx -lc_r
    /usr/bin/ld: cannot find -ldb_cxx
    gmake[2]: *** [../../lib/libFreeze.so.2.1.0] error 1
    gmake[2]: Leaving directory `/usr/home/backup/ICE/Ice-2.1.0/src/Freeze'
    gmake[1]: *** [all] error 1
    gmake[1]: Leaving directory `/usr/home/backup/ICE/Ice-2.1.0/src'
    gmake: *** [all] error 1
    ----------

    I... once again, cannot find libdb_cxx.so or libdb_cxx.a, who can help me for that?

  3. #3
    yrh79 is offline Registered User
    Join Date
    Apr 2005
    Posts
    7

    Talking the missing libdb_cxx...

    After I Build and installed the BerkeleyDB with "--enable-cxx" option, I can now continue building the ICE on FreeBSD5.1.

  4. #4
    claude is offline Registered User
    Join Date
    Jun 2005
    Location
    shanghai
    Posts
    1
    have you tested on FreeBSD 5.4?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem building for iPhone
    By emarsh in forum Help Center
    Replies: 13
    Last Post: 12-08-2008, 11:24 AM
  2. Problem building IceSSL for CS with Visual Studio 2005
    By Vivien Delage in forum Help Center
    Replies: 4
    Last Post: 11-28-2006, 08:55 AM
  3. Replies: 7
    Last Post: 04-14-2006, 03:12 PM
  4. Compiling Ice-1.5.1 on FreeBSD5.3Beta5 error
    By liguoqiang in forum Bug Reports
    Replies: 1
    Last Post: 10-22-2004, 11:14 AM
  5. 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •