[Help-gsl] Unable to install latest version of GSL on linux

2013-10-30 Thread Neha Chhabra (nechhabr)
Hi,

I am trying to download and install gsl manually on my redhat machine. I 
followed the following steps:
1.  go to: http://www.gnu.org/prep/ftp.html
2.  click on an ftp link close to your location
3.  find the gsl/ directory and click on it
4.  find the gsl-VERSION.tar.gz file, where version is 1.14 or greater. 
Click on that file to download it.
5.  In a terminal window extract the tar.gz file using tar -xzf 
gsl-VERSION.tar.gz and then cd to the ./gsl-VERSION directory
6.  Look at the INSTALL file. It will probably tell you to run ./configure, 
then make, and then make install (and you might have to login as the superuser 
(sudo)

When I try step 5, I get an error -
Gzip: stdin : unexpected end of file
tar : Child returned status 1
tar: Error exit delayed from previous errors.

Could you please tell me how can I correct the error and if there is any 
command to automatically install gsl-1.16 on RedHat?

Thanks,
Neha



Re: [Help-gsl] Unable to install latest version of GSL on linux

2013-10-30 Thread Rhys Ulerich
 When I try step 5, I get an error -
 Gzip: stdin : unexpected end of file
 tar : Child returned status 1
 tar: Error exit delayed from previous errors.

Sounds like your download is corrupted.

 Could you please tell me how can I correct the error and if there is any 
 command to automatically install gsl-1.16 on RedHat?

Does 'sudo yum install gsl-devel' work for you?

- Rhys



Re: [Help-gsl] Unable to install latest version of GSL on linux

2013-10-30 Thread Neha Chhabra (nechhabr)
Hi,

If I run that command, it installs the gsl-1.13. I want to install gsl-1.16.

Thanks,
Neha

-Original Message-
From: Rhys Ulerich [mailto:rhys.uler...@gmail.com] 
Sent: Wednesday, October 30, 2013 1:33 PM
To: Neha Chhabra (nechhabr)
Cc: help-gsl@gnu.org
Subject: Re: [Help-gsl] Unable to install latest version of GSL on linux

 When I try step 5, I get an error -
 Gzip: stdin : unexpected end of file
 tar : Child returned status 1
 tar: Error exit delayed from previous errors.

Sounds like your download is corrupted.

 Could you please tell me how can I correct the error and if there is any 
 command to automatically install gsl-1.16 on RedHat?

Does 'sudo yum install gsl-devel' work for you?

- Rhys



Re: [Help-gsl] Unable to install latest version of GSL on linux

2013-10-30 Thread Rhys Ulerich
 If I run that command, it installs the gsl-1.13. I want to install gsl-1.16.

I suggest retrying the download of 1.16 then as your earlier one
seemed to be corrupted (or else you somehow misissued the commands)

You can download-and-unpack into the current directory in one step with
curl ftp://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz | tar xzv
on the command line provided curl is installed.

- Rhys