To successfully compile TPP 4.8.0 on Debian stable, I had to make four 
additional changes:

1.
In Makefile.incl in the line:

@for blib in $(BOOST_LIBS); do if [ ! -e $$blib ]; then echo "building 
boost libraries..."; $(BOOST_BUILD_CMD); if [ ! -e $$blib ]; then echo 
"[ERROR] Boost libary build failed (missing $$blib), please report the 
results of manually running the following commands:"; echo 
"$(BOOST_BUILD_CMD)"; exit -1; fi;  echo "...done building boost 
libraries"; fi; done

change "exit -1" to "exit 1". dash does not seem to like negative exit 
codes.

2.
To avoid a g++ error, change boost/cstdint.hpp as described in this link:

https://svn.boost.org/trac/boost/changeset/84950

3.
To avoid g++ errors, change the C++ style comment (//) to a C style comment 
(/* */) in the two files:

../build/unknown-x86_64/hdf5-1.8.6/tools/lib/h5tools_utils.c
../build/unknown-x86_64/hdf5-1.8.6/tools/lib/h5diff.c


4.
In ../CGI/ProtXMLViewer.pl remove the "use strict".

With those changes plus the change from the previous email, TPP compiles.

Sten

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spctools-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to spctools-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/spctools-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to