Closed Relativist1 closed 2 years ago
Hi,
Le 06/10/2020 à 16:35, Saurabh a écrit :
Hello, I am trying to install Gyoto again on my macOS again (as for some reasons I did a format), having an issue while making Gyoto. I am getting an error while 'make':
|'Unknown attribute kind (61) (Producer: 'LLVM10.0.0' Reader: 'LLVM APPLE_1_1100.0.33.17_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.17)' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: [libgyoto-python3.8.la] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2|
For Solving this I configured with the following options but still getting the same error.
- |./configure --without-mpi CC="gcc -arch x86_64" |
- |./configure --without-mpi CC="gcc -arch x86_64" CXX="g++ -arch i386" CPP="gcc -E" CXXCPP="g++ -E" |
Do you mean the error still mentions LLVM?
I also looked up in the BUGS file and it recommends installing without |fenv|, so tried with that, but still getting the same error.
Also, when I installed using macports, I wasn't able to use the python plugin , getting an import error !
What exact error? Did you install the python plug-in (e.g. with sudo port install py3.7-gyoto) ?
Kind regards, Thibaut.
Hi, Yes the error still mentions LLVM.
For Python when I import gyoto.core I get this issue
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/__init__.py", line 8, in <module> from gyoto.core import * File "/Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/core.py", line 25, in <module> from . import _core ImportError: dlopen(/Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/_core.cpython-38-darwin.so, 10): Library not loaded: /usr/local/lib/libgyoto-unreleased-nompi.8.dylib Referenced from: /Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/_core.cpython-38-darwin.so Reason: image not found
Yes I tried to install the plugin with the command you mentioned and it installed successfully and then I tried again to import gyoto.core, but still gets the same the error mentioned above.
Actually, I want to use the python interface for defining the metric class and an intensity class (normal gyoto is working as I installed from macports).
Le 07/10/2020 à 12:52, Saurabh a écrit :
Hi, Yes the error still mentions LLVM.
This means that the configure step did not do the right thing. You can check with grep CXX Makefile
The INSTALL.Gyoto file mentions setting CC and CXX before calling configure, e.g.: CC=gcc-4.8 CXX=g++-4.8 ./configure Did you try that? In your previous e-mail it rather looks like ./configure CC=gcc-4.8 CXX=g++-4.8
When installing the python plug-in through macports, it is only available for a single macports-provided version of Python. If you need to use anaconda, then indeed you will need to recompile Gyoto (make sure you select the appropriate python3 executable during the configure step.
Kind regards, Thibaut.
For Python when I import gyoto.core I get this issue |Traceback (most recent call last): File "
", line 1, in File "/Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/init.py", line 8, in from gyoto.core import * File "/Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/core.py", line 25, in from . import _core ImportError: dlopen(/Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/_core.cpython-38-darwin.so, 10): Library not loaded: /usr/local/lib/libgyoto-unreleased-nompi.8.dylib Referenced from: /Users/geodesix/opt/anaconda3/lib/python3.8/site-packages/Gyoto-1.4.4-py3.8-macosx-10.9-x86_64.egg/gyoto/_core.cpython-38-darwin.so Reason: image not found | Yes I tried to install the plugin with the command you mentioned and it installed successfully and then I tried again to import gyoto.core, but still gets the same the error mentioned above. Actually, I want to use the python interface for defining the metric class and an intensity class (normal gyoto is working as I installed from macports).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gyoto/Gyoto/issues/9#issuecomment-704856251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXSGTDVNFKN6GM32MLBZ3SJRB7NANCNFSM4SGDRVWQ.
--
Hello, I am trying to install Gyoto again on my macOS again (as for some reasons I did a format), having an issue while making Gyoto. I am getting an error while 'make':
'Unknown attribute kind (61) (Producer: 'LLVM10.0.0' Reader: 'LLVM APPLE_1_1100.0.33.17_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.17)' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [libgyoto-python3.8.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
For Solving this I configured with the following options but still getting the same error. 1)
./configure --without-mpi CC="gcc -arch x86_64"
2)./configure --without-mpi CC="gcc -arch x86_64" CXX="g++ -arch i386" CPP="gcc -E" CXXCPP="g++ -E"
I also looked up in the BUGS file and it recommends installing without
fenv
, so tried with that, but still getting the same error.Also, when I installed using macports, I wasn't able to use the python plugin , getting an import error !