NCL w/DAP on Ubuntu 9.04 (Problem with BaseType)

From: John <washakie_at_nyahnyahspammersnyahnyah>
Date: Thu, 23 Jul 2009 10:10:13 +0200

Has anyone yet installed NCL w/ DAP on Ubuntu?
When I try to build libdap and libnc the configuration fails to find curl
libraries even though they are on my system. I finally got past this hurdle,
but ultimately the libdap build failed with this error:
make[2]: Entering directory `/xnilu_wrk//SOFTWARE/libnc-dap-3.7.3'
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I./fortran -Df2cFortran -DLOCAL -I./lnetcdf
-I/flex_wrk/lib64/include/libdap -I./fortran -g -O2 -MT NCGrid.lo -MD -MP
-MF .deps/NCGrid.Tpo -c -o NCGrid.lo NCGrid.cc
 g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf
-I/flex_wrk/lib64/include/libdap -I./fortran -g -O2 -MT NCGrid.lo -MD -MP
-MF .deps/NCGrid.Tpo -c NCGrid.cc -fPIC -DPIC -o .libs/NCGrid.o
NCGrid.cc: In member function 'virtual bool NCGrid::read(const
std::string&)':
NCGrid.cc:111: error: no matching function for call to
'libdap::BaseType::read(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
/flex_wrk/lib64/include/libdap/BaseType.h:307: note: candidates are: virtual
bool libdap::BaseType::read()
NCGrid.cc:116: error: no matching function for call to
'libdap::BaseType::read(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
/flex_wrk/lib64/include/libdap/BaseType.h:307: note: candidates are: virtual
bool libdap::BaseType::read()
make[2]: *** [NCGrid.lo] Error 1
make[2]: Leaving directory `/xnilu_wrk/flex_wrk/SOFTWARE/libnc-dap-3.7.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/xnilu_wrk/flex_wrk/SOFTWARE/libnc-dap-3.7.3'
make: *** [all] Error 2
I tried using alien to convert the libdap / libnc packages from rpm to deb.
I was able to get NCL running, but get the following error:
Running NCL...
ncl: symbol lookup error: /usr/lib/libnc-dap.so.3: undefined symbol:
_ZN6libdap8BaseType3opsEPS0_iRKSs

Somehow they seem slightly similar (problem with BaseType???)
Aiuto!

-- 
Configuration
``````````````````````````
Ubuntu 9.04 64bit
NCL 5.1.1
Python 2.6
Matplotlib 0.98.5
Basemap
Plone 2.5.3-final,
CMF-1.6.4,
Zope (Zope 2.9.7-final, python 2.4.4, linux2),
Five 1.4.1,
PIL 1.1.6
Mailman 2.1.9
Postfix 2.4.5
Procmail v3.22 2001/09/10

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Jul 23 2009 - 02:10:13 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 29 2009 - 09:08:18 MDT