Download GSL. Follow the download link to download the latest version on the GNU site.
GNU
Step 1:
-------
Unzip the file
> untar xvfz gsl-1.12.tar.gz
Step 2:
-------
For 64 bit library in the x86_64 architecture in Mac OS 10.5.6 do the following steps.
Go inside the gsl folder then
run the configuration file with addition CFLAGS command.
> cd gsl
> ./configure CFLAGS="-m64 -arch m86_64"
Step 3:
-------
run the make command
> make
Step 4:
install the gsl
> sudo make install
The gsl default location is:
/usr/local
For include file it is
/usr/local/include
For lib file it is
/usr/local/lib
Subscribe to:
Post Comments (Atom)
Down with the Dictatorship!
"Let them hate me, so that they fear me" - Caligula 41AD
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Health benefit and values
-
It started on a rainy day. So1ace was one of the best friends I had ever in my life. He arrived in my life on 29th January 2013. I spent 3 ...
3 comments:
I think that the option should be:
./configure CFLAGS="-m64 -arch x86_64"
with an x86_64 rather than ./configure CFLAGS="-m64 -arch m86_64"
Just to clear up :)
Yes - you're right. I just stumbled upon this page and tried compiling GSL v. 1.14 under my 10.6.3 Snow Leopard MBP. It failed with the author's version - kept getting the gcc error. I then tried yours and it worked. Either way - I'm thankful to both of you!
I am glad that this post was helpful to others.
Post a Comment