I am installing LoadDAP-3.7.2 on my Ubuntu-14.04 (64bit). Could you please help me to solve the error during installation. Any help will be greatly appreciated. I installed Libdap-3.12.0-1 from synaptic packet manager of Ubuntu. The error message with LoadDAP installtion is as given below.
-------------------------------------------------------------------------------------------------------------------------------
root@pc:~/swfiles/libraries/loaddap-3.7.2# make
make all-recursive
make[1]: Entering directory `/home/abdu/swfiles/libraries/loaddap-3.7.2'
Making all in .
make[2]: Entering directory `/home/abdu/swfiles/libraries/loaddap-3.7.2'
g++ -DHAVE_CONFIG_H -I. -I. -I/usr/include/libdap -I/usr/include/libxml2 -g -O2 -MT ClientByte.o -MD -MP -MF .deps/ClientByte.Tpo -c -o ClientByte.o ClientByte.cc
ClientByte.cc: In member function ‘virtual void ClientByte::print_val(FILE*, std::string, bool)’:
ClientByte.cc:97:20: error: ‘_buf’ was not declared in this scope
dods_float64 df = _buf;
^
ClientByte.cc:105:46: error: ‘_buf’ was not declared in this scope
fprintf(os, "%d ", (unsigned int)_buf);
^
ClientByte.cc:107:35: error: ‘_buf’ was not declared in this scope
(void)fwrite((void *)&_buf, sizeof(dods_byte), 1, os);
^
make[2]: *** [ClientByte.o] Error 1
make[2]: Leaving directory `/home/abdu/swfiles/libraries/loaddap-3.7.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abdu/swfiles/libraries/loaddap-3.7.2'
make: *** [all] Error 2
root@pc:~/swfiles/libraries/loaddap-3.7.2#
thanking you in advance.