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

Re: netcdf install on SGI



Hi Andrew,

> I'm trying to install netcdf on my machine (Indigo 2, Irix 5.2) and in spite
> of the 'configure' command, I seem to get an error when I 'make install'.
> The program compiles correctly, but when I try to do a 'make install' to
> the scratch directory where I am, I get the following:
> 
> [ anselmo@ERXSG ~/temp4/netcdf-232pl2 ]:
> making `install' in directory /disk2/people/anselmo/temp4/netcdf-232pl2/xdr
> 
> 
> returning to directory /disk2/people/anselmo/temp4/netcdf-232pl2
> 
> 
> making `install' in directory 
> /disk2/people/anselmo/temp4/netcdf-232pl2/fortran
> 
>         /sbin/install -c -m 664 netcdf.inc
> /disk2/people/anselmo/temp4/include/netcdf.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)

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 will have to define INSTALL.  You can either set the
INSTALL environment variable, use an argument to configure, or define
INSTALL in the CUSTOMIZE file.

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'.
Please let me know if this doesn't work.

--Russ