Thanks for the update. I am using the latest PLplot (5.9.10) on Fedora 14, 64 bit. Compilers are : gcc 4.5.1, g++ and gfortran.
Concerning TCL, the version 8.5 is installed but not on a standard location (/usr/lib64). Is-it really a requirement for plplot ? Otherwise, I don't see it mentionned in the INSTALL file. Anyway, it is found by cmake (see below for an excerpt of the configuration), but build fails with : ../../src/libplplotd.so.12.0.0: undefined reference to `TclFormatInt' collect2: ld returned 1 exit status make[2]: *** [bindings/tk/plserver] Error 1 make[1]: *** [bindings/tk/CMakeFiles/plserver.dir/all] Error 2 make: *** [all] Error 2 Concerning the source directory, it's my fault not to have read the INSTALL file thoroughly. However, I like to be able to install softwares with just a quick glance at the example. Indeed, an explanation concerning plplot_cmake would help a lot. Cmake configuration (excerpt): -- Found Tclsh: /usr/bin/tclsh (found version "8.5") -- Found TCL: /usr/lib64/libtcl.so -- Found TCLTK: /usr/lib64/libtcl.so -- Found TK: /usr/lib64/libtk.so -- Looking for include paths and libraries for Tcl/Tk - found -- Looking for tclsh -- Looking for tclsh - found -- TCL_TCLSH = /usr/bin/tclsh -- TCL_INCLUDE_PATH = /usr/include -- TCL_LIBRARY = /usr/lib64/libtcl.so -- Itcl not available or not compatible with current Tcl shell -- TK_INCLUDE_PATH = /usr/include;/usr/include -- TK_LIBRARY = /usr/lib64/libtk.so -- Looking for itk.h -- Looking for itk.h - not found -- WARNING: Disabling incr Tk interface code Cheers, --- Alexis Praga Le 2013-11-13 13:06, Arjen Markus a écrit : > Hello Alexis, > > wrt PLplot in general: are you using the latest version? What platform > (OS, compiler) are you using? > > wrt your first question: what version of Tcl do you have installed? I > am not familiar with this error and I am a trifle surprised at this. > Also the message you refer is from 4 years ago, a lot has changed > since then. > > wrt the base/source directory: the confusion may be that the build > documentation refers to the source directory as the directory > containing ALL the source files. There is a subdirectory there called > "src" which contains the source files of the PLplot core only. I can > understand some of the confusion, but it is a rather common > convention. > > wrt "plplot_cmake": we should indeed make this example a bit clearer - > "plplot_cmake" is merely a place holder and that should have been > explained. > > Regards, > > Arjen > >> -----Original Message----- >> From: Alexis Praga [mailto:[email protected]] >> Sent: Wednesday, November 13, 2013 12:34 PM >> To: [email protected] >> Subject: [Plplot-general] Build documentation >> >> Hi, >> >> I have just installed PLplot. For that, I had to disable TCL as >> mentioned here : >> http://sourceforge.net/p/plplot/discussion/8607/thread/d8bed9d5 >> and use the base directory instead of the source directory, as >> mentioned here : >> http://sourceforge.net/p/plplot/support-requests/31/ >> >> Why isn't this in the documentation, especially the second "hack" ? >> Furthermore, the INSTALL file mentions we need to use a certain >> "plplot_cmake" as >> a source directory, which does not exist. >> >> Thanks >> >> -- >> Alexis Praga >> >> ------------------------------------------------------------------------------ >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native >> Apps >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >> Free >> app hosting. Or install the open source package on any LAMP server. >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and >> Native! >> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Plplot-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/plplot-general > > DISCLAIMER: This message is intended exclusively for the addressee(s) > and may contain confidential and privileged information. If you are > not the intended recipient please notify the sender immediately and > destroy this message. Unauthorized use, disclosure or copying of this > message is strictly prohibited. The foundation 'Stichting Deltares', > which has its seat at Delft, The Netherlands, Commercial Registration > Number 41146461, is not liable in any way whatsoever for consequences > and/or damages resulting from the improper, incomplete and untimely > dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
