LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2012, 11:57 AM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
Failed to build boost 1.41.0


Hi all,

Trying to install a software called CASAVA and looks like it is trying to install Boost C++ library but endup with following error. Could anybody help me to solve this.

Code:
...failed updating 1 target...
...skipped 3 targets...
...updated 7797 targets...
installBoost.sh: build failed: Terminating...
CMake Error at opt/CMakeLists.txt:148 (message):
  Failed to build boost 1.41.0
i am getting this error at step 4 of below procedure

Code:
$ tar -zxf CASAVA-1.6.0.tar.gz
$ mkdir CASAVA-1.6.0-build
$ cd CASAVA-1.6.0-build
$ ../CASAVA-1.6.0/configure
$ make
$ make install
 
Old 04-06-2012, 04:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Which Linux OS are you using ? Still CentOS 5 ?

Installing boost_1.41 : # yum install boost141-devel

"boost141" is in the EPEL repo https://fedoraproject.org/wiki/EPEL >
> http://dl.fedoraproject.org/pub/epel...5-4.noarch.rpm
> # rpm -Uvh epel-release-5-4.noarch.rpm

.
 
1 members found this post helpful.
Old 04-06-2012, 04:58 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I don't know CASAVA but boost is included in Slackware, e.g.

Whatever be your distribution (which one is it, by the way ?) I would install boost then try to install CASAVA.
 
Old 04-06-2012, 08:21 AM   #4
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi knudfl and Didier Spaier,
Thank you both for replies.

I tried to install the available packages in yum as below and also installed "epel-release-5-4.noarch.rpm" but no luck.
Install failed again with errors.
Installed below
Code:
# yum list |grep -i boost
boost.i386                              1.33.1-10.el5          installed
boost-devel.i386                        1.33.1-10.el5          installed

and also

# rpm -qa |grep -i epel
epel-release-5-4

and below is the detailed log of casava install error

Code:
# ../CASAVA_v1.7.0/src/configure
cmake version "cmake version 2.8.0" is already installed at /home/admin/CASAVA-1.7.0-build/bootstrap/bin/cmake
nothing to be done
Using installed /home/admin/CASAVA-1.7.0-build/bootstrap/bin/cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- install      prefix: /usr/local
-- install exec prefix: .
-- install     bin dir: ./bin
-- install     lib dir: ./lib/CASAVA-1.7.0
-- install libexec dir: ./libexec/CASAVA-1.7.0
-- install include dir: include/CASAVA-1.7.0
-- install    data dir: share/CASAVA-1.7.0
-- install     doc dir: doc/CASAVA-1.7.0
-- install     man dir: man
-- Verifying target directories access
-- Creating external tools in subdirectory opt
-- Could NOT find Boost
-- Boost 1.41.0 not found. Boost will be built from the distribution...
Decompressing /home/admin/CASAVA_v1.7.0/src/../redist/boost_1_41_0.tar.gz
Building Boost.Jam with toolset gcc... tools/jam/src/bin.linuxx86/bjam
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.2
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./bjam

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./bjam --help

   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html

   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html

warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
...patience...
...patience...
...found 16181 targets...
...updating 4 targets...
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi/bzip2.o
libs/iostreams/src/bzip2.cpp:19:56: error: bzlib.h: No such file or directory
libs/iostreams/src/bzip2.cpp:30: error: âBZ_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:31: error: âBZ_RUN_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:32: error: âBZ_FLUSH_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:33: error: âBZ_FINISH_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:34: error: âBZ_STREAM_ENDâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:35: error: âBZ_SEQUENCE_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:36: error: âBZ_PARAM_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:37: error: âBZ_MEM_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:38: error: âBZ_DATA_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:39: error: âBZ_DATA_ERROR_MAGICâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:40: error: âBZ_IO_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:41: error: âBZ_UNEXPECTED_EOFâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:42: error: âBZ_OUTBUFF_FULLâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:43: error: âBZ_CONFIG_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:47: error: âBZ_FINISHâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:48: error: âBZ_RUNâ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In static member function âstatic void boost::iostreams::bzip2_error::check(int)â:
libs/iostreams/src/bzip2.cpp:61: error: âBZ_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:62: error: âBZ_RUN_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:63: error: âBZ_FLUSH_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:64: error: âBZ_FINISH_OKâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:65: error: âBZ_STREAM_ENDâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:67: error: âBZ_MEM_ERRORâ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In constructor âboost::iostreams::detail::bzip2_base::bzip2_base(const boost::iostreams::bzip2_params&)â:
libs/iostreams/src/bzip2.cpp:79: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:79: error: expected `)' before âbz_streamâ
libs/iostreams/src/bzip2.cpp: In destructor âboost::iostreams::detail::bzip2_base::~bzip2_base()â:
libs/iostreams/src/bzip2.cpp:82: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:82: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:82: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:82: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:82: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp:82: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp: In member function âvoid boost::iostreams::detail::bzip2_base::before(const char*&, const char*, char*&, char*)â:
libs/iostreams/src/bzip2.cpp:87: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:87: error: âsâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:87: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:87: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:87: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:87: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp:87: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp: In member function âvoid boost::iostreams::detail::bzip2_base::after(const char*&, char*&)â:
libs/iostreams/src/bzip2.cpp:96: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:96: error: âsâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:96: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:96: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:96: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:96: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp:96: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp: In member function âvoid boost::iostreams::detail::bzip2_base::end(bool)â:
libs/iostreams/src/bzip2.cpp:104: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: âsâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:104: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:104: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:104: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp:104: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp:107: error: âBZ2_bzCompressEndâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:108: error: âBZ2_bzDecompressEndâ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In member function âint boost::iostreams::detail::bzip2_base::compress(int)â:
libs/iostreams/src/bzip2.cpp:114: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:114: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:114: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:114: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:114: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp: In member function âint boost::iostreams::detail::bzip2_base::decompress()â:
libs/iostreams/src/bzip2.cpp:119: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:119: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:119: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:119: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:119: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp: In member function âvoid boost::iostreams::detail::bzip2_base::do_init(bool, void* (*)(void*, int, int), void (*)(void*, void*), void*)â:
libs/iostreams/src/bzip2.cpp:130: error: âbz_streamâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:130: error: âsâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:130: error: expected type-specifier before âbz_streamâ
libs/iostreams/src/bzip2.cpp:130: error: expected `>' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:130: error: expected `(' before âbz_streamâ
libs/iostreams/src/bzip2.cpp:130: error: expected primary-expression before â>â token
libs/iostreams/src/bzip2.cpp:130: error: expected `)' before â;â token
libs/iostreams/src/bzip2.cpp:147: error: âBZ2_bzCompressInitâ was not declared in this scope
libs/iostreams/src/bzip2.cpp:150: error: âBZ2_bzDecompressInitâ was not declared in this scope

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi>libboost_iostreams.a(clean) for lack of <pbin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi>bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi>bzip2.o...
...skipped <p/home/admin/CASAVA-1.7.0-build/opt/bootstrap/lib>libboost_iostreams.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi>libboost_iostreams.a...
...failed updating 1 target...
...skipped 3 targets...
installBoost.sh: build failed: Terminating...
CMake Error at opt/CMakeLists.txt:148 (message):
  Failed to build boost 1.41.0


-- Configuring incomplete, errors occurred!
Couldn't configure the project:

/home/admin/CASAVA-1.7.0-build/bootstrap/bin/cmake -H"/home/admin/CASAVA_v1.7.0/src" -B"/home/admin/CASAVA-1.7.0-build" -G"Unix Makefiles"  -DCASAVA_PREFIX:PATH= -DCASAVA_EXEC_PREFIX:PATH= -DCMAKE_INSTALL_PREFIX:PATH= -DCASAVA_BINDIR:PATH= -DCASAVA_LIBDIR:PATH= -DCASAVA_LIBEXECDIR:PATH= -DCASAVA_INCLUDEDIR:PATH= -DCASAVA_DATADIR:PATH= -DCASAVA_DOCDIR:PATH= -DCASAVA_MANDIR:PATH= -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo

Moving CMakeCache.txt to CMakeCache.txt.removed
waiting for help...thanks in advance!
 
Old 04-06-2012, 08:37 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#4
Quote:
error: bzlib.h: No such file or directory
# yum install bzip2-devel
 
1 members found this post helpful.
Old 04-06-2012, 08:50 AM   #6
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi

Tried to install bzip2 but YUM is not working after i installed epel rpm and getting this error now

Code:
yum install bzip2-devel
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386 error was
[Errno 4] IOError: <urlopen error (97, 'Address family not supported by protocol')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
 
Old 04-06-2012, 09:17 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
EPEL : May be the mirrors changed ? Like they did for Fedora some time ago.

/etc/yum.repos.d/epel.repo :
You can uncomment the line "mirrorlist .." with a hashmark ( # ).
And use a fixed baseurl :

baseurl=http://dl.fedoraproject.org/pub/epel/5/i386/

.
 
Old 04-06-2012, 11:17 AM   #8
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi knudfl,

Thank you very much. it was able to install boost after installing bzip2-devel but the CASAVA install failed this time with different error.
Code:
# ../CASAVA_v1.7.0/src/configure
cmake version "cmake version 2.8.0" is already installed at /home/admin/CASAVA-1.7.0-build/bootstrap/bin/cmake
nothing to be done
Using installed /home/admin/CASAVA-1.7.0-build/bootstrap/bin/cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- install      prefix: /usr/local
-- install exec prefix: .
-- install     bin dir: ./bin
-- install     lib dir: ./lib/CASAVA-1.7.0
-- install libexec dir: ./libexec/CASAVA-1.7.0
-- install include dir: include/CASAVA-1.7.0
-- install    data dir: share/CASAVA-1.7.0
-- install     doc dir: doc/CASAVA-1.7.0
-- install     man dir: man
-- Verifying target directories access
-- Creating external tools in subdirectory opt
-- Could NOT find Boost
-- Boost 1.41.0 not found. Boost will be built from the distribution...
Decompressing /home/admin/CASAVA_v1.7.0/src/../redist/boost_1_41_0.tar.gz
Building Boost.Jam with toolset gcc... tools/jam/src/bin.linuxx86/bjam
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.3
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./bjam

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./bjam --help

   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html

   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html

warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
...patience...
...patience...
...found 16181 targets...
...updating 4 targets...
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi/bzip2.o
gcc.archive bin.v2/libs/iostreams/build/gcc-4.1.2/release/link-static/threading-multi/libboost_iostreams.a
common.copy /home/admin/CASAVA-1.7.0-build/opt/bootstrap/lib/libboost_iostreams.a
...updated 4 targets...
boost-1_41_0 installed successfully
-- Successfuly built boost 1.41.0 from the distribution package...
-- Installing Post-Run Command Framework
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for floorf
-- Looking for floorf - found
-- Looking for round
-- Looking for round - found
-- Looking for roundf
-- Looking for roundf - found
-- Looking for powf
-- Looking for powf - found
-- Looking for erf
-- Looking for erf - found
-- Looking for erf
-- Looking for erf - found
-- Looking for erfc
-- Looking for erfc - found
-- Looking for erfc
-- Looking for erfc - found
-- Found ZLIB  header: /usr/include/zlib.h
-- Found ZLIB library: /usr/lib/libz.so
-- gzip compression supported
-- Found BZIP2  header: /usr/include/bzlib.h
-- Found BZIP2 library: /usr/lib/libbz2.so
-- bzip2 compression supported
-- Found PTHREAD  header: /usr/include/pthread.h
-- Found PTHREAD library: /usr/lib/libpthread.so
-- pthread supported
-- Boost version: 1.41.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   iostreams
--   program_options
--   regex
--   serialization
--   system
--   thread
-- Found X11  header: /usr/include/X11/X.h
-- Found X11 library: /usr/lib/libX11.so
-- checking for module 'libxml-2.0'
--   package 'libxml-2.0' not found
-- Could NOT find LibXml2  (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
CMake Error at cmake/cxxConfigure.cmake:92 (message):
  libxml2 was not found
Call Stack (most recent call first):
  c++/CMakeLists.txt:30 (include)


-- Configuring incomplete, errors occurred!
Couldn't configure the project:

/home/admin/CASAVA-1.7.0-build/bootstrap/bin/cmake -H"/home/admin/CASAVA_v1.7.0/src" -B"/home/admin/CASAVA-1.7.0-build" -G"Unix Makefiles"  -DCASAVA_PREFIX:PATH= -DCASAVA_EXEC_PREFIX:PATH= -DCMAKE_INSTALL_PREFIX:PATH= -DCASAVA_BINDIR:PATH= -DCASAVA_LIBDIR:PATH= -DCASAVA_LIBEXECDIR:PATH= -DCASAVA_INCLUDEDIR:PATH= -DCASAVA_DATADIR:PATH= -DCASAVA_DOCDIR:PATH= -DCASAVA_MANDIR:PATH= -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo

Moving CMakeCache.txt to CMakeCache.txt.removed
Please help on this ...thank you!
 
Old 04-06-2012, 11:30 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#8
Quote:
-- package 'libxml-2.0' not found
# yum install libxml2-devel
 
1 members found this post helpful.
Old 04-06-2012, 11:51 AM   #10
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi knudfl,

Thank you very much!
you made me to successfully install this.
 
Old 05-29-2013, 10:11 PM   #11
chunglexury
LQ Newbie
 
Registered: May 2013
Posts: 11

Rep: Reputation: Disabled
Error "Unicode/ICU support for Boost.Regex?... not found"

[root@phanquocchung boost_1_53_0]# ./bootstrap.sh
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86/b2
Detecting Python version... 2.4
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.5
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

./b2

To adjust configuration, edit 'project-config.jam'.

I have installtion bzip2, libxml2 ...
help me
Thank all !
 
Old 05-30-2013, 03:42 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 11, @chunglexury : Welcome to LQ.

Python 2.4 ? Must be a very old OS ? Suse 10 ? Mandrake 10 ?
Please specify. OS name and version, please.

Ref. boost_1_53_0/index.html >> Getting Started on Unix variants >>
>> 5.1 Easy Build and Install :
Building boost : 1) ./bootstrap.sh --prefix=<path/to/installation/prefix>
2) ./b2 ( Or : ./b2 install ).

Quote:
Unicode/ICU support for Boost.Regex?... not found.
Probably install 'libicu32-devel' / 'libicu-devel', whatever is available for your OS.

-

Last edited by knudfl; 05-30-2013 at 03:43 AM.
 
Old 05-30-2013, 04:28 AM   #13
chunglexury
LQ Newbie
 
Registered: May 2013
Posts: 11

Rep: Reputation: Disabled
Thank knudfl
I have installed python 2.7 and Centos 6.3 64bit
I have install libicu-devel
I will try to install it again

Last edited by chunglexury; 05-30-2013 at 04:30 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failed to build inetutils MTK358 Linux From Scratch 5 06-11-2011 03:51 PM
failed to build linux-2.6.10 cyu021 Linux - Software 1 11-21-2005 09:32 AM
build kernel failed bhomass Debian 4 11-16-2005 02:36 PM
Garnome Failed to build gordingin Linux - Software 3 10-12-2004 04:31 AM
Garnome Failed to build gordingin Linux - Newbie 1 10-07-2004 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration