Re: Linux Slackware 4.0

From: H C Pumphrey (hcp AT unknown)
Date: Thu Sep 14 2000 - 05:58:25 MDT

  • Next message: Tom Merrall: "PC Linux binaries"

    Hi All,

    A few days ago, Saul marin asked:

    > I am trying to set up NCARG in a PC with 256 MB in RAM and running
    > Linux Slackware 4.0 System. I download the Pre-compiled binaries for
    > an IBM PC running LINUX RedHat 6.2 from the home page of Ncar graphic
    > V$.2.1 I set up this software and it seemed that everything was ok.
    > However, when I try to test my installation of NCAR Graphics Software,
    > as it is suggested at the homepage, with the following command:
    > ncargex example
    > I get the following message: "Segmentation fault"

    I replied to this a few days ago and suggested biting the bullet and
    compiling the source. This is doable, and should have got easier as Mary
    H. has made some fixes to the source tarball. It now has a new minor
    version number, too - it is version 4.2.2.

    The gotchas that I found with the previous version were:

    (1) Some versions of gcc/g77 (2.95.2 in particular) won't compile the file
    cpgetr.f You can fix this by reverting to an older version of g77 or
    using fort77 (a script which calls f2c -- a Fortran-to-C translator so it
    seems like a true Fortran compiler)

    (2) You can choose your Fortran compiler by editing the file config/LINUX
    If you stick with g77 you may need to alter the
    #define CtoFLibraries
    line to point to where libg2c.a really is on your system.

    (3) Several of the source files wouldn't compile with fort77 because they
    have data statements before declarations. (g77 allows this non-standard
    feature). This is what has been fixed in 4.2.2, but I have not tested it
    yet. The files in question were ffprsa.f, tdez2d.f, tdez2d.f, gqtxx.f,
    cssgrid.f and cssgridd.f

    (4) The configure script may fail if your machine name has a - in it.
    do
    hostname fubar
    before running ./Configure and do
    hostname original-name-with-dashes
    afterwards

    (5) Don't tell the configure script that you ahve HDF installed if this is
    not true.

    HTH!

    Hugh

    ========I=t='=s==h=o=t=,==I=t='=s==n=e=w===I=t='=s==D=e=b=i=a=n==2=.=2=====
    Dr. Hugh C. Pumphrey | Tel. 0131-650-6026,Fax:0131-650-5780
    Department of Meteorology | Replace 0131 with +44-131 if outside UK
    The University of Edinburgh | Email hcp AT unknown
    EDINBURGH EH9 3JZ, Scotland | URL: http://www.met.ed.ac.uk/~hcp
    ===========================================================================



    This archive was generated by hypermail 2b29 : Thu Sep 14 2000 - 07:47:42 MDT