Open schwehr opened 5 years ago
Sigh... Travis-CI isn't being particularly helpful at the moment.
The command "sudo apt-get install cmake libcunit1-dev libexpat-dev texinfo" failed and exited with 100 during .
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o udunits2 udunits2.o ../lib/libudunits2.la -ldl -lexpat -lm
libtool: link: gcc -g -O2 -o .libs/udunits2 udunits2.o ../lib/.libs/libudunits2.so -ldl /usr/lib/x86_64-linux-gnu/libexpat.so -lm
../lib/.libs/libudunits2.so: undefined reference to `ut_delete_buffer'
../lib/.libs/libudunits2.so: undefined reference to `utGetYyCBufP'
../lib/.libs/libudunits2.so: undefined reference to `ut_scan_string'
../lib/.libs/libudunits2.so: undefined reference to `utlex'
Next up is to log the flex and bison versions.
flex --version
flex 2.5.35
bison --version
bison (GNU Bison) 3.0.2
Oh... autoconf and configure. I've been doing
rm -f lib/{scanner,parser}.{c,h}; rm -rf build-ninja/ ; time (mkdir -p build-ninja && cd build-ninja && cmake -GNinja .. && cmake --build . && ctest .); perl -pi -e 's/\s+\n/\n/g' lib/{scanner,parser}.[ch]
I will do a separate pull request to add checking the cmake build.
if'ed out ut_add_name_prefix in prefix as there are two header definitions