3

I'm trying to install gnuplot 5.3 from github. I'm running

aclocal
autoheader
autoconf
automake

inside the package location.

This gives an error because automake is looking for Makefile.in and I have a bunch of Makefile.am files, supposedly automake should change the .am files to .in but that clearly doesn't happen. Can't run ./configure after becuase of the same reason, how do I get the .am files to change to .in?

2
  • You should read the "INSTALL'", "README" files, and probably run "./configure`" FIRST.
    – waltinator
    Mar 14, 2019 at 4:47
  • The install and readme tell me to do what I did, run autoconf and then ./configure but I get an error because of the .am files.
    – Juan David
    Mar 14, 2019 at 5:08

1 Answer 1

2

At first please note that GNU Plot is packaged in all Ubuntu versions:

binary gnuplot package


But you can compile GNU Plot from GitHub by using the followed procedure:

  1. Enable Source code repositories in Software & Updates (software-properties-gtk) and install compile-time dependencies to be completely sure that all dependencies are satisfied on compile time

    sudo apt-get build-dep gnuplot
    
  2. Install needed tools

    sudo apt-get install git lua5.1
    
  3. Clone repository and run ./prepare script first (!!! important step !!!)

    git clone https://github.com/gnuplot/gnuplot.git
    cd gnuplot
    ./prepare
    
  4. Then run all usual tools:

    ./configure
    make
    #make check # shows various very beautiful plots
    sudo make install
    

    Note: it is better to use Checkinstall (sudo make checkinstall install) in last step, decide by yourself.

1
  • It worked perfectly, I needed to install gnuplot via git repository because I was needing features of version 5.3 and it is not possible to install that version any other why.
    – Juan David
    Mar 28, 2019 at 22:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .