Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #191 > unrolled thread

Re: updating gnuplot

Started byJames Waldby <not@valid.invalid>
First post2011-03-29 15:00 +0000
Last post2012-07-29 23:39 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: updating gnuplot James Waldby <not@valid.invalid> - 2011-03-29 15:00 +0000
    Re: updating gnuplot ysrhcu@gmail.com - 2012-07-29 12:21 -0700
      Re: updating gnuplot hrimthurse <hrimthurse@gmail.com> - 2012-07-29 23:39 +0200

#191 — Re: updating gnuplot

FromJames Waldby <not@valid.invalid>
Date2011-03-29 15:00 +0000
SubjectRe: updating gnuplot
Message-ID<imss71$g5g$3@dont-email.me>
On Tue, 29 Mar 2011 03:48:37 -0700, Ze wrote:
> I tryed to update gnuplot to the current version but it didn't work.
> 
> I have gnuplot version 4.2.5 installed on my system which is Mac OSX
> 10.6. [...] [at] /opt/local/bin/gnuplot
> I downloaded the current version of gnuplot, 4.4.3, double clicked the
> downloaded file to untar it, and at the terminal in that directory, I
> did
> 
> $./configure
> $make
> $make install
> 
> After this last command I got the following:
> 
> Making install in config
[...]
> "/usr/local/share/gnuplot/4.4/js" || .././install-sh -c -d "/
> usr/local/share/gnuplot/4.4/js"
> mkdir: /usr/local/share/gnuplot: Permission denied make[2]: ***
> [install-jsDATA] Error 1 make[1]: *** [install-am] Error 2
> make: *** [install-recursive] Error 1
> 
> Now, when I type gnuplot at the terminal I see that my version is still
> the old one, 4.2.5. How do I update to the new version?

"Permission denied" and "Error" mean the install failed, in this
case due to lack of file or directory write permission.  You
will need to run  make install  as superuser.  For example,

   sudo make install
or
   su -c 'make install'

or login as root, make install, and logout, via
   su -
   make install
   ^D

-- 
jiw

[toc] | [next] | [standalone]


#1297

Fromysrhcu@gmail.com
Date2012-07-29 12:21 -0700
Message-ID<74b8bbc1-e1bd-48e9-af61-5d4fe88ae19a@googlegroups.com>
In reply to#191
I got the same error from 'make install'. I work on the linux server and i dont have root password. Is it possible to install on my home directory? Could you please tell me how?
Many thanks.



On Tuesday, 29 March 2011 08:00:50 UTC-7, James Waldby  wrote:
> On Tue, 29 Mar 2011 03:48:37 -0700, Ze wrote:
> > I tryed to update gnuplot to the current version but it didn't work.
> > 
> > I have gnuplot version 4.2.5 installed on my system which is Mac OSX
> > 10.6. [...] [at] /opt/local/bin/gnuplot
> > I downloaded the current version of gnuplot, 4.4.3, double clicked the
> > downloaded file to untar it, and at the terminal in that directory, I
> > did
> > 
> > $./configure
> > $make
> > $make install
> > 
> > After this last command I got the following:
> > 
> > Making install in config
> [...]
> > "/usr/local/share/gnuplot/4.4/js" || .././install-sh -c -d "/
> > usr/local/share/gnuplot/4.4/js"
> > mkdir: /usr/local/share/gnuplot: Permission denied make[2]: ***
> > [install-jsDATA] Error 1 make[1]: *** [install-am] Error 2
> > make: *** [install-recursive] Error 1
> > 
> > Now, when I type gnuplot at the terminal I see that my version is still
> > the old one, 4.2.5. How do I update to the new version?
> 
> "Permission denied" and "Error" mean the install failed, in this
> case due to lack of file or directory write permission.  You
> will need to run  make install  as superuser.  For example,
> 
>    sudo make install
> or
>    su -c 'make install'
> 
> or login as root, make install, and logout, via
>    su -
>    make install
>    ^D
> 
> -- 
> jiw

[toc] | [prev] | [next] | [standalone]


#1298

Fromhrimthurse <hrimthurse@gmail.com>
Date2012-07-29 23:39 +0200
Message-ID<jv4aik$78f$1@solani.org>
In reply to#1297
On 07/29/2012 09:21 PM, ysrhcu@gmail.com wrote:
> I got the same error from 'make install'. I work on the linux server and i dont have root password. Is it possible to install on my home directory? Could you please tell me how?
> Many thanks.


Yes that's possible, you can specify the install directory when using 
configure:

./configure --prefix=$HOME --program-suffix=-4.6.0
make
make install

The prefix specifies the path in which gnuplot is installed. With 
"--prefix=$HOME" the executable file will be in $HOME/bin, so you could 
add this to your $PATH. Some distributions do this as default, type 
"echo $PATH" to check this. If $HOME/bin is not in your PATH, add 
"PATH="$HOME/bin":$PATH to your .bashrc.
Note: Some people like to use an extra directory like $HOME/usr to keep 
things clean.

The "program-suffix" is appended to the bin file. If you use "-4.6.0" as 
a suffix, the executable file is named "gnuplot-4.6.0". So you can still 
call the normal gnuplot with the command "gnuplot".

For more information use ./configure --help

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web