|
From: Daniel J S. <dan...@ie...> - 2006-10-05 21:07:06
|
Hans-Bernhard Broeker wrote: > On Wed, 4 Oct 2006, Reiner Steib wrote: > > >>I tried to install gnuplot-4.2.rc1 on GNU/Linux (SUSE 9.2) on both >>i686 and x86_64. >> >>I want to install gnuplot to /usr/local which is shared between i686 >>and x86_64 machines. > > > This, rather than the interaction of autoconf's --program-suffix mechanism > with how we install gnuplot_x11, is the root of your problem. I've worked > in an NFS-mounted home directory shared among *completely* different > platforms (x86/Linux, Alpha/OSF1 and Mips/ULTRIX). My experience is that > the only way to get that working properly is --exec-prefix, because that's > exactly what this option is designed to do. > > One --prefix fits all, but each platform gets its own --exec-prefix. > Hans is ahead of me on this one. I was just looking through the list of variables: http://www.gnu.org/software/autoconf/manual/html_node/Installation-Directory-Variables.html#Installation-Directory-Variables Does the following help to solve any problems: ./configure --libexecdir=\${exec_prefix}/lib$(uname -i)exec What that does is define libexecdir = ${exec_prefix}/libi386exec in my src/Makefile rather than libexecdir = ${exec_prefix}/libexec Dan |