[ https://issues.apache.org/jira/browse/QPID-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403382#comment-13403382 ]
Davin Shearer commented on QPID-4095: ------------------------------------- Here's the patch to bring it up to date: ---[BEGIN]--- --- qpid-cpp-0.16/src/Makefile.am 2012-02-24 15:05:47.000000000 -0500 +++ ../qpid-cpp/src/Makefile.am 2012-06-28 15:08:13.577256348 -0400 @@ -137,8 +137,6 @@ tmoduleexecdir = $(libdir)/qpid/tests tmoduleexec_LTLIBRARIES= -AM_CXXFLAGS += -DBOOST_FILESYSTEM_VERSION=2 - ## Automake macros to build libraries and executables. qpidd_CXXFLAGS = $(AM_CXXFLAGS) -DQPIDD_MODULE_DIR=\"$(dmoduleexecdir)\" -DQPIDD_CONF_FILE=\"$(sysconfdir)/qpidd.conf\" libqpidclient_la_CXXFLAGS = $(AM_CXXFLAGS) -DQPIDC_MODULE_DIR=\"$(cmoduleexecdir)\" -DQPIDC_CONF_FILE=\"$(confdir)/qpidc.conf\" @@ -336,6 +334,7 @@ libqpidtypes.la \ -lboost_program_options \ -lboost_filesystem \ + -lboost_system \ -luuid \ $(LIB_DLOPEN) \ $(LIB_CLOCK_GETTIME) --- qpid-cpp-0.16/src/qpid/Modules.cpp 2011-03-14 16:29:02.000000000 -0400 +++ ../qpid-cpp/src/qpid/Modules.cpp 2012-06-28 15:06:04.344364807 -0400 @@ -73,7 +73,7 @@ void loadModuleDir (std::string dirname, bool isDefault) { - fs::path dirPath (dirname, fs::native); + fs::path dirPath (dirname); if (!fs::exists (dirPath)) { @@ -89,8 +89,8 @@ fs::directory_iterator endItr; for (fs::directory_iterator itr (dirPath); itr != endItr; ++itr) { - if (!fs::is_directory(*itr) && isShlibName(itr->string())) - tryShlib (itr->string().data(), true); + if (!fs::is_directory(*itr) && isShlibName(itr->path().native())) + tryShlib (itr->path().native().data(), true); } } ---[END]--- Then bootstrap and build. > Boost 1.50.0 has removed filesystem version 2 from the library > -------------------------------------------------------------- > > Key: QPID-4095 > URL: https://issues.apache.org/jira/browse/QPID-4095 > Project: Qpid > Issue Type: Improvement > Components: C++ Broker, C++ Client, C++ Clustering > Affects Versions: 0.16 > Reporter: Davin Shearer > Assignee: Alan Conway > Labels: build > > The build fails when building against boost 1.50.0 because version 0.16 and > earlier require boost filesystem version 2 which has been removed from boost > version 1.50.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org