Gsl-devel version 1.11.90 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    gsl-devel  most recent diff


    version 1.11.90

      View the most recent changes for the gsl-devel port at: gsl-devel.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for gsl-devel.
      The raw portfile for gsl-devel 1.11.90 is located here:
      http://gsl-devel.darwinports.com/dports/math/gsl-devel/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gsl-devel


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The gsl-devel Portfile 54602 2009-07-30 06:29:03Z toby macports.org $

      PortSystem 1.0

      Name: gsl-devel
      Version: 1.11.90
      Category: math science
      Maintainers: openmaintainer jochen
      Homepage: http://www.gnu.org/software/gsl
      Description: A numerical library for C and C++ programmers
      Long Description: The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License. The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total.

      distname gsl-${version}
      Master Sites: ftp://alpha.gnu.org/gnu/gsl/
      Checksums: md5 817516ab8aed50683ecadc52c82d6001 sha1 5514232f7e7daec399990f81b566f86f1ca25efa rmd160 aa974bc4b1aebbacf5c41ad70115bd94bc9dc6b8

      Platform: darwin
      # Lower optimization level (-O1) is required to avoid code generation bugs in Apple's gcc 3.3 and earlier.
      platform darwin 7 {
      configure.cflags-append "-O1"
      }

      configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info
      depends_build port:texinfo
      test.run yes
      test.target check

      post-install {
      system "install-info ${destroot}${prefix}/share/info/gsl-ref.info ${prefix}/share/info/dir"
      }

      Variant: doc description "Install PDF and HTML documentation" {
      depends_build port:ghostscript bin:latex:texlive
      post-destroot {
      system "cd ${worksrcpath} && make dvi"
      system "cd ${worksrcpath}/doc && dvipdf gsl-ref.dvi gsl-ref.pdf"
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
      xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf ${destroot}${prefix}/share/doc/${name}
      system "cd ${worksrcpath}/doc && latex fftalgorithms"
      system "cd ${worksrcpath}/doc && bibtex fftalgorithms"
      system "cd ${worksrcpath}/doc && latex fftalgorithms"
      system "cd ${worksrcpath}/doc && latex fftalgorithms"
      system "cd ${worksrcpath}/doc && dvipdf fftalgorithms.dvi fftalgorithms.pdf"
      xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf ${destroot}${prefix}/share/doc/${name}
      system "cd ${worksrcpath} && make html"
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/html
      eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] ${destroot}${prefix}/share/doc/${name}/html
      }
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/gsl-devel
      % sudo port install gsl-devel
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching gsl-devel
      ---> Verifying checksum for gsl-devel
      ---> Extracting gsl-devel
      ---> Configuring gsl-devel
      ---> Building gsl-devel with target all
      ---> Staging gsl-devel into destroot
      ---> Installing gsl-devel
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gsl-devel with these commands:
      %  man gsl-devel
      % apropos gsl-devel
      % which gsl-devel
      % locate gsl-devel

     Where to find more information:

    Darwin Ports



    Lightbox this page.