← Back to team overview

dorsal team mailing list archive

CGAL error on OSX 10.7.4

 

I'm trying to install fenics with dorsal on my 10.7.4 machine with macports.  I'm getting the following error when building CGAL:

[ 33%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o
In file included from /Users/gideon/Work/FEniCS/src/CGAL-3.9/include/CGAL/is_convertible.h:28:0,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/include/CGAL/Rational_traits.h:31,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/include/CGAL/number_type_basic.h:64,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/include/CGAL/basic.h:35,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/include/CGAL/Cartesian/Cartesian_base.h:27,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/include/CGAL/Simple_cartesian.h:27,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/src/CGAL/Bbox_2_intersections.cpp:25,
                 from /Users/gideon/Work/FEniCS/src/CGAL-3.9/dorsal_build_dir/src/CGAL/all_files.cpp:2:
/opt/local/include/gmpxx.h:1345:50: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1540:3: error: 'mp_bitcnt_t' does not name a type
/opt/local/include/gmpxx.h:1707:3: error: 'mp_bitcnt_t' does not name a type
/opt/local/include/gmpxx.h:1887:3: error: 'mp_bitcnt_t' does not name a type
/opt/local/include/gmpxx.h:1889:17: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1890:21: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1897:35: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1903:44: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1907:29: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1910:31: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1914:28: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1917:30: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1921:34: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1924:36: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1928:33: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1931:35: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1935:23: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1938:24: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1952:29: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1969:36: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:1981:28: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In copy constructor '__gmp_expr<__mpf_struct [1], __mpf_struct [1]>::__gmp_expr(const __gmp_expr<__mpf_struct [1], __mpf_struct [1]>&)':
/opt/local/include/gmpxx.h:1896:21: error: 'const class __gmp_expr<__mpf_struct [1], __mpf_struct [1]>' has no member named 'get_prec'
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2278:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<T, T>, __gmp_expr<T, T>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2316:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2316:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2318:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2318:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2384:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<T, T>, __gmp_expr<U, V>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2393:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2393:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2395:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2395:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2417:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<U, V>, __gmp_expr<T, T>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2426:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2426:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2428:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2428:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2450:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<T, T>, __gmp_expr<T, U>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2459:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2459:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2461:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2461:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2483:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<T, U>, __gmp_expr<T, T>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2492:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2492:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2494:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2494:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2518:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:2545:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:2576:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<T, U>, __gmp_expr<V, W>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2585:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2585:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2587:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2587:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2609:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<U, V>, __gmp_expr<T, W>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2618:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2618:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2620:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2620:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:2642:6: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h: In member function 'long unsigned int __gmp_expr<T, __gmp_binary_expr<__gmp_expr<T, U>, __gmp_expr<T, V>, Op> >::get_prec() const':
/opt/local/include/gmpxx.h:2651:5: error: 'mp_bitcnt_t' was not declared in this scope
/opt/local/include/gmpxx.h:2651:17: error: expected ';' before 'prec1'
/opt/local/include/gmpxx.h:2653:13: error: 'prec1' was not declared in this scope
/opt/local/include/gmpxx.h:2653:21: error: 'prec2' was not declared in this scope
/opt/local/include/gmpxx.h: At global scope:
/opt/local/include/gmpxx.h:3250:24: error: 'mp_bitcnt_t' has not been declared
/opt/local/include/gmpxx.h:3320:49: error: 'mp_bitcnt_t' has not been declared
make[2]: *** [src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o] Error 1
make[1]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building CGAL-3.9.


-gideon