Subject: Re: devel/gmp on Solaris9
To: <>
From: Ulrich Habel <uli@habel.name>
List: pkgsrc-users
Date: 05/14/2007 17:38:35
>       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



Google doesn't know about this error either - anyone?

Regards
Uli


-- 
Ulrich Habel           Blog: http://habel.name/mt
Solaris Packages:      http://sunpkg.de
pkgsrc - is a nice way to keep your Solaris boxes
   updated and secure for 3rd party software!