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

[netCDF #JKT-429930]: NetCDF installation



> Hi all,
> I am trying to install NetCDF on my Fedoracore Linux (platform:linux_ia32)
but I got following errors when I use make install. I would be happy if someone
give me some ideas
>
> make[1]: Entering directory `/home/Abbas/netcdf-3.6.2/f90'
> make[2]: Entering directory `/home/Abbas/netcdf-3.6.2/f90'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/share/man/man3" || mkdir -p --
"/usr/local/share/man/man3"
> /usr/bin/install -c -m 644 './netcdf_f90.3'
'/usr/local/share/man/man3/netcdf_f90.3'
> /usr/bin/install: cannot create regular file
`/usr/local/share/man/man3/netcdf_f90.3': Permission denied
> make[2]: *** [install-man3] Error 1
> make[2]: Leaving directory `/home/Abbas/netcdf-3.6.2/f90'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/Abbas/netcdf-3.6.2/f90'
> make: *** [install-recursive] Error 1
>
> Thanks,
> Abbas
>
>
>
>

Howdy Abbas!

Looks like you don't have permission to install netCDF under /usr/local.

You can rerun configure with --prefix=/home/Abbas (or some other directory that
you can write to), and rerun make install to install netCDF under that new
directory.

Then you could add the new location to your MANPATH, to see the netCDF man
pages. (To use the library you must include the proper -I and -L options to
your program makefiles).

Please let me know if this doesn't work for you.

Thanks!

Ed

Ticket Details
===================
Ticket ID: JKT-429930
Department: Support netCDF
Priority: Normal
Status: Closed