[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 950605: netCDF build on Irix 5.2.0



>From: Tom Hickson <address@hidden>
>Organization: Stanford
>Keywords: 199506052335.AA23700 netCDF IRIX 5.2.0

Hi Tom,

> I seem to be having trouble building netCDF on my SGI, Indigo 2XL system
> (Irix 5.2.0).  When I do the 'make install' command, I get a bunch of fatal
> errors due to what I think is problem with the 'install -c' command used in 
> the 'make.'  Here's my print-out:
> 
> lowe-sgi 38% make install 
> 
> making `install' in directory /disk02/home/hickson/GMT/netcdf-232pl2/xdr
> returning to directory /disk02/home/hickson/GMT/netcdf-232pl2 
> 
> making `install' in directory /disk02/home/hickson/GMT/netcdf-232pl2/fortran
>         mkdir -p /disk02/home/hickson/GMT/include
>         chmod u+rwx,g+rws,o=rx /disk02/home/hickson/GMT/include
>         /sbin/install -c -m 664 netcdf.inc 
> /disk02/home/hickson/GMT/include/netc
> df.inc 
> 
> /sbin/install: illegal option -c.  usage: /sbin/install [-m mode] [-u
> owner] [-g group] [-idb attribute] [-new]
>         [-o] [-O] [-rawidb idbpath] [-root rootpath] [-s] [-t] [-v]
>         optionally, one of [-blk maj,min[,off]] [-chr maj,min[,off]] [-dir]
>                            [-fifo] [-ln path] [-lns path] [-src path]
>         one of [-f dir] [-F dir] (mandatory unless -dir is used)
>         file1 file2 ... fileN (pathnames of files to install) 
> *** Error code 255 (bu21) make: fatal error.  
> *** Error code 1 (bu21) make: fatal error.  
> *** Error code 1 (bu21) make: fatal error.  
> *** Error code 1 (bu21)make: fatal error.
> 
> 
> It appears that my version of Irix and its associated 'install' command 
> doesn't
> accept the -c switch.  Any suggestions???

Yes, this one's covered in our FAQ list for netCDF at

    http://www.unidata.ucar.edu/packages/netcdf/faq.html#irix

from which I've included the text below:

14. How can I build netCDF for SGI under IRIX 5.x? 

     We tested the netCDF installation on IRIX 4.0 which used a BSD-style
     install, but with IRIX 5.2, the flags on the install utility
     changed. To get around this, you need to define the INSTALL
     configuration variable before building netCDF from the source
     distribution. How to do this is explained in the installation
     documents. INSTALL should be defined as

          /usr/bin/X11/bsdinst

     which, according to the IRIX 5.2 man pages is an install that uses
     BSD-style arguments. Then rerun the configure script and redo the make
     all.

The next release won't have this problem, as it uses "cp" instead of
"install". 

______________________________________________________________________________

Russ Rew                                           UCAR Unidata Program
address@hidden                              http://www.unidata.ucar.edu