|
From: <tim...@en...> - 2006-06-17 05:17:19
|
Timoth=E9e Lecomte wrote: > Ethan Merritt wrote: > =20 >> On Friday 16 June 2006 04:33 pm, you wrote: >> =20 >> =20 >>> Ethan Merritt wrote: >>> =20 >>> =20 >>>> Procedure: >>>> ./prepare >>>> ./configure --readline=3Dgnu >>>> make distclean >>>> >>>> Non-fatal error message during the "make check" part >>>> ---------------------------------------------------- >>>> Can't load PNG icon(s) of the toolbar. >>>> =20 >>>> =20 >>> I can only solve that by using XPM files included at compile time. >>> =20 >>> =20 >> I don't see why that should be. =20 >> Isn't it just a matter of setting an environmental variable >> during the "make check" run so that the icons are picked up >> from the build directory rather than their eventual install >> directory? >> That's what it does with GNUPLOT_DRIVER_DIR (to pick up gnuplot_x11). >> =20 >> =20 > Oh yes, I forgot that option. I can do that. > > Timoth=E9e > =20 Hmm. It turns out not to be as easy as it seems. The difference with gnuplot_x11 is that the latter is a compiled file.=20 Let me explain, in case one of you has an idea to solve this mess. When 'make distcheck' enters ./demo to do 'make check', =20 GNUPLOT_DRIVER_DIR is set to " `pwd`/../src ", so that gnuplot_x11 is=20 looked in the right place. I thought I would just had to similarly set=20 WXT_PNG_DIR to " `pwd` /../src/wxterminal/bitmaps/png ", but it does not=20 work. When I say " 'make distcheck' enters ./demo", in fact it enters=20 <gnuplot root>/gnuplot-4.1.0/_build/demo and there is nothing in=20 <gnuplot_root>/gnuplot-4.1.0/_build/src/wxterminal/bitmaps/png as 'make=20 install' has not been called, whereas gnuplot_x11 is is=20 <gnuplot_root>/gnuplot-4.1.0/_build/src because it has just been compiled. I thought I could set WXT_PNG_DIR to " `pwd`=20 /../../../src/wxterminal/bitmaps/png ", but that would not work if you=20 just try 'make check' in <gnuplot_root>. I would need an absolute path to <gnuplot_root>, but I don't know how to=20 get this one. Any suggestion ? Timoth=E9e |