Opened 8 years ago
Closed 7 years ago
#4366 closed discussion (worksforme)
Error from make in omlibrary-core
Reported by: | Owned by: | Martin Sjölund | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build Environment | Version: | v1.12.0 |
Keywords: | Cc: | Adrian Pop, Patrick Täuber |
Description
Hi,
I am trying to build OpenModelica on RedHat 6.
"make -j4 --debug" terminates with (I will attach the full output):
make[2]: Leaving directory `/appl/tools/openmodelica/nils-git5/OpenModelica/libraries' make[1]: *** [/appl/tools/openmodelica/nils-git5/OpenModelica/build/lib/omlibrary/20170323_190637.core] Error 2 make[1]: Leaving directory `/appl/tools/openmodelica/nils-git5/OpenModelica/libraries' make: *** [omlibrary-core] Error 2
and before that I get errors like this:
error: while accessing https://openmodelica.org/git/SiemensPower.git/info/refs fatal: HTTP request failed make[2]: *** [SiemensPower] Error 1 make[2]: *** Waiting for unfinished jobs....
(but afterwards, stuff continued to be checked out so I am not sure that this is relevant). The failed http requests might very well result from me sitting behind a proxy. However, I was (and am) able to clone the project from Github without a problem by using
git config --global https.proxy <myproxy> git config --global http.proxy <myproxy> git clone --recursive https://github.com/OpenModelica/OpenModelica.git
Of course, this is from Github, not openmodelica.org. Maybe that's the relevant point. If so, my question is simply: how do I tell make to pull whatever else it needs from Github?
Attachments (1)
Change History (6)
by , 8 years ago
comment:2 by , 8 years ago
Cc: | added |
---|
I'm not sure if this has anything to do with the SiemensPower library. However, I suggest to just remove it from the libraries.
comment:3 by , 8 years ago
You can try to see what errors you get when accessing the repository manually:
git clone https://openmodelica.org/git/SiemensPower.git
You could also try:
make --ignore-errors -j4 omlibrary-core
Or:
./configure ... --without-omlibrary
(and just download the libraries manually: https://build.openmodelica.org/libraries/openmodelicalibraries_20170328-190511.tar.xz)
comment:4 by , 8 years ago
I guess you have issues because the libraries are spread over several hosts using svn and git (github.com, openmodelica.org, modelica.org) and you need to approve in the proxy these hosts.
comment:5 by , 7 years ago
Milestone: | Future |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Got no user input, closing the issue
Output of make -j4 --debug