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

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



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