[ncl-install] NCL w/DAP on Ubuntu 9.04 (Problem with BaseType)

John washakie at gmail.com
Thu Jul 23 02:10:13 MDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20090723/4652f90d/attachment.html 


More information about the ncl-install mailing list