pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40597: Problem building 2008Q4 boost-libs on PowerPC Mac OS X Tiger 10.4 (with fix)



>Number:         40597
>Category:       pkg
>Synopsis:       Problem building 2008Q4 boost-libs on PowerPC Mac OS X Tiger 
>10.4 (with fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 10 01:35:00 +0000 2009
>Originator:     munch paulson
>Release:        
>Organization:
>Environment:
Darwin pbg4.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 
2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Could not build devel-boost using powerpc-apple-darwin8-gcc-4.0.1

Was able to build on Intel Mac OS X 10.5.6


>How-To-Repeat:
cd meta-pkgs/boost
bmake

>Fix:
Solution was:

--- boost/math/tools/config.hpp.orig    2009-02-09 17:11:49.000000000 -0800
+++ boost/math/tools/config.hpp 2009-02-09 01:49:15.000000000 -0800
@@ -42,7 +42,7 @@
 // Darwin's rather strange "double double" is rather hard to
 // support, it should be possible given enough effort though...
 //
-#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+//#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 #endif
 #if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
 //


Problem is boost believes Macs don't know "long double".  Solution found using 
Google where the error message causing the build to fail was reported for other 
architectures and pointed towards trying this.  Boost-libs built, but haven't 
tested yet.



Home | Main Index | Thread Index | Old Index