Also, I wouldn't recommend using make -k because then you get errors with
linking of the sort you are seeing because prerequisite dependencies are
not being built properly so downstream linking of applications to
dependencies fails.

Can you send the actual errors that are generated when you run make all for
the first time on a fresh source tree as those are likely to hold
additional clues?  Also if you are able to provide access to the machine,
or a cloud machine with the same configuration and compilation problem, so
I can log in that would help me troubleshoot the issue.

Thanks!
-David

On Tue, Jun 7, 2022 at 9:02 PM Malcolm Cook <malcolm.c...@gmail.com> wrote:

> Hi,
>
> I am following &  adapting TPP 6.1.0: Installing on Ubuntu 20.04 LTS
> <http://tools.proteomecenter.org/wiki/index.php?title=TPP_6.1.0:_Installing_on_Ubuntu_20.04_LTS>
> for our centos 7 environment.
>
> 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"
>
> source /opt/rh/devtoolset-9/enable  # enable RED HAT DEVELOPER TOOLSET 9.1
> <https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/9/html-single/user_guide/index>
>
> 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
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/spctools-discuss/2c3b135e-3282-43eb-be81-6f89370ae1bcn%40googlegroups.com
> <https://groups.google.com/d/msgid/spctools-discuss/2c3b135e-3282-43eb-be81-6f89370ae1bcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/spctools-discuss/CAGJJY%3D9_hu8tSHR51o2necoeNVcNrAgn%3D5653-YJpOC3FuJPjQ%40mail.gmail.com.

Reply via email to