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

[netCDF #RCJ-205439]: undefiend reffrence



>
> Hi
>
> I had another trail. i download the netcdf-3.6.3 version.
> i configure it with the order
> ./configure --prefix=$ scratch/enxmabm/netcdf-3.6.3 --enable-shared
FC=gfortran
> it works and pass the check test. but during the make install step it gives
me the following error :
>
> [enxmabm@caunton netcdf-3.6.3]$ make install
> Making install in f90
> make[1]: Entering directory `/scratch/enxmabm/netcdf-3.6.3/f90'
> make[2]: Entering directory `/scratch/enxmabm/netcdf-3.6.3/f90'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/enxmabm/netcdf-3.6.3/share/man/man3" || /bin/mkdir -p
"/enxmabm/netcdf-3.6.3/share/man/man3"
> /bin/mkdir: cannot create directory `/enxmabm': Permission denied
> make[2]: *** [install-man3] Error 1
> make[2]: Leaving directory `/scratch/enxmabm/netcdf-3.6.3/f90'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/scratch/enxmabm/netcdf-3.6.3/f90'
> make: *** [install-recursive] Error 1
>
> you will find attached the config.log file
>
>  thanks
>
> Mohamed Ali Bek Abdelrhman    address@hidden  00447912033240
ScHEME Faculty of Engineering
> University of Nottingham
> Nottingham (NG7 2RD) UK
> Fax: 0044(0)115 951 4115
>

Howdy Mohamed,

This is a simple problem. You don't have permission to create the directory
you're trying to install netCDF in:

> test -z "/enxmabm/netcdf-3.6.3/share/man/man3" || /bin/mkdir -p
"/enxmabm/netcdf-3.6.3/share/man/man3"
> /bin/mkdir: cannot create directory `/enxmabm': Permission denied

You need to have write permissions in the /enxmabm directory.

I don't think you typed your configure line quite right:
> ./configure --prefix=$ scratch/enxmabm/netcdf-3.6.3 --enable-shared
FC=gfortran

Did you mean to type the "$ " before your --prefix argument?

Please let me know if this doesn't help.

Thanks,

Ed


Ticket Details
===================
Ticket ID: RCJ-205439
Department: Support netCDF
Priority: Normal
Status: Closed