> Dear Experts, > > I have untarred a recent 4.1.2 snapshot and set a symlink called > 'netcdf' to point to this directory, whose full path is > /export/cpcnfs1/jennifer.adams/supplibs/src/netcdf-4.1.2-beta2- > snapshot2010101. > > > Then, I configure with these options: > > ./configure --disable-f77 --enable-netcdf-4 --enable-dap --with-hdf5= > $HOME/supplibs/src/hdf5 --with-zlib=$HOME/supplibs/src/zlib --with- > szlib=$HOME/supplibs/src/szip --with-curl=$HOME/supplibs/src/curl -- > prefix=$HOME/supplibs/src/netcdf > > I run make and then 'make install', and I get this: > > > make install > Making install in include > make[1]: Entering directory `/export/cpcnfs1/jennifer.adams/supplibs/ > src/netcdf-4.1.2-beta2-snapshot2010101408/include' > make[2]: Entering directory `/export/cpcnfs1/jennifer.adams/supplibs/ > src/netcdf-4.1.2-beta2-snapshot2010101408/include' > make[2]: Nothing to be done for `install-exec-am'. > test -z "/export/cpcnfs1/jennifer.adams/supplibs/src/netcdf/include" > || /bin/mkdir -p "/export/cpcnfs1/jennifer.adams/supplibs/src/netcdf/ > include" > /usr/bin/install -c -m 644 netcdf.h '/export/cpcnfs1/jennifer.adams/ > supplibs/src/netcdf/include' > /usr/bin/install: `netcdf.h' and `/export/cpcnfs1/jennifer.adams/ > supplibs/src/netcdf/include/netcdf.h' are the same file > make[2]: *** [install-includeHEADERS] Error 1 > make[2]: Leaving directory `/export/cpcnfs1/jennifer.adams/supplibs/ > src/netcdf-4.1.2-beta2-snapshot2010101408/include' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/export/cpcnfs1/jennifer.adams/supplibs/ > src/netcdf-4.1.2-beta2-snapshot2010101408/include' > make: *** [install-recursive] Error 1 > > I end up having to copy the file ./liblib/.libs/libnetcdf.a to the > desired location. > > In the ./netcdf/include directory, there are the following files: > > # ls -l include > total 112 > -rw-r--r-- 1 jennifer.adams wd5 17032 Nov 17 16:05 Makefile > -rw-r--r-- 1 jennifer.adams wd5 460 Oct 14 10:48 Makefile.am > -rw-r--r-- 1 jennifer.adams wd5 15070 Oct 14 10:49 Makefile.in > -rw-r--r-- 1 jennifer.adams wd5 1355 Oct 14 10:48 nc_logging.h > -rw-r--r-- 1 jennifer.adams wd5 2450 Oct 14 10:48 nc_tests.h > -rw-r--r-- 1 jennifer.adams wd5 56950 Oct 14 10:48 netcdf.h > -rw-r--r-- 1 jennifer.adams wd5 1099 Oct 14 10:48 netcdf_par.h > > Something's funky ... why is there a Makefile in the include directory?? > > > -- > Jennifer M. Adams > IGES/COLA > 4041 Powder Mill Road, Suite 302 > Calverton, MD 20705 > address@hidden > > Howdy Jennifer! I don't know exactly what is happening to you. But that does look familiar to me, which means it might be a bug that I already fixed. ;-) Can you get the daily snapshot and let me know if it works for you instead: ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz (Also it now contains some dramatically better memory performance, in part due to your past contributions.) To answer your question about a makefile in the include directory, there is a makefile in *every* directory because that's how automake likes it. As for the include directory, the makefile is needed, for the install, clean, and other targets that don't involve compiling code. Thanks, Ed Ticket Details =================== Ticket ID: EBC-371111 Department: Support netCDF Priority: High Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.