This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

netcdf 4.0 won't build on cygwin


Is there a current working version of netcdf for cygwin?? It isn't in the?cygwin packages.? 
I downoaded the distribution from unidata and tried to build it. The configure script knew 
about cygwin so I tried to run ./configure and make.? The configure script ran fine but when
I ran "make check", it ran into name conflicts?linking the fortran libraries.? I have g95 and 
tried to build with that first by?pointing the?variable F90?to my g95 compiler. Then I tried 
without that so it defaulted to g77 and still got the same sort of problem.?? 

Here's the last few lines from the "make check" output when I try making it with the
g95 compiler defined as F90 (Sorry about?the long lines, but the "smart questions"
document said to paste in output like this as is) :

.....
libtool: compile:? cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varsio.lo -MD -MP -MF .deps/fort-varsio.Tpo -c fort-varsio.c -o fort-varsio.o
/bin/sh ../libtool --tag=CC?? --mode=link cc? -g -O2?? -o libnetcdff.la? fort-attio.lo fort-control.lo fort-dim.lo fort-genatt.lo fort-geninq.lo fort-genvar.lo fort-lib.lo fort-misc.lo fort-v2compat.lo fort-vario.lo fort-var1io.lo fort-varaio.lo fort-varmio.lo fort-varsio.lo? ../f90/libnetcdff90.la 
libtool: link: rm -fr? .libs/libnetcdff.la .libs/libnetcdff.lib
libtool: link: (cd .libs/libnetcdff.lax/libnetcdff90.a && ar x "/usr/local/downloads/netcdf/netcdf-4.0/fortran/../f90/.libs/libnetcdff90.a")
libtool: link: object name conflicts in archive: .libs/libnetcdff.lax/libnetcdff90.a//usr/local/downloads/netcdf/netcdf-4.0/fortran/../f90/.libs/libnetcdff90.a
make[2]: *** [libnetcdff.la] Error 1
make[2]: Leaving directory `/usr/local/downloads/netcdf/netcdf-4.0/fortran'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/usr/local/downloads/netcdf/netcdf-4.0/fortran'
make: *** [check-recursive] Error 1



    

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]