Error building nco-4.2.6 in ncap2.cc

Help
2013-03-22
2013-10-17
  • mark pulliam

    mark pulliam - 2013-03-22

    I'm trying to get nco-4.2.6 built, and have run into a snag, here's a snip from where it bombs on the make:

    Making all in nco++
    make: Entering directory `/usr/local/nco-4.2.6/src/nco++'
    g++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco -I/usr/local/hdf5/include -I/usr/include -I/usr/local/include -I/usr/local/hdf-4.2.9/include -I/usr/local/udunits-2.1.24/include  -g -O2 -MT ncap2.o -MD -MP -MF .deps/ncap2.Tpo -c -o ncap2.o ncap2.cc
    ncap2.cc: In function 'int main(int, char**)':
    ncap2.cc:527: error: 'nco_gsl_cls' was not declared in this scope
    ncap2.cc:527: error: expected ';' before 'nco_gsl_obj'
    ncap2.cc:530: error: 'nco_gsl_obj' was not declared in this scope
    make: ***  Error 1
    make: Leaving directory `/usr/local/nco-4.2.6/src/nco++'
    make: ***  Error 1
    make: Leaving directory `/usr/local/nco-4.2.6/src'
    make: ***  Error 1
    make: Leaving directory `/usr/local/nco-4.2.6'
    make: ***  Error 2

    Anyone have any idea about that particular error?  Thanks in advance.
    -Mark

     
  • Pedro Vicente

    Pedro Vicente - 2013-03-22

    Hi Mark

    That error means the GSL library was not found.

    The home page lists how to install GSL from linux packages

    http://nco.sourceforge.net/

    What OS did are you running?

    Pedro

     
  • mark pulliam

    mark pulliam - 2013-03-25

    Thanks for the tip, I went back and looked at gsl.  While I had the gsl package, I didn't have the devel & static pkgs.  I installed them from repo, re-ran the configure & got a good build.  This is on a RHEL6.3 box, Thanks again.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks