From: Alan W. Irwin <airwin@us...> - 2004-05-07 21:40:21
Update of /cvsroot/plplot/plplot/doc/docbook/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6279
Dropped mention of editing plplot-config in the deb and rpm section.
Here is the reason: That idea won't work; compile will look in the wrong
place for headers, and the link will look in the wrong place for libraries
on the build machine. Instead, if plplot-config is left as-is, it will do
everything right except put in the appropriate --rpath option for the build
machine (which is unlikely to be /usr/lib which is required on the users'
machines for debs and rpms). That was the run-time problem I was concerned
about originally, but in fact it doesn't matter since /usr/lib will be
checked in any case for the PLplot libraries on the users' Linux machines,
and all the remaining required links are hard-coded into the PLplot library
with the correct /usr prefix values during the deb or rpm build.
RCS file: /cvsroot/plplot/plplot/doc/docbook/src/deploying.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- deploying.xml 7 May 2004 19:29:30 -0000 1.2
+++ deploying.xml 7 May 2004 21:40:11 -0000 1.3
@@ -89,11 +89,7 @@
distributions. (See http://plplot.sourceforge.net/resources/index.html
for locations of debs and rpms.) Build the application on the build
machine using the results of the "plplot-config --cflags --libs" command,
- and copy the resulting executable(s) to the users' machines. Note, you
- will probably have to edit the plplot-config script to change all
- instances of the PLplot prefix you use on the build machine (say,
- /usr/local/plplot) to /usr to be consistent with the deb and rpm install
- prefix of /usr.
+ and copy the resulting executable(s) to the users' machines.