Error while installing libdap ver 3.8.1

62 views
Skip to first unread message

fatemeh chegini

unread,
Jul 1, 2011, 1:35:31 PM7/1/11
to ope...@opendap.org, openda...@opendap.org

Dear all,

Hi,

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
      va_end(args);

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,
Fateme

fatemeh chegini

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

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

Fateme

abd...@gmail.com

unread,
Dec 7, 2014, 11:16:06 AM12/7/14
to ope...@opendap.org, openda...@opendap.org, fatem...@googlemail.com
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 RCReader.cc -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 'Connect.cc' || echo './'`Connect.cc
 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 Connect.cc  -fPIC -DPIC -o .libs/libdapclient_la-Connect.o
In file included from Connect.h:82:0,
                 from Connect.cc:51:
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
abdu@pc:~/swfiles/libraries/libdap-3.9.3$ 
_________________________________________________________________________________

Patrick West

unread,
Dec 7, 2014, 8:21:49 PM12/7/14
to abd...@gmail.com, ope...@opendap.org, OPeNDAP Tech, fatem...@googlemail.com
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.

Patrick

--
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 opendap-tech...@opendap.org.
To post to this group, send email to openda...@opendap.org.
Visit this group at http://groups.google.com/a/opendap.org/group/opendap-tech/.
For more options, visit https://groups.google.com/a/opendap.org/d/optout.

Reply all
Reply to author
Forward
0 new messages