Cln version 1.2.2 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.2.2

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


      The cln Portfile 54602 2009-07-30 06:29:03Z toby macports.org $

      PortSystem 1.0

      Name: cln
      Version: 1.2.2
      Category: math
      Platform: darwin
      Maintainers: gwright
      Description: Class Library for Numbers
      Long Description: CLN is a C++ library providing a rich library of numeric functions.

      use_bzip2 yes

      Homepage: http://www.ginac.de/CLN/
      Master Sites: ${homepage}

      Checksums: md5 6b479281fec86314b4c7a9357bd83ef8 sha1 2d2a5d3e383a3043c5bf68299a466685ef4ec8ec rmd160 e53ceebede73fb3f97ca85aeba1c821e1e7d3c38

      depends_lib port:gmp

      platform darwin 7 {
      pre-fetch {
      error "cln is not supported on Panther (OS X 10.3.x)"
      }
      }

      configure.cflags-delete -O2
      configure.cflags-append -O

      configure.args --with-gmp=${prefix}/lib --infodir=${prefix}/share/info --mandir=${prefix}/share/man

      default_variants +test
      Variant: test description {run testsuite} {
      test.run yes
      test.target check
      }


    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/cln
      % sudo port install cln
      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 cln
      ---> Verifying checksum for cln
      ---> Extracting cln
      ---> Configuring cln
      ---> Building cln with target all
      ---> Staging cln into destroot
      ---> Installing cln
    - 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 cln with these commands:
      %  man cln
      % apropos cln
      % which cln
      % locate cln

     Where to find more information:

    Darwin Ports



    Lightbox this page.