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

[netCDF #RMQ-116404]: NETCDF install issues



> I didn't modify any files. And I have the most current version of
> automake. I just installed 4.2 on a fresh machine and got it going. I
> guess it's just 4.3 that causes issues for me. I am not using a normal
> distribution of Linux, we use a realm distribution from redhat
> specific to NC State. I have a feeling that this is the root issue and
> not netcdf. Is there a log that configure created that I can refer to?
> I want to see if any parts of the configure failed due to a lack of
> permissions. Thanks again for your help!

Yes, when you run configure it logs everything in the config.log file.
This includes lots of error messages that are expected as it tries to
determine the development environment.  It would be helpful if you could 
send that.  Thanks!

--Russ

> Evan
> 
> 
> 
> On Jun 12, 2013, at 5:11 PM, Unidata netCDF Support
> <address@hidden> wrote:
> 
> > Evan,
> >
> > May response was wrong:
> >> Hmm, it looks like you have a newer version of automake (1.13) than the one
> >> assumed by autoconf 2.69 (automake 1.12), used in creating the configure 
> >> file.
> >
> > As far as I can see, the latest version of automake that's available is 
> > 1.12.6,
> > and the configure script that comes with 4.3.0 doesn't try to use any later 
> > version
> > of automake than 1.12.  Did you modify acinclude.m4 or configure.ac in the 
> > netcdf-4.3.0
> > source directory?  If so, you'll need to download it again and not do that, 
> > unless
> > you use autoreconf to regenerate the configure script, and I'm not sure why 
> > you'd
> > do that unless you are modifying configure.ac.
> >
> > --Russ
> >
> >> If you have a newer autoconf, try running
> >>
> >> $ autoreconf -i
> >>
> >> to create a new configure script from the configure.ac that's in the 
> >> netcdf-4.3.0
> >> source directory.  Plaease let me know if that doesn't fix the problem.
> >>
> >> --Russ
> >>
> >>> The error actually occurred after the ./configure; sorry for the 
> >>> confusion.
> >>> It happened during the make all command.
> >>>
> >>> E
> >>>
> >>>
> >>> On Wed, Jun 12, 2013 at 10:13 AM, Evan Mahoney <address@hidden> wrote:
> >>>
> >>>> Hey Russ, I ran into another issue installing netcdf today. I am still
> >>>> installing on RHEL6 machines and this error occured after these two
> >>>> commands while in my C+ folder
> >>>> Commands:
> >>>> setenv NCDIR /tmp/nc430-nonc4
> >>>> sudo ./configure --disable-netcdf-4 --prefix=${NCDIR}
> >>>>
> >>>> Error message after ./configure
> >>>> /usr/local/netcdf-4.3.0/missing: line 81: aclocal-1.13: command not found
> >>>> WARNING: 'aclocal-1.13' is missing on your system.
> >>>>        You should only need it if you modified 'acinclude.m4' or
> >>>>        'configure.ac' or m4 files included by 'configure.ac'.
> >>>>        The 'aclocal' program is part of the GNU Automake package:
> >>>>        <http://www.gnu.org/software/automake>
> >>>>        It also requires GNU Autoconf, GNU m4 and Perl in order to run:
> >>>>        <http://www.gnu.org/software/autoconf>
> >>>>        <http://www.gnu.org/software/m4/>
> >>>>        <http://www.perl.org/>
> >>>>
> >>>> I have checked to make sure this machine has automake. Any ideas as to 
> >>>> why
> >>>> this error is occurring?
> >>>>
> >>>> Thanks for your help
> >>>> Evan
> >>>>
> >>>>
> >>>> address@hidden> wrote:
> >>>>
> >>>>> Evan,
> >>>>>
> >>>>>> Hey Russ, thanks for your help. I got everything working, I think it
> >>>>> was my
> >>>>>> setenv lines in terminal that made the difference. Just out of
> >>>>> curiosity,
> >>>>>> what does the -L and -I switches in the lines
> >>>>>>
> >>>>>> "setenv LDFLAGS -L${PATH1}/lib"
> >>>>>> and
> >>>>>> "setenv CPPFLAGS -I${PATH2}/include"
> >>>>>>
> >>>>>> mean? I think that they were the difference between the install
> >>>>> succeeding
> >>>>>> and failing.
> >>>>>
> >>>>> Those are flags for the C compiler.  "-Ldir" means look in directory dir
> >>>>> for
> >>>>> libraries.  "-Idir" means look in directory dir for .h header files for
> >>>>> C/C++
> >>>>> or .mod module files for Fortran.
> >>>>>
> >>>>> --Russ
> >>>>>
> >>>>>> address@hidden> wrote:
> >>>>>>
> >>>>>>> Hi Evan,
> >>>>>>>
> >>>>>>>> I am having some trouble installing the netcdf c and netcdf fortran
> >>>>>>>> libraries. I am trying to install to the NC State Univ distribution
> >>>>> of
> >>>>>>>> RHEL6. Basically my problem is that I am setting my CPPFLAGS,
> >>>>> LDFLAGS,
> >>>>>>> and
> >>>>>>>> LD_LIBRARY_PATH. I have extracted the C libraries to my
> >>>>>>>> /usr/local/netcdf-3.6.3 and the fortran libraries to
> >>>>>>>> /usr/local/netcdf-fortran-4.2. When I run "./configure
> >>>>> --disable-netcdf-4
> >>>>>>>> --prefix=/usr/local/netcdf-3.6.3" in my C library, I receive the
> >>>>> error
> >>>>>>> that
> >>>>>>>> the --disable-netcdf switch is unrecognized.
> >>>>>>>
> >>>>>>> The version of the netCDF C libraries you should be using is 4.3.0,
> >>>>>>> available
> >>>>>>> for download here:
> >>>>>>>
> >>>>>>> http://www.unidata.ucar.edu/downloads/netcdf/current/
> >>>>>>>
> >>>>>>> The 3.6.3 version is about 5 years old, and is no longer supported or
> >>>>>>> maintained.
> >>>>>>> It didn't have a "--disable-netcdf-4" option, which was only made
> >>>>>>> available in
> >>>>>>> netCDF version 4.x releases.  The 3.6.3 version included a bundled
> >>>>> Fortran
> >>>>>>> library,
> >>>>>>> but the netCDF Fortran library has been a separate distribution since
> >>>>>>> netcdf-fortran-4.2 was released.
> >>>>>>>
> >>>>>>> You can still build the netCDF-3 library using the --disable-netcdf-4
> >>>>>>> configure
> >>>>>>> option, as described here:
> >>>>>>>
> >>>>>>> http://www.unidata.ucar.edu/netcdf/docs/build_classic.html
> >>>>>>>
> >>>>>>> After that library is built and installed, you can build and install
> >>>>> the
> >>>>>>> netCDF
> >>>>>>> Fortran library by following these instructions:
> >>>>>>>
> >>>>>>> http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html
> >>>>>>>
> >>>>>>>>  ... This doesnt seem like that big
> >>>>>>>> of an error so I just move onto running make all and make check
> >>>>> install.
> >>>>>>> My
> >>>>>>>> makes go on without errors. I then move on to the fortran library
> >>>>>>>> configuration. I try to set my CPPFLAGS and LD_LIBRARY_PATH but I
> >>>>> dont
> >>>>>>>> think I have them pointing to the right directories because when I
> >>>>> run
> >>>>>>>> ./configure in this directory, it tells me it cannot find netcdf.h.
> >>>>> I
> >>>>>>> only
> >>>>>>>> have one file by that name on the machine (It it in a program called
> >>>>>>>> VisIT). Could you please point me in the right direction.
> >>>>>>>
> >>>>>>> If you encounter problems following the steps in the documentation
> >>>>>>> referenced
> >>>>>>> above, please let us know.
> >>>>>>>
> >>>>>>>> I have a feeling it is not just me and there is some underlying
> >>>>> issue
> >>>>>>> with
> >>>>>>>> this. I know that KDE is a prerequisite for netcdf and KDE is not
> >>>>> meant
> >>>>>>> for
> >>>>>>>> RHEL. I worked around this by installing the KDE-devel library. But
> >>>>> it
> >>>>>>>> might not have all the modules netcdf needs.
> >>>>>>>
> >>>>>>> KDE is *not* a prerequisite for netCDF.  If there's a web page
> >>>>> somewhere
> >>>>>>> that
> >>>>>>> says it is, please let us know, so we can correct the source of that
> >>>>>>> misinformation.  Thanks.
> >>>>>>>
> >>>>>>> --Russ
> >>>>>>>
> >>>>>>>> Thanks for your time.
> >>>>>>>>
> >>>>>>>> Evan
> >>>>>>> Russ Rew                                         UCAR Unidata Program
> >>>>>>> address@hidden
> >>>>> http://www.unidata.ucar.edu
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Ticket Details
> >>>>>>> ===================
> >>>>>>> Ticket ID: RMQ-116404
> >>>>>>> Department: Support netCDF
> >>>>>>> Priority: Normal
> >>>>>>> Status: Closed
> >>>>>
> >>>>> Russ Rew                                         UCAR Unidata Program
> >>>>> address@hidden                      http://www.unidata.ucar.edu
> >>>>>
> >>>>>
> >>>>>
> >>>>> Ticket Details
> >>>>> ===================
> >>>>> Ticket ID: RMQ-116404
> >>>>> Department: Support netCDF
> >>>>> Priority: Normal
> >>>>> Status: Closed
> >>
> >> Russ Rew                                         UCAR Unidata Program
> >> address@hidden                      http://www.unidata.ucar.edu
> >
> > Russ Rew                                         UCAR Unidata Program
> > address@hidden                      http://www.unidata.ucar.edu
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: RMQ-116404
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: RMQ-116404
Department: Support netCDF
Priority: Normal
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.