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

[netCDF #HJF-658837]: gcc is not working while installation of netCDF



The -I flags need to point to the directory containing the .h files.
So you need to change
 -I/usr/include/curl/curl.h
to
 -I/usr/include/curl


> Sorry to interrupt
> Now I was trying to install netCDF-Fortran library and I got an error
> during make check as follows
> 
> *Error *
> 
> 
> 
> 
> 
> 
> *f951: Fatal Error: ‘/usr/include/curl/curl.h’ is not a
> directorycompilation terminated.Makefile:586: recipe for target
> 'module_netcdf_nc_data.o' failedmake[1]: *** [module_netcdf_nc_data.o]
> Error 1make[1]: Leaving directory
> '/home/dhanraj/project/netcdf/netcdf-fortran-4.4.5/fortran'Makefile:545:
> recipe for target 'check-recursive' failedmake: *** [check-recursive] Error
> 1*
> 
> 
> *The command I gave is as*
> *CPPFLAGS='-I/home/dhanraj/project/netcdf/c/hdf5/include
> -I/home/dhanraj/project/netcdf/c/zlib/include -I/usr/include/curl/curl.h
> -I/home/dhanraj/project/netcdf/c/netcdf/include'
> LDFLAGS='-L/home/dhanraj/project/netcdf/c/hdf5/lib
> -L/home/dhanraj/project/netcdf/c/zlib/lib
> -L/usr/share/man/man1/curl.1.gz/lib
> -L/home/dhanraj/project/netcdf/c/netcdf/lib' ./configure
> --prefix=/home/dhanraj/project/netcdf/c/netcdf-f*
> 
> Thank you
> Regards
> 
> On Fri, May 31, 2019 at 10:37 AM Dhanraj Mane <address@hidden> wrote:
> 
> > Ticket ID: HJF-658837
> > Problem is solved
> > Thank you so much for your help
> >
> >
> >
> >
> > address@hidden> wrote:
> >
> >> ok, then you need to do one of two things:
> >> 1. install libcurl
> >> or
> >> 2. add the --disable-dap option to your ./configure command
> >>
> >> > Ticket ID: HJF-658837
> >> >
> >> > I have checked curl.h is not in the directory
> >> "/usr/include/curl/curl.h" or
> >> > "/usr/local/include/curl/curl.h"
> >> >
> >> > actually no such file is found
> >> >
> >> > address@hidden> wrote:
> >> >
> >> > > Sorry for the delay.
> >> > > It looks like the path you specified for curl is incorrect.
> >> > > The config.log says '/usr/share/man/man1/curl.1.gz/include'
> >> > > does not exist.
> >> > > You need to search around and find the file "curl.h". It is probably
> >> > > in the directory "/usr/include/curl/curl.h" or
> >> > > "/usr/local/include/curl/curl.h"
> >> > > but you will need to check.
> >> > >
> >> > >
> >> > > > Ticket ID: HJF-658837
> >> > > > The issue is not resolved.
> >> > > >
> >> > > > Regards
> >> > > >
> >> > > >
> >> > > > address@hidden> wrote:
> >> > > >
> >> > > > >
> >> > > > > Dhanraj Mane,
> >> > > > >
> >> > > > > Your Ticket has been received, and a Unidata staff member will
> >> review
> >> > > it
> >> > > > > and reply accordingly. Listed below are details of this new
> >> Ticket.
> >> > > Please
> >> > > > > make sure the Ticket ID remains in the Subject: line on all
> >> > > correspondence
> >> > > > > related to this Ticket.
> >> > > > >
> >> > > > > 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.
> >> > > > >
> >> > > > >     Ticket ID: HJF-658837
> >> > > > >     Subject: gcc is not working while installation of netCDF
> >> > > > >     Department: Support netCDF
> >> > > > >     Priority: Normal
> >> > > > >     Status: Open
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > The NetCDF libraries are developed at the Unidata Program Center,
> >> > > > > in Boulder, Colorado, funded primarily by the National Science
> >> > > Foundation.
> >> > > > >
> >> > > > > All support requests are handled by the development team. No
> >> dedicated
> >> > > > > support staff are funded at this time. For this reason we cannot
> >> > > guarantee
> >> > > > > response times, nor that we can resolve every support issue,
> >> although
> >> > > we
> >> > > > > do our best to respond within 72 hours.
> >> > > > >
> >> > > > > It is in the nature of support requests that the same question is
> >> asked
> >> > > > > many
> >> > > > > times. We urge you to search the support archives for material
> >> > > relating to
> >> > > > > your support request:
> >> > > > >
> >> > > > > http://www.unidata.ucar.edu/search.jsp?support&netcdf
> >> > > > >
> >> > > > > If you are having trouble building netCDF, please take a look at
> >> the
> >> > > > > "Building NetCDF" page:
> >> > > > >
> >> > > > > http://www.unidata.ucar.edu/software/netcdf/docs/building.html
> >> > > > >
> >> > > > > or the (unfortunately somewhat out-of-date) NetCDF Build
> >> Troubleshooter
> >> > > > > page:
> >> > > > >
> >> > > > >
> >> http://www.unidata.ucar.edu/software/netcdf/docs/troubleshoot.html
> >> > > > >
> >> > > > > Windows users should see the FAQ list:
> >> > > > >
> >> > > > >
> >> > >
> >> http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows_netcdf4_2
> >> > > > >
> >> > > > > Complete documentation (including a tutorial, and sample programs
> >> in C,
> >> > > > > Fortran,
> >> > > > > Java, and other programming languages) can be found on the netCDF
> >> > > > > Documentation page:
> >> > > > >
> >> > > > > http://www.unidata.ucar.edu/software/netcdf/docs/
> >> > > > > http://www.unidata.ucar.edu/software/netcdf/examples/programs/
> >> > > > >
> >> > > > > If you resolve your issue through one of these methods, please
> >> send a
> >> > > > > reply to
> >> > > > > this email, letting us know that you no longer need support. This
> >> will
> >> > > help
> >> > > > > us spend more time on netCDF development.
> >> > > > >
> >> > > > > Best regards,
> >> > > > >
> >> > > > > Unidata User Support
> >> > > > >
> >> > > > >
> >> > > >
> >> > > > --
> >> > > > Dhanraj Shivaji Mane,
> >> > > > M-Tech Earth System Science,
> >> > > > Indian Institute of Space Science and Technology,
> >> > > > Thiruvananthapuram.
> >> > > >
> >> > > >
> >> > >
> >> > > =Dennis Heimbigner
> >> > >   Unidata
> >> > >
> >> > >
> >> > > Ticket Details
> >> > > ===================
> >> > > Ticket ID: HJF-658837
> >> > > Department: Support netCDF
> >> > > Priority: Normal
> >> > > Status: Open
> >> > > ===================
> >> > > 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.
> >> > >
> >> > >
> >> > >
> >> >
> >> > --
> >> > Dhanraj Shivaji Mane,
> >> > M-Tech Earth System Science,
> >> > Indian Institute of Space Science and Technology,
> >> > Thiruvananthapuram.
> >> >
> >> >
> >>
> >> =Dennis Heimbigner
> >>   Unidata
> >>
> >>
> >> Ticket Details
> >> ===================
> >> Ticket ID: HJF-658837
> >> Department: Support netCDF
> >> Priority: Normal
> >> Status: Open
> >> ===================
> >> 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.
> >>
> >>
> >>
> >
> > --
> > Dhanraj Shivaji Mane,
> > M-Tech Earth System Science,
> > Indian Institute of Space Science and Technology,
> > Thiruvananthapuram.
> >
> 
> 
> --
> Dhanraj Shivaji Mane,
> M-Tech Earth System Science,
> Indian Institute of Space Science and Technology,
> Thiruvananthapuram.
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: HJF-658837
Department: Support netCDF
Priority: Normal
Status: Open
===================
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.