You need to install the development (-dev
) library of some packages.
Let's start with
sudo apt-get install libcairo2-dev libpango1-dev
maybe even libgd-dev
...
After run ./configure
and look at the output (eventually filter it with ./configure | grep no
) searching for the missing libraries.
Notes
- With
./configure --help
you can see the options that you can enable/ disable. - With
./configure
the script will try to configure gnuplot to be compiled. For each package it can say youyes
orno
when it finds the library or not... - The library requirements change with the option you are asking for.
- With
sudo apt-get install partial_name
+ Tab it should show you the alternatives. - You can even search for packages with
apt-cache search partial_name
+ Enter - You may want to install the cosy
aptsh
.
Reference
- The official site of gnuplot
- Official gnuplot Faq Q 2.4 How do I get gnuplot to compile on my system?
- The gnuplot development help page, jump after the Downloading sources from the CVS repository section.