I am on Ubuntu 14.04. Downloaded GnuPlot 5.0 tar ball.
sudo ./compile ; make ends with error:
mv -f $depbase.Tpo $depbase.Po
alloc.c:112:1: fatal error: opening dependency file .deps/alloc.Tpo: Permission denied
I have ver 4.6 installed from Ubuntu Software Center.
I do not know what went wrong with your compilation run, but whatever it was does not look like a gnuplot source file error. Where did the "./compile" script come from? That is not a part of the gnuplot distribution per se. Was it something added by Ubuntu?
The normal way to build gnuplot from the tarball source is
./configure
make
Yes, I did ./configure ; make and then make install
I don't follow you. Did the "make" command work?
If so, then why were you running a "./compile" script?
If not, what were you trying to install?
Is there a file .deps/alloc.Tpo as mentioned in the error message
(I suppose that would be $topdir/src/.deps/alloc.Tpo), and does it belong to you with normal permissions?
By the way, in case you decide to start all over again from scratch, please note that you do not need to use "sudo" to compile the program. In fact that is probably not a good idea. Compile it as yourself first, check that it works
("make check") and only then use sudo to install it.
Last edit: Ethan Merritt 2015-03-06
Ticket moved from /p/gnuplot/bugs/1574/
Can't be converted: