-
Notifications
You must be signed in to change notification settings - Fork 21
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
Tumbleweed: No native compiler found for Ada #21
Comments
For sure the proper way to go is to enhance the xml knowledge base, adding "ln" simply works around its insufficient knowledge of non-AdaCore-packaged distributions. Replacing "lib" with "lib*" in a regexp seems like a no-brainer, but matching too much stuff instead of $gcc_version is potentially dangerous, so this needs some consideration. We are currently in the process of reviewing the KB (that has been growing in a somewhat haphazard fashion for over a decade) to make it more structured and manageable, and supporting third-party distribs is one of the objectives, so we are taking note of this special case. In the meantime the easiest for you is probably to tweak the KB locally on your side to accommodate your situation. |
The finding of okellogg saved me a lot of time while installing gtkada. I did describe a similar workaround in https://github.com/Blunk-electronic/M-1/blob/master/gtkada_install.txt . Hopefully helping others... |
same problem on fedora 28. the bootstrap version of gprconfig does not find fedora's gnat. fedora 28 has gcc 8.2.1, so gprconfig is looking in /usr/lib/.../8.2.1, but fedora keeps things in /usr/lib/.../8 gnatls seems to know this. why doesn't gprconfig use data from gnatls -v? |
@paherbst Please open bug report https://bugzilla.redhat.com |
I'm experiencing the same issue on Ubuntu 18.04 |
@ajxy . Does the procedure I described above help you ? |
Your link 404's for me unfortunately. I was able to resolve the issue temporarily using the technique outlined by @okellogg above. |
ok, for the others getting stuck please see: |
On my OpenSuSE Tumbleweed installation,
gnatls -v
gives:and
gcc -v
gives:and
gcc -print-search-dirs
gives:In
gprbuild/share/gprconfig/compilers.xml
compiler_description GNAT, the section<runtimes>
has this line:There are two parts of the path expression where the OpenSuSE compiler deviates:
\.\./lib/
but OpenSuSE uses\.\./lib64/
$gcc_version
which in this case is6.3.1
; however, OpenSuSE uses just6
.I have been able to work around the problem as follows:
Of course, that is a quick hack of which I am not proud :/
The text was updated successfully, but these errors were encountered: