Sample Header Ad - 728x90

Fedora 24: how to get the wx-config script detected in openSUSE Build Service?

0 votes
1 answer
945 views
I have [this spec file](https://gist.github.com/4d88b132c8d5d281a314dc77b75cfab5) for building a CodeLite package and on Fedora 25 it builds fine. But on Fedora 24 instances of the Open Build Service (OBS) it fails giving the error [ 93s] -- SQLITE3_LIBRARY: /usr/lib64/libsqlite3.so [ 93s] -- BUILD_DIRECTORY is set to /home/abuild/rpmbuild/BUILD/codelite-10.0/build_release [ 93s] -- OS name Linux [ 93s] which: no wx-config in (/usr/libexec/wxGTK31/:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/abuild/rpmbuild) [ 93s] CMake Error at CMakeLists.txt:128 (message): [ 93s] [ 93s] [ 93s] No functional wx_config script was found in your PATH. [ 93s] [ 93s] Is the wxWidgets development package installed? [ 93s] [ 93s] [ 93s] -- Configuring incomplete, errors occurred! [ 93s] See also "/home/abuild/rpmbuild/BUILD/codelite-10.0/build_release/CMakeFiles/CMakeOutput.log". [ 93s] error: Bad exit status from /var/tmp/rpm-tmp.85K6gn (%build) [ 93s] [ 93s] I tried to fix this very error on [L74-L75](https://gist.github.com/anonymous/4d88b132c8d5d281a314dc77b75cfab5#file-codelite-spec-L74) of my spec file using a symlink. This fix works for the Fedora 25 build instance on the OBS, but not Fedora 24, oddly. Are there any better solutions that work for both distribution versions?
Asked by Josh Pinto (3533 rep)
Jan 2, 2017, 03:45 PM
Last activity: Mar 1, 2017, 05:23 PM