|
From: Daniel J S. <dan...@ie...> - 2006-06-19 07:02:09
|
Dr. Johannes Zellner wrote:
> Hi,
>
> a big thanks for including the depth patch into gnuplot.
>
> But:
>
> in trm/post.trm there's a really ugly hardcoded path:
>
> #ifndef GNUPLOT_PS_DIR
> #define GNUPLOT_PS_DIR "/usr/local/share/gnuplot/4.1/PostScript"
> #endif
But that definition is only if GNUPLOT_PS_DIR is not defined, which should probably have been done through the ./configure process. (Although, maybe just complaining that GNUPLOT_PS_DIR is not defined would be just as good.) Something may have gone wrong with your build.
> this fails when installing gnuplot to any another prefix than /usr/local.
Did you use the installation process? Or build and then move the executable somewhere?
>
> and in config.h:
>
> /* Directory for PostScript prolog and associated files */
> #define GNUPLOT_PS_DIR "${prefix}/share/gnuplot/4.1/PostScript"
>
>
> apparently, prefix should have been expanded there.
Or perhaps--as I'm assuming you are using ./prepare prior to ./configure because you must have gotten the latest CVS if you are using the depth patch--it is a problem in your "configure" file. What are your "ac_default_prefix", "exec_prefix", "prefix" and "program_prefix" defined as?
Dan
|