Error while installing libdap ver 3.8.1

Skip to first unread message

fatemeh chegini

Jul 1, 2011, 1:35:31 PM7/1/11

Dear all,


I'm trying to install the opendap matlab toolbox on my ubuntu 10.10,
64bit. To do this I need to install libdap-3.8.1 as I'm using
MATLAB2007b. I did ./configure and when trying to make I get the
following error:

 error: identifier "va_start" is undefined
      va_start(args, msg);

error: identifier "va_end" is undefined

A little more info: I'm using the libxml2 2.5.7 version

Am I doing something wrong?

Any help would be very much appreciated. Thank you very much in advance

Best Regards,

fatemeh chegini

Jul 1, 2011, 3:57:02 PM7/1/11
Dear All,

I just managed to install the libdap by downloading the .rpm file and
converting it to .deb file. Thanks for your help.


Dec 7, 2014, 11:16:06 AM12/7/14
Dear all,

I am trying to install libdap on my ubuntu 14.04. 1- run the ./configure file. 2- run the make command. Here I got the following error. If anybody can help me to resolve this, i will be grateful to you.  Thank you. I have curl7.19.7-1ubuntu1.10 and libdaplibdap-3.9.3. I checked with latest version of curl also. when I checked the /usr/include/curl/ folder, there is no types.h file
 g++ -DHAVE_CONFIG_H -I. -I./gl -I./GNU -I/usr/include/libxml2 -Wall -W -Wcast-align -g -O2 -MT libdapclient_la-RCReader.lo -MD -MP -MF .deps/libdapclient_la-RCReader.Tpo -c -o libdapclient_la-RCReader.o >/dev/null 2>&1
mv -f .deps/libdapclient_la-RCReader.Tpo .deps/libdapclient_la-RCReader.Plo
/bin/bash ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I./gl -I./GNU   -I/usr/include/libxml2    -Wall -W -Wcast-align -g -O2 -MT libdapclient_la-Connect.lo -MD -MP -MF .deps/libdapclient_la-Connect.Tpo -c -o libdapclient_la-Connect.lo `test -f '' || echo './'`
 g++ -DHAVE_CONFIG_H -I. -I./gl -I./GNU -I/usr/include/libxml2 -Wall -W -Wcast-align -g -O2 -MT libdapclient_la-Connect.lo -MD -MP -MF .deps/libdapclient_la-Connect.Tpo -c  -fPIC -DPIC -o .libs/libdapclient_la-Connect.o
In file included from Connect.h:82:0,
HTTPConnect.h:33:24: fatal error: curl/types.h: No such file or directory
 #include <curl/types.h>
compilation terminated.
make[2]: *** [libdapclient_la-Connect.lo] Error 1
make[2]: Leaving directory `/home/abdu/swfiles/libraries/libdap-3.9.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abdu/swfiles/libraries/libdap-3.9.3'
make: *** [all] Error 2

Patrick West

Dec 7, 2014, 8:21:49 PM12/7/14
to,, OPeNDAP Tech,
Appears that you are trying to install an older version of libdap. Latest version is 3.13.3.

In the version of HTTPConnect.h that I currently have it appears as if curl/types.h no longer exists and you should be able to just include curl/curl.h and curl/easy.h in HTTPConnect.h

So modify HTTPConnect.h, remove the include for curl/types, and add the include for curl/easy.h and curl/curl.h, and you should be good.


You received this message because you are subscribed to the Google Groups "OPeNDAP Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

Reply all
Reply to author
0 new messages