|
From: Reiner S. <rei...@im...> - 2006-10-05 21:58:58
|
On Thu, Oct 05 2006, Hans-Bernhard Broeker wrote:
> On Wed, 4 Oct 2006, Reiner Steib wrote:
>> I want to install gnuplot to /usr/local which is shared between i686
>> and x86_64 machines. =20
>
> This, rather than the interaction of autoconf's --program-suffix mechan=
ism
> with how we install gnuplot_x11, is the root of your problem.
I disagree. Forget about my multi-architecture reasons[1] for a moment
and just consider a simple =BB./configure --program-suffix=3D-42=AB. You=
'll
get the very same problem...
,----
| $ gnuplot-42=20
| Expected X11 driver: /usr/local/libexec/gnuplot/4.2/gnuplot_x11
| Exec failed: No such file or directory
| See 'help x11' for more details
`----
... because there is only "gnuplot_x11-42" in
/usr/local/libexec/gnuplot/4.2/:
,----
| $ ls /usr/local/libexec/gnuplot/4.2/
| gnuplot_x11-42
`----
> 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.
I will keep this in mind. Thanks.
Bye, Reiner.
[1] If you need a reason: The user should get the distribution's
version of gnuplot, but I want to offer 4.2 for those who need the
new features.
--=20
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
|