Hi,
Here are some notes and problems I've encountered so far.
I am building as non privileged user, proceeding as follows:
# create environment for building
export LD_LIBRARY_PATH=/usr/lib64:${LD_LIBRARY_PATH} ## for {libc,libm,libpthreads} else error: "ld: cannot find -lc"
I am compiling with:
make info
ARCH = x86_64
VENDOR = redhat
SYSTEM = linux
OS = Linux
TPP_VERSION = 6.1.0
TPP_RELEASE = Parhelion
TPP_BUILDID = TPP v6.1.0 Parhelion, Build 202206071204-exported (Linux-x86_64)
SRC_DIR = /n/sci/SCI-004255-ZFPROT/tpp/svn/trans_proteomic_pipeline
BUILD_DIR = /n/sci/SCI-004255-ZFPROT/tpp/svn/trans_proteomic_pipeline/build/linux-x86_64-release
INSTALL_DIR = /usr/local/tpp
TPP_HOME = /usr/local/tpp
TPP_DATADIR = /data/tpp
TPP_BASEURL = /tpp
TPP_DATAURL = /tpp/data
MZ5_SUPPORT is not enabled
I found as advised that I had to call `make all` many times....
The first time created some directories and touch some files and them terminated with error:
make: *** No rule to make target '/n/sci/SCI-004255-ZFPROT/tpp/release_6-1-0/build/linux-x86_64-release/html/', needed by 'd3'. Stop.
The second time halted without an error without compiling anything, finally printing:
### ...done unpacking Boost source
The 3rd through 6th time compile successively more, though it produced a few warnings which were proceeded past, each of the form:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT rowcol.lo -MD -MP -MF .deps/rowcol.Tpo -c -o rowcol.lo rowcol.c
warning: On gcc, DLLs can not be built with '<runtime-link>static'.
warning: It is suggested to use '<runtime-link>static' together with '<link>static'.
The 7th time terminated with error:
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6:2:5 -rpath /n/sci/SCI-004255-ZFPROT/tpp/release_6-1-0/build/linux-x86_64-release/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
libtool: link: `lib/xmlparse.lo' is not a valid libtool object
I called make an 8th time, this time as `make -k all` to "keep going" past errors and build as many targets as possible. Many more programs were compiled successfully, though a few additional errors were picked up:
/bin/sh ../libtool --mode=link gcc -D_REENTRANT -g -O2 -version-info 2:0:0 -o libfloatfann.la -rpath /n/sci/SCI-004255-ZFPROT/tpp/release_6-1-0/build/linux-x86_64-release/lib floatfann.lo
libtool: link: `floatfann.lo' is not a valid libtool object
I'd be much obliged if anyone with more experience with tpp and gcc could comment or make any suggestions on moving forward with how to address any of the above errors.
Thanks,
Malcolm