I need the boost libraries in order to compile a new application. I installed the boost1.31 package from the fink release, using fink install boost 1.31 without any trouble, but when I then tried to configure the dependent application, it found that the boost/numeric/ublas/matrix.hpp library was unusable. On the advice of the boost-users list, I then installed boost 1.32, using the prebuilt executable for Darwin available on the boost web site. The install hung several times creating the serialization libraries, so I installed using the tag --without-serialization, and completed the install successfully that way. However, I still get an error when I configure the dependent package, saying that the matrix.hpp library is unusable. The config.log says:

checking for boost/numeric/ublas/matrix.hpp usability...
configure:22782: g++ -c -I/sw/include -O2 -ansi -Wall -Wno-unused -I/sw/include -I/usr/local/include
/boost-1_32 conftest.cc >&5
In file included from /usr/local/include/boost-1_32/boost/numeric/ublas/traits.hpp:27,
from /usr/local/include/boost-1_32/boost/numeric/ublas/storage.hpp:29,
from /usr/local/include/boost-1_32/boost/numeric/ublas/matrix.hpp:21,
from configure:22826:
/usr/local/include/boost-1_32/boost/numeric/ublas/returntype_deduction.hpp:53: warning: use
of `long double' type; its size may change in a future release
/usr/local/include/boost-1_32/boost/numeric/ublas/returntype_deduction.hpp:53: warning: (Long
double usage is reported only once for each file.
/usr/local/include/boost-1_32/boost/numeric/ublas/returntype_deduction.hpp:53: warning: To
disable this warning, use -Wno-long-double.)
In file included from /usr/local/include/boost-1_32/boost/numeric/ublas/vector.hpp:24,
from /usr/local/include/boost-1_32/boost/numeric/ublas/matrix.hpp:22,
from configure:22826:
/usr/local/include/boost-1_32/boost/numeric/ublas/vector_expression.hpp:1924: error: due
to a defect in the G++ 3.2 ABI, G++ has assigned the same mangled name to
two different types
In file included from /usr/local/include/boost-1_32/boost/numeric/ublas/matrix.hpp:23,
from configure:22826:
/usr/local/include/boost-1_32/boost/numeric/ublas/matrix_expression.hpp:5201: error: due
to a defect in the G++ 3.2 ABI, G++ has assigned the same mangled name to
two different types
configure:22785: $? = 1
configure: failed program was:
| #line 22760 "configure"
| /* confdefs.h. */

Higher in the config.log is another error (unrelated?) that doesn't seem to cause any trouble:

gcc -E -I/sw/include conftest.c
configure:15096:28: ac_nonexistent.h: No such file or directory
configure:15085: $? = 1
configure: failed program was:
| #line 15070 "configure"
| /* confdefs.h. */

Here's the info on my gcc. What is wrong with it ? And how can I fix it?

gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)

Thanks!
Becky

----------------------------------------------------------------------------------------------
Rebecca Bendick, Ph.D.
Bullard Laboratories
University of Cambridge
Madingley Road
CAMBRIDGE
CB3 0EZ
United Kingdom<x-tad-bigger>

[EMAIL PROTECTED]</x-tad-bigger>

Reply via email to