|
From: Aldric L'Hernault<Aldric.L'<Her...@mo...> - 2003-07-08 10:24:37
|
Hello I cannot compile plplot 5.2.1 on HP since the compile-time 'get-drv-info' binary fails when given 'tk' or 'tkwin' as argument. My questions are: - is the driver info platform dependant ? - if not, can someone provide me with the content of tk.rc and tkwin.rc file ? Thanks for your time, Aldric |
|
From: Rafael L. <lab...@ps...> - 2003-07-08 12:37:51
|
* Aldric L'Hernault <Aldric.L'Her...@mo...> [2003-07-08 12:24]: > I cannot compile plplot 5.2.1 on HP since the compile-time 'get-drv-info' > binary fails when given 'tk' or 'tkwin' as argument. Does it work for all the other drivers? Could you please send the build log to us? > My questions are: > - is the driver info platform dependant ? No, they are ascii files. > - if not, can someone provide me with > the content of tk.rc and tkwin.rc file ? The files are attached below. A+, -- Rafael |
|
From: Aldric L'H. <ald...@fr...> - 2003-07-09 10:30:15
|
* Rafael Laboissiere <lab...@ps...>: > * Aldric L'Hernault <Aldric.L'Her...@mo...> [2003-07-08 12:24]: > > > I cannot compile plplot 5.2.1 on HP since the compile-time 'get-drv-info' > > binary fails when given 'tk' or 'tkwin' as argument. > > Does it work for all the other drivers? Could you please send the build log > to us? Thanks Rafael for your answer. I could go on with the *.rc files you sent me. The drivers seem OK now. I tried to send the build log but it got bounced (over 40kB) I still got problems but with with tcl bindings this time. The pkgIndex.tcl file states a 5.3.0 version, but I am compiling 5.2.1, and shared libraries names end with 8.0 ! I'll dig a bit further this afternoon ... Aldric |
|
From: Rafael L. <lab...@ps...> - 2003-07-09 11:09:06
|
* Aldric L'Hernault <ald...@fr...> [2003-07-09 12:30]: > The drivers seem OK now. I tried to send the build log but it got bounced > (over 40kB) Send it privately to me, if you still have problems. > I still got problems but with with tcl bindings this time. The pkgIndex.tcl > file states a 5.3.0 version, but I am compiling 5.2.1, and shared libraries > names end with 8.0 ! I'll dig a bit further this afternoon ... The "5.3.0" string that shows up in pkgindex.tcl has its origin in this code in configure.ac: ### LIBRARY_VERSION must be kept consistent with the libtool SOVERSION so ### that the various configured pkgIndex.tcl scripts know the numerical ### suffix of the PLplot libraries. This may generate cross-platform ### tcl/tk issues for certain unices which do not have a numerical suffix ### on their shared libraries, but this should be addressed when the rest ### of the tcl/tk PLplot configuration is updated to work for the non-Linux ### case. LIBRARY_VERSION=5.3.0 AC_SUBST(LIBRARY_VERSION) IIRC, this was written by Alan. The warning in the comments above apply to the HPUX case. The assumption that the soname will be 5.3.0 in all systems is clearly wrong. As an interim solution, you may try to change "LIBRARY_VERSION=5.3.0" to "LIBRARY_VERSION=8.0" (or whatever) in your HPUX system. We will eventually try to find a fix for this problem. -- Rafael |
|
From: Alan W. I. <ir...@be...> - 2003-07-09 14:51:46
|
On Wed, 9 Jul 2003, Aldric L'Hernault wrote: > I still got problems but with with tcl bindings this time. > The pkgIndex.tcl file states a 5.3.0 version, but I am > compiling 5.2.1, and shared libraries names end with 8.0 ! > I'll dig a bit further this afternoon ... Aldric, one proposal we have been discussing on plplot_devel is drop the library version altogether from pkgIndex.tcl. Here is the result of ls -l in $prefix/lib on my system. ls -l libplplot* -rwxr-xr-x 1 software software 893 Apr 21 14:11 libplplotcxxd.la* lrwxrwxrwx 1 software software 22 Apr 21 14:11 libplplotcxxd.so -> libplplotcxxd.so.5.3.0* lrwxrwxrwx 1 software software 22 Apr 21 14:11 libplplotcxxd.so.5 -> libplplotcxxd.so.5.3.0* -rwxr-xr-x 1 software software 172856 Apr 21 14:11 libplplotcxxd.so.5.3.0* -rwxr-xr-x 1 software software 836 Apr 21 14:11 libplplotd.la* lrwxrwxrwx 1 software software 19 Apr 21 14:11 libplplotd.so -> libplplotd.so.5.3.0* lrwxrwxrwx 1 software software 19 Apr 21 14:11 libplplotd.so.5 -> libplplotd.so.5.3.0* -rwxr-xr-x 1 software software 631655 Apr 21 14:11 libplplotd.so.5.3.0* -rwxr-xr-x 1 software software 893 Apr 21 14:11 libplplotf77d.la* lrwxrwxrwx 1 software software 22 Apr 21 14:11 libplplotf77d.so -> libplplotf77d.so.5.3.0* lrwxrwxrwx 1 software software 22 Apr 21 14:11 libplplotf77d.so.5 -> libplplotf77d.so.5.3.0* -rwxr-xr-x 1 software software 93542 Apr 21 14:11 libplplotf77d.so.5.3.0* -rwxr-xr-x 1 software software 899 Apr 21 14:11 libplplotjavad.la* lrwxrwxrwx 1 software software 23 Apr 21 14:11 libplplotjavad.so -> libplplotjavad.so.5.3.0* lrwxrwxrwx 1 software software 23 Apr 21 14:11 libplplotjavad.so.5 -> libplplotjavad.so.5.3.0* -rwxr-xr-x 1 software software 174878 Apr 21 14:11 libplplotjavad.so.5.3.0* -rwxr-xr-x 1 software software 983 Apr 21 14:11 libplplottcltkd.la* lrwxrwxrwx 1 software software 24 Apr 21 14:11 libplplottcltkd.so -> libplplottcltkd.so.5.3.0* lrwxrwxrwx 1 software software 24 Apr 21 14:11 libplplottcltkd.so.5 -> libplplottcltkd.so.5.3.0* -rwxr-xr-x 1 software software 399210 Apr 21 14:11 libplplottcltkd.so.5.3.0* Thus, referring to the *.so library name will automatically access the full versioned library under Linux. Could you give us similar output for HPUX so we can discover what is possible in that case? Thanks in advance. 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), and the Loads of Linux Links project (loll.sf.net). __________________________ Linux-powered Science __________________________ |
|
From: Aldric L'H. <ald...@fr...> - 2003-07-09 15:50:07
|
Quoting "Alan W. Irwin" <ir...@be...>: > Here is the result of ls -l in $prefix/lib on my system. > > ls -l libplplot* > [snip] Could you give us similar output for HPUX > so we can discover what is possible in that case? Here is my listing (libplplot* all follow same scheme) -rw-r--r-- libplplotcxxd.a -rwxr-xr-x libplplotcxxd.la lrwxr-xr-x libplplotcxxd.sl -> libplplotcxxd.sl.8.0 lrwxr-xr-x libplplotcxxd.sl.8 -> libplplotcxxd.sl.8.0 -rwxr-xr-x libplplotcxxd.sl.8.0 Dropping library version from pkgIndex.tcl would be fine for HPUX too since the *.sl -> *.sl.8.0 links exist. Thanks for your help. Aldric |