On 2/10/17 12:21 PM, Sylvain Barbot wrote:
> After typing
>
> fink install libdap11
>
> I get the error
>
> /bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I./gl -I./GNU -I/sw/include/libxml2 -I/sw/include -I/sw/include -Wall
> -W -Wcast-align  -g -O2 -MT libparsers_la-dds.tab.lo -MD -MP -MF
> .deps/libparsers_la-dds.tab.Tpo -c -o libparsers_la-dds.tab.lo `test
> -f 'dds.tab.cc' || echo './'`dds.tab.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./gl -I./GNU
> -I/sw/include/libxml2 -I/sw/include -I/sw/include -Wall -W
> -Wcast-align -g -O2 -MT libparsers_la-dds.tab.lo -MD -MP -MF
> .deps/libparsers_la-dds.tab.Tpo -c dds.tab.cc  -fno-common -DPIC -o
> .libs/libparsers_la-dds.tab.o
> dds.yy:265:19: error: expected a class or namespace
>                         part = libdap::Part::array;
>                                ~~~~~~~~^

What does the command `/usr/bin/flex --version` output?

Also, if you edit the file 
/sw/fink/dists/stable/main/finkinfo/sci/libdap11.info and put a # sign 
at the very beginning of line 36 (the one mentioning 
libdap::Part::array), does the build then succeed?

Hanspeter


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to