-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build script not working on fedora #113
Comments
OK, we need a tester on Fedora. We can easily modify the script to handle the Fedora distribution, while switching to cmake based build/installation can be little harder. Maybe we can add it in parallel and evaluate how it work. About the linker error i had to check a thing: I saw it look for the .so only in the current directory and not in executable relative path. Try to run the executable from the directory where are them (executable and shared object) |
do you have the files: Same fot the output of: |
I don't have qmake on my system (
I don't have any executable on $PATH called qtchooser.
Hope this helps, let me know if there's anything else I can do! I'm happy to test builds on my machine. |
At first I want to support RedHat/Fedora fixing the script 'build.sh', ongoing. Then I want to add support for RPM generation with a script like 'debianize.sh' (here we need your help as I do not know RPM generation rules), or generating cross-distro package like AppImage: |
Fixing build.sh to support a wider variety of systems would certainly be a good thing, although I think if you're planning to deploy on multiple distros or operating systems then it might be worth changing up your build system. CMake has an extension called CPack which abstracts away the process of building packages for different operating systems, it might be worth looking into that in order to generate Here are some potentially useful docs I found on using CPack as part of a |
thank you for docs links, we will evaluate adding Cmake build chain. Can you please test the RedHat branch of my forked repo: |
about error: |
RPATH branch is now merged to upstream, try to download the sources, and build with the script: |
now also 'build.sh' is merged with upstream. |
It would be nice to know if now we can close this issue... |
for cmake I created a dedicated issue: |
Apologies for the delay in getting back on this, thanks for looking into sorting it out. I've pulled the latest code from master branch and I managed to fix this error by copying |
I just discovered putting |
OK, thank you for test. Please continue discussion about the .so error in the dedicated issue: |
Let's close this one if other improvements are required for Fedora we will open new issue(s) for the next releases. |
Fedora has slightly different package names for its dependencies (
libzip-devel
,boost-devel
,qt-devel
) and a different name for theqmake
executable (qmake-qt4
). I think both of these problems could be fixed by switching from install scripts and Makefiles to acmake
-based build/installation pipeline, allowing the local machine to handle distribution-specific quirks.I'm also getting the following error when attempting to run the
airspaceconverter
orairspaceconverter-gui
executable:The text was updated successfully, but these errors were encountered: