|
From: Ethan A M. <merritt@u.washington.edu> - 2009-01-14 16:30:31
|
On Wednesday 14 January 2009, Petr Mikulik wrote: > 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? > > > I see there are two errors: > > > > 1. in compiling gnuplot 4.2 cvs > > gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term > > -DBINDIR=\"/usr/local/bin\" > > -DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/4.2\" > > -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/4.2/PostScript\" > > -DCONTACT=\"http://sourceforge.net/projects/gnuplot\" > > -DHELPFILE=\"/usr/local/share/gnuplot/4.2/gnuplot.gih\" -I/usr/include > > -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > > -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c > > 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? -- Ethan A Merritt |