Closed bibraj closed 4 years ago
I've experienced the same error on MacOSX
Nick,
I created a branch, issue-49-fix, that contains the repair for the failed C++ build. It is based off of the master branch on 26 July, but there have only been 3 updates on master since that time. You might give that a try. If you do, let me know how it works for you as I do not have a MacOSX host.
On Fri, Aug 3, 2018 at 2:55 PM, Nick Guy notifications@github.com wrote:
I've experienced the same error on MacOSX
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCAR/lrose-core/issues/50#issuecomment-410373849, or mute the thread https://github.com/notifications/unsubscribe-auth/AlF1-m83xeR50zR-9Ake6bBlI2N5xMHeks5uNLiugaJpZM4UcES8 .
-- Marlin Nielson Outside Analytics
Marlin,
Thanks for posting this. I cloned that directory and gave it a try. I just linked my issue, which was actually building from an earlier binary distribution and not from source. It appears there are even more issues when I try from source. I hope to get back to this soon, but don't have the time to deep dive right now into this issue.
Should build fine on both Centos 7 and Centos 8 now.
Tried to build lrose package in Centos 7 with instructions from README_AUTOMAKE_BUILD.md and received the following error. The
libtool: link: ranlib .libs/libtrmm_rsl.a libtool: link: ( cd ".libs" && rm -f "libtrmm_rsl.la" && ln -s "../libtrmm_rsl.la" "libtrmm_rsl.la" ) make[2]: Leaving directory
main()
File "./build/build_lrose.py", line 157, in main
shellCmd(cmd)
File "./build/build_lrose.py", line 251, in shellCmd
retcode = subprocess.check_call(cmd, shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'make -k -j 8' returned non-zero exit status 2
Traceback (most recent call last):
File "./build/checkout_and_build_auto.py", line 574, in
main()
File "./build/checkout_and_build_auto.py", line 190, in main
buildPackage()
File "./build/checkout_and_build_auto.py", line 442, in buildPackage
shellCmd("./build/build_lrose.py " + args)
File "./build/checkout_and_build_auto.py", line 556, in shellCmd
retcode = subprocess.check_call(cmd, shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command './build/build_lrose.py --prefix /tmp/lrose_build/tmp --package lrose' returned non-zero exit status 1
/tmp/lrose_build/lrose-core/codebase/libs/trmm_rsl/src' make[2]: Entering directory
/tmp/lrose_build/lrose-core/codebase/libs/trmm_rsl' make[2]: Nothing to be done forall-am'. make[2]: Leaving directory
/tmp/lrose_build/lrose-core/codebase/libs/trmm_rsl' make[1]: Leaving directory/tmp/lrose_build/lrose-core/codebase/libs/trmm_rsl' make[1]: Entering directory
/tmp/lrose_build/lrose-core/codebase/libs' make[1]: Nothing to be done forall-am'. make[1]: Leaving directory
/tmp/lrose_build/lrose-core/codebase/libs' make: *** [all-recursive] Error 1 make: Target `all' not remade because of errors. Traceback (most recent call last): File "./build/build_lrose.py", line 269, in