[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 950103: minor problems with make install, make all...
- Subject: Re: 950103: minor problems with make install, make all...
- Date: Thu, 04 Jan 1996 08:43:24 -0700
>Organization: Multimedia Lab, University of Zurich, Switzerland
>Keywords: 199601032155.AA03324
Hi Bernhard,
> Some minor problems:
>
> (1) When I execute the make install command on an SGI (IRIX 5.3) as indicated
> in INSTALL, I get the error:
>
> /sbin/install -c -m 664 libnetcdf.a
> /home/claude3/bwagner/I_SKA/NETCDF/tmp/netcdf-232pl2/lib/libnetcdf.a
>
> /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)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
> The Problem is, that on an SGI (IRIX 5.3), the install command doesn't
> allow the option -c.
>
> When I crosscheck this on a sun (SunOS 4.1.3 4 sun4m), man install says:
>
> Sun Release 4.1 Last change: 7 September 1988 1
>
> INSTALL(1) USER COMMANDS INSTALL(1)
>
> -o owner If run as root, set the ownership of the
> installed file to the user-ID of owner.
>
> -c Copy files. In fact install always copies
> files, but the -c option is retained for
> backwards compatibility with old shell
> scripts that might otherwise break.
>
>
> Maybe this -c option should be removed, what do you think ?
A workaround for this problem is mentioned in the netCDF Frequently Asked
Questions list at
http://www.unidata.ucar.edu/packages/netcdf/faq.html
and the problem is fixed in the netCDF 2.4 beta release, available as
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-2.4-beta.tar.Z
> (2) When I installed netcdf on a hp (HP-UX A.09.07 C 9000/770),
> the Makefile also produced fortran-code,
> although I had unset FC ('setenv FC', using a tcsh)
> The output portion is:
>
> making `all' in directory
> /home/claude3/bwagner/I_SKA/NETCDF/tmp/netcdf-232pl2/fortran
>
> ./fortc -L . -O hpux common.inc > netcdf.inc
> ./fortc -L . -O hpux jackets.src > jackets.c
> cc -c -I../libsrc -DNDEBUG -D_HPUX_SOURCE -DNO_HAVE_PROTOTYPES
> -Dconst= -DNO_STDARG -O jackets.c
> ar rcuv ../libsrc/libnetcdf.a jackets.o a - jackets.o
> ranlib ../libsrc/libnetcdf.a
> ranlib: ar already did it for you, see ar(1).
>
> same thing with make test:
> test0.f:
> MAIN fgennc:
> *** ncgen -f test successful ***
This problem is mentioned in the "Known Problems with the netCDF
Distribution" document at
http://www.unidata.ucar.edu/packages/netcdf/known_problems.html
and fixed in the current netCDF 2.4 beta release.
> (3) Another problem is, I think, that it is not mentioned in the
> HTML-documentation, that there is a flag to avoid errors to
> be fatal. I only found this out by chance, while looking at
> the source of driver.c in nctest.
You're right that mention of this could be made more prominent, but it is
actually documented in the netCDF User's Guide (Section 4.5, Error Handling)
and in the HTML version of that, in the last section of
http://www.unidata.ucar.edu/packages/netcdf/guide.txn_6.html
Since the question comes up frequently, I've also added it to the Frequently
Asked Questions document, referred to above, specifically:
http://www.unidata.ucar.edu/packages/netcdf/faq.html#error-handling
Thanks for the feedback. We hope to have the netCDF version 2.4 ready for
release soon, but unless you need it for VMS or MSDOS, the 2.4 beta release
that is now available has some significant advantages over the current
2.3.2pl2 release. For details of what's fixed in the new release, see the
release notes, at
http://www.unidata.ucar.edu/packages/netcdf/release-notes.html
--Russ
______________________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu