[Boost-bugs] [Boost C++ Libraries] #5151: Cannot compile Boost on CentOS 5.5

Subject: [Boost-bugs] [Boost C++ Libraries] #5151: Cannot compile Boost on CentOS 5.5
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-02 21:56:47


#5151: Cannot compile Boost on CentOS 5.5
------------------------------+---------------------------------------------
 Reporter: admin@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Hi,

 I'm trying to compile Boost on my CentOS 5.5 64bits i7 machine.

 (
   mkdir serial
   cd serial
   cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS="NONE" \
          -DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \
          -DWITH_MPI=OFF \
          -DCMAKE_CXX_FLAGS="%{optflags} -DBOOST_IOSTREAMS_USE_DEPRECATED"
 ..
   make %{?_smp_mflags}
 )

 make -C serial install DESTDIR=%{buildroot}

 Cmake will finish the kitchen job, no problems. When I look at the actual
 build dir (install starts), it creates a 32bits branch, completly ignoring
 the lib64 detection:

 + /bin/rm -f '/var/tmp/boost-1.45.0-7.el5-root-floren//usr/lib64/*-d.*'
 + find /var/tmp/boost-1.45.0-7.el5-root-floren/usr/lib64 -name '*.cmake'
 -exec /bin/rm -f '{}' ';'
 find: /var/tmp/boost-1.45.0-7.el5-root-floren/usr/lib64: No such file or
 directory.

 The files are created into:
 /var/tmp/boost-1.45.0-7.el5-root-floren/usr/local/lib

 I need to find a way and force Cmake to push the build with the proper
 libs.
 For example, I tried:
 %define _cmake_lib_suffix -DBOOST_INSTALL_LIB_SUBDIR_NAME=lib64

 No effect. I really apreciuate if you could point me into right direction
 how to force Cmake create the /var/tmp/boost-1.45.0-7.el5-root-
 floren/usr/lib64 dir, instead of the /var/tmp/boost-1.45.0-7.el5-root-
 floren/usr/local/lib one.

 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5151>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC