Bug 469096 (codeblocks_gcc)
Summary: | compiler is not detected | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yao Ziyuan <coolspeech> |
Component: | codeblocks | Assignee: | Dan Horák <dan> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | dan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 8.02-4.fc10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-31 14:26:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yao Ziyuan
2008-10-29 20:43:47 UTC
I found the solution at http://forums.codeblocks.org/index.php?topic=8006.msg59929 Please modify Fedora's codeblocks package to reflect the corrections specified by the above link. C::B contains a bug when it is detecting the compiler. It searches whether gcc is in the "PATH" and gets fooled when ccache (the compiler cache) package is installed (it adds /usr/lib/ccache into PATH, last directory is stripped by C::B and we have /usr/lib as compiler location). There are some changes in the detection code in the SVN, so I will check them first. What is your output of "which gcc"? I would expect "/usr/lib/ccache/gcc". > What is your output of "which gcc"? I would expect "/usr/lib/ccache/gcc".
Yes:
[yaoziyuan@localhost ~]$ which gcc
/usr/lib/ccache/gcc
codeblocks-8.02-3.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/codeblocks-8.02-3.fc9 codeblocks-8.02-3.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/codeblocks-8.02-3.fc8 You can grab updated packages for Rawhide at https://koji.fedoraproject.org/koji/buildinfo?buildID=68173 codeblocks-8.02-4.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/codeblocks-8.02-4.fc10 codeblocks-8.02-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. codeblocks-8.02-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. codeblocks-8.02-4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |