Re: CC issue
Michael Homer <[email protected]>
| Newsgroups | gmane.linux.distributions.gobo.general |
|---|---|
| Message-ID | <CAKXQU_HUAz=ryNO0CTffkdJ_i-MTUsfwT5jyLsf1mUD7QH4Omg@mail.gmail.com> |
On Mon, Nov 10, 2014 at 8:01 AM, Joel Roth <[email protected]> wrote: > Hugo Barrocas wrote: >> There is a bug with Compile. >> >> Please do SymlinkProgram GCC (previous working version numbering). >> >> Then RemoveProgram (the one you compiled). >> >> Now, before running Compile, do DisableProgram GCC (previous versions >> numbering). >> >> Then run Compile again. >> >> Check inside the installation folder in Programs. >> If you are installing for example Foo 1.2, and inside it, the is a >> folder numbered 1.1, its bad. Folders inside that 1.1 would have to be >> moved out one step. >> If there is no older with the previous version number, then it's good. > > Hi Hugo, > > It looks like I've lost a working CC. InstallPackage GCC > doesn't find a candidate. Do I need to configure the > location of the package/recipe database? I don't know whether that was genuine advice or not, but "disable your compiler before you compile something" certainly isn't ever going to be good advice. It doesn't appear that the packages from the CD are online, so not finding them is expected - the newest GCC package up is 4.6.1 - and the repositories should be configured correctly from the start. > Also I find no installation folder in Programs. It sounds like you've removed GCC entirely, rather than just the new version. You'll have to get it back off the CD in that case - just copy the files into place. That said, I think GCC 4.8.2 is what was on the CD in the first place, or at least that's what the release notes say, so I'm not really sure what's going on here in general. If you only ever had the one version installed then removing it would take out GCC entirely. The system will maintain multiple versions in parallel, but will also install the same version over the top of an existing installation happily. > I mounted the CDROM image. Perhaps I can find GCC > there? It will be in one of the squashfs filesystems, yes. -Michael