Boost C++ Libraries: Ticket #5151: Cannot compile Boost on CentOS 5.5 https://svn.boost.org/trac10/ticket/5151 <p> Hi, </p> <p> I'm trying to compile Boost on my CentOS 5.5 64bits i7 machine. </p> <p> ( </p> <blockquote> <p> mkdir serial cd serial cmake -DCMAKE_BUILD_TYPE=<a class="missing wiki">RelWithDebInfo</a> -DBUILD_TESTS="NONE" \ </p> <blockquote> <p> -DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \ -DWITH_MPI=OFF \ -DCMAKE_CXX_FLAGS="%{optflags} -DBOOST_IOSTREAMS_USE_DEPRECATED" .. </p> </blockquote> <p> make %{?_smp_mflags} </p> </blockquote> <p> ) </p> <p> make -C serial install DESTDIR=%{buildroot} </p> <p> 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: </p> <p> + /bin/rm -f '/var/tmp/boost-1.45.0-7.el5-root-floren<em>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. </em></p> <p> The files are created into: /var/tmp/boost-1.45.0-7.el5-root-floren/usr/local/lib </p> <p> 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 </p> <p> 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. </p> <p> Thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5151 Trac 1.4.3 anonymous Fri, 04 Feb 2011 01:35:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5151#comment:1 https://svn.boost.org/trac10/ticket/5151#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket anonymous Fri, 04 Feb 2011 01:36:09 GMT <link>https://svn.boost.org/trac10/ticket/5151#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5151#comment:2</guid> <description> <p> Adding the Fedora set of macros for CMake fixed the compile issues on 64bits. </p> </description> <category>Ticket</category> </item> </channel> </rss>