From: Herng-Jeng J. <hj...@qu...> - 2003-10-22 14:23:03
|
Hi there, I tried CVS 20031019. Compiled, installed ok without problem Then I tried to test the tk examples using plserver and it work beautifully. Then I tried using wish, according to the README.tkdemos file, such as: $ wish % lappend auto_path $prefix/lib/plplot$VERSION % package require Pltk with appropriate replacement of prefix and VERSION, but I got: can't find package Pltk Same thing happens to other example: $ wish % lappend auto_path $prefix/lib/plplot$VERSION % package require Plplotter can't find package Plplotter Can somebody help to see if this is a problem? Jou ======================================= Herng-Jeng Jou QuesTek Innovations, LLC 1820 Ridge Avenue Evanston, IL 60201 (Tel) 847.425.8221 (Fax) 847.328.5855 hj...@qu... |
From: Alan W. I. <ai...@us...> - 2003-10-22 16:57:25
|
On 2003-10-22 08:54-0500 Herng-Jeng Jou wrote: > Hi there, > > I tried CVS 20031019. Compiled, installed ok without problem > Then I tried to test the tk examples using plserver and it work > beautifully. Then I tried using wish, according to the README.tkdemos > file, such as: > $ wish > % lappend auto_path $prefix/lib/plplot$VERSION > % package require Pltk > with appropriate replacement of prefix and VERSION, but I got: > can't find package Pltk > > Same thing happens to other example: > $ wish > % lappend auto_path $prefix/lib/plplot$VERSION > % package require Plplotter > can't find package Plplotter > > Can somebody help to see if this is a problem? I cannot verify your problem here. I am using today's cvs version, which only has one change (gnome driver) relative to your 20031019 version. Here is what I did after a fresh checkout and running an autotools script to bring the tree into the state you find it in the tarball. rm -rf /usr/local/plplot_at/* ./configure --prefix=/usr/local/plplot_at --disable-static > & configure.out; \ make > & make.out ; make install > & make_install.out cd /tmp rm -rf examples cp -a /usr/local/plplot_at/lib/plplot5.2.1/examples/ . cd examples/tk # "make" put in for completeness; but these compiled examples not used in the # wish session below. make wish % lappend auto_path /usr/local/plplot_at/lib/plplot5.2.1 /usr/lib/tcl8.3 /usr/lib /usr/lib/tk8.3 /usr/local/plplot_at/lib/plplot5.2.1 % package require Pltk 5.2.1 % source tkdemos.tcl % 5 % 8 Everything worked fine for the fifth and eighth examples. You probably use a different prefix, you may or may not want to --disable-static (depending on whether you actually use the static libraries which I do not), and your version will not be plplot5.2.1. Is $prefix/bin in your path? Are you using a copy of the _installed_ examples as above? (Joao has recently tried to get the examples to work right in the build tree, but that is not as thoroughly tested as the installed examples way of doing things.) Is your configure default except for the prefix and possibly --disable-static? Note that the default configure options are the most thoroughly tested, and if you are using non-default options, you could be running into a configure bug that we are unaware of. Try default (except for prefix and disable-static) to see if you get the same bad results. Note the rm -rf steps above to insure everything is done in clean trees. I am using tcl/tk 8.3.3 from Debian stable. What is your tcl/tk version? Hope the information above, and my questions help you to sort out what is keeping wish from finding plplot. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: <jc...@fe...> - 2003-10-22 17:17:10
|
On Wednesday 22 October 2003 14:54, Herng-Jeng Jou wrote: | Hi there, | | I tried CVS 20031019. Compiled, installed ok without problem | Then I tried to test the tk examples using plserver and it work | beautifully. Then I tried using wish, according to the README.tkdemos | file, such as: | $ wish | % lappend auto_path $prefix/lib/plplot$VERSION | % package require Pltk | with appropriate replacement of prefix and VERSION, but I got: | can't find package Pltk | | Same thing happens to other example: | $ wish | % lappend auto_path $prefix/lib/plplot$VERSION | % package require Plplotter | can't find package Plplotter | | Can somebody help to see if this is a problem? If you are within the build tree you must setup auto_path to be within the build tree -- setting it to the installed version will not work. If you want to test the installed version you must cd to outside the build tree. Doing the opposite can have subtle side effects: when running a program within the build tree, which drivers and library are you using? The ones in the build tree or in the installed tree? Until recently, after "make install", and if within the build tree, you would be using the installed drivers and tck/tk extensions, but the build tree libraries... or some other combination :) I hope we have now fixed this (but not yet for python and java bindings) Thanks, Joao | | Jou | | | ======================================= | Herng-Jeng Jou | QuesTek Innovations, LLC | 1820 Ridge Avenue | Evanston, IL 60201 | (Tel) 847.425.8221 | (Fax) 847.328.5855 | hj...@qu... | | | | ------------------------------------------------------- | This SF.net email is sponsored by OSDN developer relations | Here's your chance to show off your extensive product knowledge | We want to know what you know. Tell us and you have a chance to win $100 | http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 | _______________________________________________ | Plplot-general mailing list | Plp...@li... | https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Herng-Jeng J. <hj...@qu...> - 2003-10-22 17:40:37
|
At 05:13 PM 10/22/2003 +0100, Jo=E3o Cardoso wrote: >On Wednesday 22 October 2003 14:54, Herng-Jeng Jou wrote: >| Hi there, >| >| I tried CVS 20031019. Compiled, installed ok without problem >| Then I tried to test the tk examples using plserver and it work >| beautifully. Then I tried using wish, according to the README.tkdemos >| file, such as: >| $ wish >| % lappend auto_path $prefix/lib/plplot$VERSION >| % package require Pltk >| with appropriate replacement of prefix and VERSION, but I got: >| can't find package Pltk >| >| Same thing happens to other example: >| $ wish >| % lappend auto_path $prefix/lib/plplot$VERSION >| % package require Plplotter >| can't find package Plplotter >| >| Can somebody help to see if this is a problem? > >If you are within the build tree you must setup auto_path to be within the >build tree -- setting it to the installed version will not work. >If you want to test the installed version you must cd to outside the build >tree. That's my problem. That does fix my problem. Thanks for your quick response. Jou >Doing the opposite can have subtle side effects: when running a program=20 >within >the build tree, which drivers and library are you using? The ones in the >build tree or in the installed tree? Until recently, after "make install", >and if within the build tree, you would be using the installed drivers and >tck/tk extensions, but the build tree libraries... or some other= combination >:) > >I hope we have now fixed this (but not yet for python and java bindings) > >Thanks, >Joao > >| >| Jou >| >| >| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >| Herng-Jeng Jou >| QuesTek Innovations, LLC >| 1820 Ridge Avenue >| Evanston, IL 60201 >| (Tel) 847.425.8221 >| (Fax) 847.328.5855 >| hj...@qu... >| >| >| >| ------------------------------------------------------- >| This SF.net email is sponsored by OSDN developer relations >| Here's your chance to show off your extensive product knowledge >| We want to know what you know. Tell us and you have a chance to win $100 >| http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 >| _______________________________________________ >| Plplot-general mailing list >| Plp...@li... >| https://lists.sourceforge.net/lists/listinfo/plplot-general =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Herng-Jeng Jou QuesTek Innovations, LLC 1820 Ridge Avenue Evanston, IL 60201 (Tel) 847.425.8221 (Fax) 847.328.5855 hj...@qu...=20 |