|
From: Petr M. <mi...@ph...> - 2009-01-14 17:15:47
|
> > I've uncommented this line, compiled further, and then I'm getting messages > > that set_numeric_locale and reset_numeric_locale are not known. Has not > > ./configure overlooked some of my missing libraries? > > > > > 1. in compiling gnuplot 4.2 cvs > > > util.c: In function ‘gprintf’: > > > util.c:757: error: invalid type argument of ‘unary *’ > > > make[3]: *** [util.o] Error 1 > > > > > > The line is: > > > /* dot is the default decimalsign we will be replacing */ > > > dot = *get_decimal_locale(); > > > > > > The strange thing is that > > > grep -R get_decimal_locale * > > > does not find this routine in gnuplot source and /usr/include. > > It is defined in variable.h > > It looks to me that your configuration script has not correctly detected > whether your system supports LOCALE. From the error messages, I guess > that your system lacks locale support, but configure didn't notice that. > Or perhaps you have more than one libc, but one of them has locale > support and the other doesn't? It is defined in variable.h in gnuplot-cvs, but not in gnuplot 4.2-cvs. Comparing variable.h in 4.2.4 and 4.2-cvs, these files are the same. Comparing util.c, they are different. I have locale -- tested on OpenSUSE 10.3 and 11.1. --- PM |