Trouble compiling latest therion code in Linux (Ubuntu 20.04)
Hi, I'm having trouble compiling the latest therion code in Linux (Ubuntu 20.04). First I had to manually create the following symlinks inside /lib/x86_64-linux-gnu so ld would stop complaining about missing libraries during the linking process: libvtkIOLegacy.so -> libvtkIOLegacy-7.1.so libvtkFiltersHybrid.so -> libvtkFiltersHybrid-7.1.so libvtkFiltersCore.so -> libvtkFiltersCore-7.1.so libvtkCommonCore.so -> libvtkCommonCore-7.1.so libvtkCommonDataModel.so -> libvtkCommonDataModel-7.1.so libvtkCommonExecutionModel.so -> libvtkCommonExecutionModel-7.1.so Now, after an apparently clean compile, I'm getting the following errors at the end of "sudo make install": installation error: could not write /usr/local/bin/therion installation error: could not write /usr/local/bin/xtherion installation error: could not write /usr/local/bin/loch There are no therion, xtherion and loch executables on the build directory to be copied. Any ideias what could be wrong? Regards, Rodrigo Severo Sent with [ProtonMail](https://protonmail.com) Secure Email.
Hi, compilation on Ubuntu 20.04 works fine in our CI, check https://github.com/therion/therion/blob/master/.github/workflows/make.yaml if there are any differences to your setup. Martin On Tue, Dec 15, 2020 at 11:22 AM Rodrigo Severo via Therion < therion@speleo.sk> wrote:
Hi,
I'm having trouble compiling the latest therion code in Linux (Ubuntu 20.04).
First I had to manually create the following symlinks inside /lib/x86_64-linux-gnu so ld would stop complaining about missing libraries during the linking process:
libvtkIOLegacy.so -> libvtkIOLegacy-7.1.so libvtkFiltersHybrid.so -> libvtkFiltersHybrid-7.1.so libvtkFiltersCore.so -> libvtkFiltersCore-7.1.so libvtkCommonCore.so -> libvtkCommonCore-7.1.so libvtkCommonDataModel.so -> libvtkCommonDataModel-7.1.so libvtkCommonExecutionModel.so -> libvtkCommonExecutionModel-7.1.so
Now, after an apparently clean compile, I'm getting the following errors at the end of "sudo make install":
installation error: could not write /usr/local/bin/therion installation error: could not write /usr/local/bin/xtherion installation error: could not write /usr/local/bin/loch
There are no therion, xtherion and loch executables on the build directory to be copied.
Any ideias what could be wrong?
Regards,
Rodrigo Severo
Sent with ProtonMail <https://protonmail.com> Secure Email. _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ Em terça-feira, dezembro 15, 2020 2:04 PM, Martin Budaj <m.budaj@gmail.com> escreveu:
Hi,
compilation on Ubuntu 20.04 works fine in our CI, check https://github.com/therion/therion/blob/master/.github/workflows/make.yaml if there are any differences to your setup.
Hi Martin, Using the above file as reference, I used make config-debian instead of make config-linux that I was using before. Everything compiled just fine now. Thanks! Rodrigo
Martin
On Tue, Dec 15, 2020 at 11:22 AM Rodrigo Severo via Therion <therion@speleo.sk> wrote:
Hi,
I'm having trouble compiling the latest therion code in Linux (Ubuntu 20.04).
First I had to manually create the following symlinks inside /lib/x86_64-linux-gnu so ld would stop complaining about missing libraries during the linking process:
libvtkIOLegacy.so -> libvtkIOLegacy-7.1.so libvtkFiltersHybrid.so -> libvtkFiltersHybrid-7.1.so libvtkFiltersCore.so -> libvtkFiltersCore-7.1.so libvtkCommonCore.so -> libvtkCommonCore-7.1.so libvtkCommonDataModel.so -> libvtkCommonDataModel-7.1.so libvtkCommonExecutionModel.so -> libvtkCommonExecutionModel-7.1.so
Now, after an apparently clean compile, I'm getting the following errors at the end of "sudo make install":
installation error: could not write /usr/local/bin/therion installation error: could not write /usr/local/bin/xtherion installation error: could not write /usr/local/bin/loch
There are no therion, xtherion and loch executables on the build directory to be copied.
Any ideias what could be wrong?
Regards,
Rodrigo Severo
Sent with [ProtonMail](https://protonmail.com) Secure Email. _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 2020-12-15 17:17 +0000, Rodrigo Severo via Therion wrote:
Hi Martin, Using the above file as reference, I used make config-debian instead of make config-linux that I was using before. Everything compiled just fine now.
As you found, you need config-debian, not config-linux, to build on debian, and I'm glad to hear it does still work as it's a long time since it had any attention. But there are quite a few changes in the kosher debian packages to make sure things like security flags are set, files are stored in the right paths, system libraries are used, docs are referenced. Here is the list: https://sources.debian.org/src/therion/5.5.4ds1-1/debian/patches/ In general you are better off building the packages than the bare upstream releases unless you really need to for development. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
participants (3)
-
Martin Budaj -
rsev@protonmail.com -
Wookey