|
From: Jun T. <tak...@kb...> - 2014-07-16 19:48:33
|
2014/07/17 02:26, Ethan A Merritt <sf...@us...> wrote: > Does anyone know what was the original intent of creating a symlink? The following is just my guess; not tested on Linux with x11 terminal. I can test only on Mac now, but: $ ./configure --prefix=$HOME --program-suffix='-5' --with-qt ... $ make then gnuplot and gnuplot_qt are built in src/, and $ make install this will install gnuplot as $HOME/bin/gnuplot-5, and gnuplot_qt as $HOME/libexec/gnuplot/5.0/gnuplot_qt-5 (they are renamed when installed). But qt terminal doesn't work: $ $HOME/bin/gnuplot-5 gnuplot> set term qt gnuplot> plot sin(x) Could not start gnuplot_qt with path "$HOME/libexec/gnuplot/5.0/gnuplot_qt" i.e., gnuplot-5 tries to start gnuplot_qt but in $HOME/libexec there is gnuplot_qt-5 but not gnuplot_qt (assuming I haven't installed gnuplot with --prefix=$HOME but without --program-suffix before). I guess x11 terminal is 'fixed' so that gnuplot_x11-5 (not gnuplot_x11) is correctly called. But when we run 'make check', gnuplot_x11 is in src/ but gnuplot_x11-5 is not, so 'make check' will create a symlink as ln gnuplot_x11 gnuplot_x11-5. |