When I type echo $PATH I get: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
how under the directory /home/snyderjm/Desktop/netcdf-4.0.1 I have ncdump and ncgen. As a matter of fact here is my directory: snyde...@snyderjm-laptop:~/Desktop/netcdf-4.0.1$ ls acinclude.m4 COPYRIGHT libncdap3 nc-config netcdf.pc.in aclocal.m4 cxx libsrc nc-config.in nf_test compile cxx4 libsrc4 ncdap.m4 README config.guess depcomp libtool ncdap_test RELEASE_NOTES config.h examples ltmain.sh ncdump stamp-h1 config.h.in f90 m4 ncgen VERSION config.log fortran Makefile ncgen4 win32 config.status hdf5-1.8.1 Makefile.am nctest zlib-1.2.3 config.sub hdf5-1.8.1.tar Makefile.in nc_test zlib-1.2.3.tar configure INSTALL man4 nc_test4 configure.ac install-sh missing netcdf.pc Now when I configure WRF model here is what I get: snyde...@snyderjm-laptop:~/Desktop/WRFV3$ ./configure checking for perl5... no checking for perl... found /usr/bin/perl (perl) ** WARNING: No path to NETCDF and environment variable NETCDF not set. ** would you like me to try to fix? [y] Enter full path to NetCDF include directory on your system What do I enter for the netcdf include directory? Thanks, Jason On Mon, Mar 1, 2010 at 3:29 PM, Unidata netCDF Support < [email protected]> wrote: > Jason- > let me make sure I understand your questions. > > > sudo ./configure > > sudo make install > Ok, this should have installed in the default > location, which is /usr/local, which means that > there should be programs named ncgen and ncdump > in /usr/local/bin > and there should be at least one library > named libnetcdf.<something> in /usr/local/lib. > > > I also did make check and everything seems all right based on make check. > That is confirmation that it compiled correctly. > > >is it because of lack of write access that I have for the directory > >/home/snyderjm/Desktop/netcdf-4.0.1? > No, this directory is the one containing the source for netcdf-4.0.1. > When you do "make install", this source is compiled > and then the necessary parts (programs, libraries, headers, and > documentation) > are installed in /usr/local/. > > >How do I obtain access to /usr/local? > You will need to add /usr/local/bin to your PATH environment variable. > If you do the command "echo $PATH" you can see if it is already there > (I am betting that it is). Once it is in your path, then you > can use the program ncgen and ncdump. > When you compile programs that need to use netcdf, you will > need to specify -I/usr/local/include and -L/usr/local/lib -lnetcdf > on the command line. > > > Also how do I access root directory since i have permission denied here. > You should only have write permission denied. But that is why I suggested > you use sudo, since that allows you temporary access to root. > > =Dennis Heimbigner > > Ticket Details > =================== > Ticket ID: QCY-964177 > Department: Support netCDF > Priority: Normal > Status: Open > >
_______________________________________________ vox-tech mailing list [email protected] http://lists.lugod.org/mailman/listinfo/vox-tech
