pkgsrc-Users archive

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

Re: devel/gmp on Solaris9



Ulrich Habel said the following on 5/14/2007 11:38 AM:
Does anyone have devel/gmp built on Solaris/SPARC ? gcc34 depends on gmp, but apparently it seems to be failing in the configure script due to g++ error.

Just some additional information:


here is the error message when I try to build it with SUNWpro compilers:

g++ -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -O -c isfuns.cc  -KPIC
-DPIC -o .libs/isfuns.o
 g++ -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -O -c isfuns.cc -o isfuns.o 
>/dev/null 2>&1
/usr/bin/ksh ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -I. -I. -I.. 
-D__GMP_WITHIN_GMPXX -I..     -O -c -o ismpf.lo ismpf.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -O -c ismpf.cc  -KPIC -DPIC 
-o .libs/ismpf.o
"ismpf.cc", line 55: Error: Could not find a match for std::use_facet<std::Facet>(const 
std::locale) needed in operator>>(std::istream &, __mpf_struct*).
"ismpf.cc", line 55: Error: Could not find a match for std::use_facet<std::Facet>(const 
std::locale) needed in operator>>(std::istream &, __mpf_struct*).
"ismpf.cc", line 67: Error: Could not find a match for std::use_facet<std::Facet>(const 
std::locale) needed in operator>>(std::istream &, __mpf_struct*).
3 Error(s) detected.

the full link to the build log is here:

http://sunpkg.de/pkgstat/20070503.1044/devel/gmp/.broken.html


Looking at the build log you posted, you seem to have gotten further then I do. My script stops at the point where:

checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking for sparc-sun-solaris2-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++  -O... no, program does not run
configure: error: C++ compiler not available, see config.log for details


You have gotten beyond that stage, although according to your logs, you are not using the GNU C++ compiler, so maybe it has something to do with that ?


cheers,

    mehul



--
Mehul N. Sanghvi
email: mehul.sanghvi%gmail.com@localhost



Home | Main Index | Thread Index | Old Index