[livesupport-dev] Re: [Fwd: Re: Befor i post about boost]
  • Hi Frans,

    OK, so Akos added these switches after I put in my crude hacks to
    disable boost and icu detection. I have now removed the hacks, but set
    the defaults of both switches to "no", because I remember experimenting
    with this a lot way back when, and they did not seem to work.

    You are welcome to try running configure with --with-check-boost="yes"
    --with-check-icu="yes" (remember to 'make distclean' or 'rm
    tmp/configure' first, to remove the old configure script); and if you
    find that they work, I'll change the defaults to "yes". Thanks for
    helping with this!

    Ferenc


    frans van berckel wrote:
    > Ferenc,
    >
    > I forward you my e-mail to Akos.
    >
    > Is it a idea to do a post and describe our problem of the detection
    > issues on the boost development list.
    >
    > http://www.boost.org/more/mailing_lists.htm
    >
    > I already have done a ticket but it's closed
    >
    > http://code.campware.org/projects/livesupport/ticket/1475
    >
    > Frans van Berckel
    >
    >
    > ------------------------------------------------------------------------
    >
    > Subject:
    > Re: Befor i post about boost
    > From:
    >
  • 10 Comments sorted by
  • On Tue, 2005-12-20 at 13:27 +0100, Ferenc Gerlits wrote:

    > You are welcome to try running configure with --with-check-boost="yes"
    > --with-check-icu="yes" (remember to 'make distclean' or 'rm
    > tmp/configure' first, to remove the old configure script); and if you
    > find that they work, I'll change the defaults to "yes". Thanks for
    > helping with this!

    Ok supper, but the icu check does not work, set in
    setupDevelopmentEnvironment.sh

    $basedir/configure --prefix=$usrdir --with-www-docroot=$usrdir/var
    --with-check-boost="yes"
    --with-check-icu="yes"

    Bug get
    line 94: --with-check-icu=yes: command not found

    With a dpkg ill get
    # dpkg -s libicu34-dev

    Package: libicu34-dev
    Status: install ok installed
    Priority: optional
    Section: libdevel
    Installed-Size: 4624
    Maintainer: Jay Berkenbilt
    Architecture: powerpc
    Source: icu
    Version: 3.4-3
  • Sorry got to be a linefeed, now ill get

    checking for icu-config... /usr/bin/icu-config
    checking for ICU library >= 3.0... ICU version ICU_VERSION >= 3.0 found
    using ICU found on the system

    so it detects well.

    Thanks

    Frans van Berckel

    On Tue, 2005-12-20 at 17:06 +0100, frans van berckel wrote:

    > Ok supper, but the icu check does not work, set in
    > setupDevelopmentEnvironment.sh
    >
    > $basedir/configure --prefix=$usrdir --with-www-docroot=$usrdir/var
    > --with-check-boost="yes"
    > --with-check-icu="yes"
    >
    > Bug get
    > line 94: --with-check-icu=yes: command not found
    >
    > With a dpkg ill get
    > # dpkg -s libicu34-dev
    >
    > Package: libicu34-dev
    > Status: install ok installed
    > Priority: optional
    > Section: libdevel
    > Installed-Size: 4624
    > Maintainer: Jay Berkenbilt
    > Architecture: powerpc
    > Source: icu
    > Version: 3.4-3
  • frans van berckel wrote:
    > On Tue, 2005-12-20 at 13:27 +0100, Ferenc Gerlits wrote:
    >
    >
    >>You are welcome to try running configure with --with-check-boost="yes"
    >>--with-check-icu="yes" (remember to 'make distclean' or 'rm
    >>tmp/configure' first, to remove the old configure script); and if you
    >>find that they work, I'll change the defaults to "yes". Thanks for
    >>helping with this!
    >
    >
    > Ok supper, but the icu check does not work, set in
    > setupDevelopmentEnvironment.sh
    >
    > $basedir/configure --prefix=$usrdir --with-www-docroot=$usrdir/var
    > --with-check-boost="yes"
    > --with-check-icu="yes"
    >
    > Bug get
    > line 94: --with-check-icu=yes: command not found

    well, make sure to include all the above as one line / one command
  • frans van berckel wrote:
    > Sorry got to be a linefeed, now ill get
    >
    > checking for icu-config... /usr/bin/icu-config
    > checking for ICU library >= 3.0... ICU version ICU_VERSION >= 3.0 found
    > using ICU found on the system
    >
    > so it detects well.

    Does it compile and run, too?
  • > Does it compile and run, too?

    Running tools now, will inform you on modules and products later on.
  • On Tue, 2005-12-20 at 19:52 +0100, Ferenc Gerlits wrote:
    > frans van berckel wrote:
    > > checking for icu-config... /usr/bin/icu-config
    > > checking for ICU library >= 3.0... ICU version ICU_VERSION >= 3.0 found
    > > using ICU found on the system

    > Does it compile and run, too?

    Get a error on boost with make -C ./src/products/scheduler all (make
    compile)

    /usr/bin/ld: cannot find -lboost_date_time-gcc
    collect2: ld returned 1 exit status
    make[1]: *** [tmp/scheduler] Error 1

    Installed: libboost-dev , libboost-date-time1.33.0 ,
    libboost-date-time-dev

    Attached: make_compile_setup.log

    Frans van Berckel
  • On Wed, 21 Dec 2005, frans van berckel wrote:

    > On Tue, 2005-12-20 at 19:52 +0100, Ferenc Gerlits wrote:
    > > frans van berckel wrote:
    > > > checking for icu-config... /usr/bin/icu-config
    > > > checking for ICU library >= 3.0... ICU version ICU_VERSION >= 3.0 found
    > > > using ICU found on the system
    >
    > > Does it compile and run, too?
    >
    > Get a error on boost with make -C ./src/products/scheduler all (make
    > compile)
    >
    > /usr/bin/ld: cannot find -lboost_date_time-gcc
    > collect2: ld returned 1 exit status
    > make[1]: *** [tmp/scheduler] Error 1
    >
    > Installed: libboost-dev , libboost-date-time1.33.0 ,
    > libboost-date-time-dev
    >
    > Attached: make_compile_setup.log

    Remove -gcc from the make file then it will work.


    Stefan
  • frans van berckel wrote:
    > Get a error on boost with make -C ./src/products/scheduler all (make
    > compile)
    >
    > /usr/bin/ld: cannot find -lboost_date_time-gcc
    > collect2: ld returned 1 exit status
    > make[1]: *** [tmp/scheduler] Error 1

    hm..

    what does the following say:

    ls -l /usr/lib/libboost*

    ?

    what happens if you go to modules/core, and say:

    make check

    ?


    Akos
  • > what does the following say:
    >
    > ls -l /usr/lib/libboost*

    frans@deblnxsrv2:~$ ls -l /usr/lib/libboost*
    lrwxrwxrwx 1 root root 32 2005-12-19
    14:05 /usr/lib/libboost_date_time.a -> libboost_date_time-gcc-mt-1_33.a
    -rw-r--r-- 1 root root 106176 2005-08-23
    13:53 /usr/lib/libboost_date_time-gcc-mt-1_33.a
    lrwxrwxrwx 1 root root 40 2005-12-19
    14:05 /usr/lib/libboost_date_time-gcc-mt-1_33.so ->
    libboost_date_time-gcc-mt-1_33.so.1.33.0
    -rw-r--r-- 1 root root 60356 2005-08-23
    13:53 /usr/lib/libboost_date_time-gcc-mt-1_33.so.1.33.0
    lrwxrwxrwx 1 root root 33 2005-12-19
    14:05 /usr/lib/libboost_date_time.so ->
    libboost_date_time-gcc-mt-1_33.so

    > what happens if you go to modules/core, and say:
    >
    > make check

    g++ -pthread -lpthread -lm -L/usr/lib -licui18n -licuuc -licudata
    -lpthread -lm
    -L/home/frans/src/livesupport/svn/trunk/livesupport/usr/lib -ltag -lxml
    ++-2.6 -lxml2 -lz -lm -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0
    -L/home/frans/src/livesupport/svn/trunk/livesupport/usr/lib -L./lib -o
    tmp/testRunner ./tmp/TestRunner.o ./tmp/UuidTest.o ./tmp/UniqueIdTest.o ./tmp/AudioClipTest.o ./tmp/FadeInfoTest.o ./tmp/PlaylistElementTest.o ./tmp/PlaylistTest.o ./tmp/TimeConversionTest.o ./tmp/TestRunnable.o ./tmp/ThreadTest.o ./tmp/LocalizedObjectTest.o ./tmp/LocalizedConfigurableTest.o ./tmp/Md5Test.o ./tmp/XmlRpcToolsTest.o ./tmp/SearchCriteriaTest.o ./tmp/MetadataTypeContainerTest.o -llivesupport_core -lpthread -lm -L/usr/lib -licui18n -licuuc -licudata -lpthread -lm -lboost_date_time-gcc -lcppunit -ldl -lxmlrpc++
    /usr/bin/ld: cannot find -lboost_date_time-gcc
    collect2: ld returned 1 exit status
    make: *** [tmp/testRunner] Error 1

    Frans van Berckel
  • frans van berckel wrote:
    > 14:05 /usr/lib/libboost_date_time.so ->
    > libboost_date_time-gcc-mt-1_33.so

    Skinkie was right - try temoving the "-gcc" from the end of
    boost_date_time-gcc from the Makefile...


    Akos