On May 20, 2007, at 2:54 PM, Andrew Schein wrote: >> In particular, 5.7.3 includes lots of new PLplot goodies including >> our >> recommended new CMake-based build system which has a lot of >> advantages >> both >> for developers and users. I suggest you follow the directions at >> http://www.miscdebris.net/plplot_wiki to build and install 5.7.3. If >> you run >> into any trouble with those directions, then post any problems to >> this >> list, >> and we will take it from there. >> > > Hi Alan and Simon- > > Thanks for your responses. I have been following the instructions on > the plplot_wiki you describe, but have the following error: > > ake[2]: Entering directory `/home/aschein/work/extlib/plplot-5.7.3/ > build_dir' > /home/aschein/apps/bin/cmake -E cmake_progress_report /home/aschein/ > work/extlib/plplot-5.7.3/build_dir/CMakeFiles 53 > [ 54%] Building C object drivers/CMakeFiles/gd.dir/gd.o > /usr/bin/gcc -Dgd_EXPORTS -fPIC -I/home/aschein/work/extlib/ > plplot-5.7.3/include -I/home/aschein/work/extlib/plplot-5.7.3/ > build_dir -I/home/aschein/work/extlib/plplot-5.7.3/build_dir/ > include -DHAVE_CONFIG_H -I/usr/include -o drivers/CMakeFiles/ > gd.dir/gd.o -c /home/aschein/work/extlib/plplot-5.7.3/drivers/gd.c > /home/aschein/work/extlib/plplot-5.7.3/drivers/gd.c: In function > `plD_init_png_Dev': > /home/aschein/work/extlib/plplot-5.7.3/drivers/gd.c:432: error: > `smooth_text' undeclared (first use in this function) > /home/aschein/work/extlib/plplot-5.7.3/drivers/gd.c:432: error: > (Each undeclared identifier is reported only once > /home/aschein/work/extlib/plplot-5.7.3/drivers/gd.c:432: error: for > each function it appears in.) > make[2]: *** [drivers/CMakeFiles/gd.dir/gd.o] Error 1 > make[2]: Leaving directory `/home/aschein/work/extlib/plplot-5.7.3/ > build_dir' > make[1]: *** [drivers/CMakeFiles/gd.dir/all] Error 2 > make[1]: Leaving directory `/home/aschein/work/extlib/plplot-5.7.3/ > build_dir' > make: *** [all] Error 2
I believe that this error occurs because you a recent version of GD but you don't have the Freetype library installed. If you do not need the GD drivers you can turn them off (png, jpeg, gif), or alternatively, you can install the Freetype library. This problem has come up before: http://sourceforge.net/mailarchive/forum.php?thread_name=55E57839- CEC1-44AA-921B-0FF524072008%40mac.com&forum_name=plplot-devel However we don't seem to have fixed it yet. There is a logic problem in drivers/gd.c, plD_init_png_Dev(), where the variable smooth_text is defined only if the Freetype library exists. However, later in the subroutine (line 434) we assume that this variable will exist if the GD library exists. best, -Hazen ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general