From: Andrew S. <us...@an...> - 2007-05-20 03:49:37
|
Hi all - I tried to install plplot today and encountered some difficulties. The only version of PLplot I found on the source code link http://sourceforge.net/project/showfiles.php?group_id=2915 is 5.7.3. However, the main plplot page indicates that 5.7.3 is the development branch and that 5.6.1 is the last stable release. Is there a link to 5.6.1 anywhere? I am having trouble compiling 5.7.3, so if this is now a stable branch I'll follow up with another question. Thanks in advance, Andrew |
From: Alan W. I. <ir...@be...> - 2007-05-20 17:03:33
|
On 2007-05-19 23:49-0400 Andrew Schein wrote: > Hi all - > > I tried to install plplot today and encountered some difficulties. The > only version of PLplot I found on the source code link > http://sourceforge.net/project/showfiles.php?group_id=2915 is 5.7.3. > However, the main plplot page indicates that 5.7.3 is the development > branch and that 5.6.1 is the last stable release. Is there a link to > 5.6.1 anywhere? I am having trouble compiling 5.7.3, so if this is now > a stable branch I'll follow up with another question. Hi Andrew: Thanks for your question about access to old releases. After some investigation I discovered that SF has rearranged the whole download area for PLplot (and presumably all other projects). In general, to get access to any older release you have to search for it (go to http://sourceforge.net/projects/plplot, click on the download menu, and click on the search function there). For example, to access all our recent releases (including 5.6.1), specify search dates from 2006 to 2008. However, that general mechanism is pretty clumsy so I have taken advantage of additional new SF download functionality and created a customized download page including access to all files from 5.7.3, 5.6.1, and also the historic libcd release (that special library is still relevant because it is used for the cgm device). Once I created the special download page for one platform, I could copy it to all other platforms. So now in the download menu, you have a choice of Default, Windows, Mac OS X, or Linux platforms, but currently they are all the same. (Later, if we decide to do windows binary releases, they will be different.) Following the above directions, 5.6.1 should now be readily available, but I should mention that 5.7.3 seems to work well for everybody that has downloaded it (1000 downloads since the end of March), is easy to build, and is very similar to what our next stable release (5.8.0) will probably be like. Thus, I believe it would be a mistake for you to give up on 5.7.3. 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. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Andrew S. <us...@an...> - 2007-05-20 18:54:47
|
> > > 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 Thanks, Andy |
From: Hazen B. <hba...@ma...> - 2007-05-20 19:37:02
|
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 |
From: Alan W. I. <ir...@be...> - 2007-05-21 17:00:10
|
On 2007-05-20 14:54-0400 Andrew Schein wrote: > 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 Andrew Roach has just made a fix for this bug in the svn trunk version of PLplot, and this version continues to work for me (although I don't have the combination of GD version and lack of freetype that triggered the bug that Andrew Schein encountered.) Andrew (Schein), would you be willing to try the svn trunk version to see whether it works for your situation with a modern GD version and no freetype installed? From my experience the svn trunk version is currently just as stable as our last development release with additional bug fixes such as Andrew's. To access our svn trunk version, please follow the directions at http://sourceforge.net/svn/?group_id=2915 (while paying attention to the warning about accessing just the trunk unless you want to consume a lot of bandwidth with our historical tags and branches). Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Andrew S. <us...@an...> - 2007-05-22 02:49:30
|
Hi All - Thanks for all the help. I upgraded to the latest freetype today before I saw this message and that did the trick. -Andy Alan W. Irwin wrote: > On 2007-05-20 14:54-0400 Andrew Schein wrote: > >> 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 > > Andrew Roach has just made a fix for this bug in the svn trunk version of > PLplot, and this version continues to work for me (although I don't have > the combination of GD version and lack of freetype that triggered the > bug that Andrew Schein encountered.) > > Andrew (Schein), would you be willing to try the svn trunk version to see > whether it works for your situation with a modern GD version and no > freetype > installed? From my experience the svn trunk version is currently just as > stable as our last development release with additional bug fixes such as > Andrew's. To access our svn trunk version, please follow the > directions at > http://sourceforge.net/svn/?group_id=2915 (while paying attention to the > warning about accessing just the trunk unless you want to consume a > lot of > bandwidth with our historical tags and branches). > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting > software > package (plplot.org); the libLASi project (unifont.org/lasi); the > Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > > |