SeisComP3 / seiscomp3

SeisComP is a seismological software for data acquisition, processing, distribution and interactive analysis.
Other
111 stars 87 forks source link

Seiscomp3 compilation on MacOsX problem linking cxx library #215

Closed Radiasan closed 4 years ago

Radiasan commented 5 years ago

Dear users,

I have a problem when compiling Seiscomp3 on MacOS 10.13.6. This is what i am getting:

File "", line 6 print 'Byte-compiling python modules...' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Byte-compiling python modules...')? [ 16%] Building C object src/seedlink/plugins/fs_plugin/CMakeFiles/fs_plugin.dir/__/plugin.c.o make[2]: [lib/_Config.so] Error 1 make[2]: Deleting file `lib/_Config.so' make[1]: [src/system/libs/swig/CMakeFiles/_Config.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 16%] Linking CXX executable ../../../../bin/fs_plugin [ 16%] Built target fs_plugin make: *** [all] Error 2

gempa-jabe commented 5 years ago

You need Python2, not Python3.

gilcel commented 5 years ago

You can compile the latest version of Seiscomp3 Jakarta for macOS from here: https://github.com/gilcel/seiscomp3-macos

Some instructions here: https://github.com/gilcel/seiscomp3-macos/blob/seiscomp3-jakarta-macos-latest/README-macOS.md

Radiasan commented 5 years ago

You can compile the latest version of Seiscomp3 Jakarta for macOS from here: https://github.com/gilcel/seiscomp3-macos

Some instructions here: https://github.com/gilcel/seiscomp3-macos/blob/seiscomp3-jakarta-macos-latest/README-macOS.md

Thanks a lot for your answer i will try this version.

Radiasan commented 5 years ago

You need Python2, not Python3.

Thanks a lot for your reply i already have Python2 installed. I will try the version proposed by Gilcel.

gilcel commented 5 years ago

I just updated the SEISCOMP3-macOS port version. I forgot to copy the spread lib (and headers) to $SEISCOMPDIR directory.

This is now fixed, here: https://github.com/gilcel/seiscomp3-macos/commit/7adafb0706116933e5765b949b9e41937e097bea

On 21 Jan 2019, at 18:33, Radiasan notifications@github.com wrote:

You need Python2, not Python3.

Thanks a lot for your reply i already have Python2 installed. I will try the version proposed by Gilcel.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SeisComP3/seiscomp3/issues/215#issuecomment-456149936, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2j5XAs_RYtS_Q53TEUdjxvJCGXkgpyks5vFfnigaJpZM4Z7_Yf.

Radiasan commented 5 years ago

Thanks a lot Gilcel for your precious help i will compile again and let you know ! Thanks !