SourceForge.net Logo
Home | News | Download | For Developers | Credits | FAQ | OPeNDAP | Tutorial | Project

MEXNC and OPeNDAP: What Doesn't Work

The short story is that recent releases of opendap software don't seem to want to play nice with versions of gcc > 4.0 and matlab...

Case Studies

Linux x86 RedHat 7.3, Libdap 3.6.2, Libnc-dap 3.6.0

Baseline system

  1. The existing RPM version of curl is too old, so version 7.15.3 is configured with
    ./configure --prefix=/home/jevans/opendap --disable-shared
    
  2. The existing RPM version of libxml2 is too old, so version 2.6.24 is configure with
    ./configure --prefix=/home/jevans/opendap --disable-shared
    
    but it will not compile, giving us the error message
    mlIO.c: In function `xmlCheckFilename':
    xmlIO.c:619: parse error before `struct'
    xmlIO.c:621: `stat_buffer' undeclared (first use in this function)
    xmlIO.c:621: (Each undeclared identifier is reported only once
    xmlIO.c:621: for each function it appears in.)
    /usr/include/sys/stat.h:345: warning: inlining failed in call to `stat'
    xmlIO.c:621: warning: called from here
    make[2]: *** [xmlIO.lo] Error 1
    make[2]: Leaving directory `/home/jevans/src/libxml2-2.6.24'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/jevans/src/libxml2-2.6.24'
    make: *** [all] Error 2
    
    This may mean that this machine is just too old. Since I'll get hauled off to jail if I'm caught on this machine, no further heroics will be attempted.



John Evans
IMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521