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

[netCDF #WZW-146942]: Error in netcdf make



Greetings,

Which version of g95 are you using?

Thanks!

Sean

> Hi Sean,
> 
> I ran make check and got the following passed tests and errors
> 
> PASS: tst_nofill3
> ==================
> All 9 tests passed
> ==================
> make[2]: Leaving directory `/usr/local/netcdf-4.1.3/nc_test'
> make[1]: Leaving directory `/usr/local/netcdf-4.1.3/nc_test'
> Making check in fortran
> make[1]: Entering directory `/usr/local/netcdf-4.1.3/fortran'
> make  check-am
> make[2]: Entering directory `/usr/local/netcdf-4.1.3/fortran'
> /bin/sh ../libtool --tag=FC   --mode=link /usr/bin/g95    -version-number
> 5:1:0   -o libnetcdff.la -rpath /usr/local/lib 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  ../liblib/libnetcdf.la  -lm
> -lcurl
> libtool: link: /usr/bin/g95 -shared   .libs/fort-attio.o
> .libs/fort-control.o .libs/fort-dim.o .libs/fort-genatt.o
> .libs/fort-geninq.o .libs/fort-genvar.o .libs/fort-lib.o .libs/fort-misc.o
> .libs/fort-v2compat.o .libs/fort-vario.o .libs/fort-var1io.o
> .libs/fort-varaio.o .libs/fort-varmio.o .libs/fort-varsio.o    -rpath
> /usr/local/netcdf-4.1.3/liblib/.libs ../liblib/.libs/libnetcdf.so -lm
> -lcurl    -soname libnetcdff.so.5 -o .libs/libnetcdff.so.5.1.0
> g95: libnetcdff.so.5: No such file or directory
> g95: unrecognized option '-soname'
> make[2]: *** [libnetcdff.la] Error 1
> make[2]: Leaving directory `/usr/local/netcdf-4.1.3/fortran'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/usr/local/netcdf-4.1.3/fortran'
> make: *** [check-recursive] Error 1
> 
> Are the errors something I should worry about or i can go on and build my
> code on the cdf directory?
> 
> Sincerely,
> Rushat
> 
> address@hidden> wrote:
> 
> > Greetings Rushat,
> >
> > The make file you sent seems to be ok. Did you try running make check to
> > see if it built correctly?
> >
> > Sean
> >
> > > Never mind just found it. But I still have the same issues with netcdf.
> > >
> > > Sincerely,
> > > Rushat
> > >
> > > On Wed, Jan 4, 2012 at 11:36 AM, Rushat Shatur <address@hidden>
> > wrote:
> > >
> > > > Hi Sean,
> > > >
> > > > I had another issue. Where do I find libnetcdf.a in netcdf-4.1.3
> > folder.
> > > > greping for it does not give me anything.
> > > >
> > > > Thanks,
> > > > Rushat
> > > >
> > > >
> > > > On Tue, Jan 3, 2012 at 9:48 PM, Rushat Shatur <address@hidden
> > >wrote:
> > > >
> > > >> Hi Sean,
> > > >>
> > > >> I ran the scripts as you suggested and attached are the make.log and
> > > >> configure.log (for a good measure) for your perusal. BTW, I used the
> > > >> following flags while configuring:
> > > >>
> > > >>  sudo ./configure --disable-netcdf-4 --disable-f90
> > > >> --disable-fortran-type-check
> > > >>
> > > >> Hope this is what you wanted.
> > > >>
> > > >> Sincerely,
> > > >> Rushat
> > > >>
> > > >>
> > > >> address@hidden> wrote:
> > > >>
> > > >>> Greetings Rushat,
> > > >>>
> > > >>> Let's try the following. First, go to the netCDF directory and
> > execute
> > > >>>
> > > >>> make clean
> > > >>>
> > > >>> Then, set the following flags:
> > > >>>
> > > >>> export FC=/usr/bin/g95
> > > >>> export F77=''
> > > >>>
> > > >>>
> > > >>> Then, rerun the configure script and try make again. As for the make
> > > >>> command, did it create a make.log file? The command 'make > make.log'
> > > >>> should dump the make output to the file, although if there is an
> > error it
> > > >>> will print it to the screen.
> > > >>>
> > > >>> Thanks!
> > > >>>
> > > >>> Sean
> > > >>>
> > > >>> > Hi Sean,
> > > >>> >
> > > >>> > Please find the attached config.log file. However, when I invoke
> > make >
> > > >>> > make.log, I get the following error
> > > >>> >
> > > >>> >
> > > >>> > g95: libnetcdff.so.5: No such file or directory
> > > >>> > g95: unrecognized option '-soname'
> > > >>> > make[3]: *** [libnetcdff.la] Error 1
> > > >>> > make[2]: *** [all] Error 2
> > > >>> > make[1]: *** [all-recursive] Error 1
> > > >>> > make: *** [all] Error 2
> > > >>> >
> > > >>> > Thanks,
> > > >>> > Rushat
> > > >>> >
> > > >>> > address@hidden> wrote:
> > > >>> >
> > > >>> > > Greetings Rushat,
> > > >>> > >
> > > >>> > > Would you mind sending your configure and full make logs? The
> > > >>> configure
> > > >>> > > log should be the the top level of your netCDF directory
> > > >>> (config.log), and
> > > >>> > > to obtain a make log, use:
> > > >>> > >
> > > >>> > > make > make.log
> > > >>> > >
> > > >>> > > Thanks!
> > > >>> > >
> > > >>> > > Sean
> > > >>> > >
> > > >>> > > > Hi there,
> > > >>> > > >
> > > >>> > > > I am trying to install netcdf (version 4.1.3). The config
> > script
> > > >>> ran
> > > >>> > > > without errors (after addition of some flags viz
> > > >>> "--disable-netcdf-4
> > > >>> > > > --disable-f90 --disable-fortran-type-check"). But when I tried
> > > >>> running
> > > >>> > > make
> > > >>> > > > or for that matter make check install, the build exited with
> > the
> > > >>> > > following
> > > >>> > > > error:
> > > >>> > > >
> > > >>> > > > g95: libnetcdff.so.5: No such file or directory
> > > >>> > > > g95: unrecognized option '-soname'
> > > >>> > > > make[2]: *** [libnetcdff.la] Error 1
> > > >>> > > > make[2]: Leaving directory `/usr/local/netcdf-4.1.3/fortran'
> > > >>> > > > make[1]: *** [check] Error 2
> > > >>> > > > make[1]: Leaving directory `/usr/local/netcdf-4.1.3/fortran'
> > > >>> > > > make: *** [check-recursive] Error 1
> > > >>> > > >
> > > >>> > > > I am running gcc version 4.5.0 20100604 [gcc-4_5-branch
> > revision
> > > >>> 160292]
> > > >>> > > > (SUSE Linux).
> > > >>> > > >
> > > >>> > > > Thanks in advance,
> > > >>> > > > Rushat
> > > >>> > > >
> > > >>> > > >
> > > >>> > >
> > > >>> > >
> > > >>> > > Ticket Details
> > > >>> > > ===================
> > > >>> > > Ticket ID: WZW-146942
> > > >>> > > Department: Support netCDF
> > > >>> > > Priority: Normal
> > > >>> > > Status: Open
> > > >>> > >
> > > >>> > >
> > > >>> >
> > > >>> >
> > > >>>
> > > >>>
> > > >>> Ticket Details
> > > >>> ===================
> > > >>> Ticket ID: WZW-146942
> > > >>> Department: Support netCDF
> > > >>> Priority: Normal
> > > >>> Status: Open
> > > >>>
> > > >>>
> > > >>
> > > >
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: WZW-146942
> > Department: Support netCDF
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 

Ticket Details
===================
Ticket ID: WZW-146942
Department: Support netCDF
Priority: High
Status: Open