Re: [gentoo-user] compile probs in general (tightvnc in particular)
Thanks Boyd, I will try to emerge -e system when my cable account gets back to full speed on the 1st. Thanks again for everyones help James On 6/28/05, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote: > James Ferguson wrote: > > gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" > > make[2]: *** [vncauth.o] Error 1 > > make[2]: Leaving directory > > `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > > `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' > > make: *** [World] Error 2 > > > > If anyone could suggest a cause for this i would be greatfull, as a > > lot of other software i have been trying to install has been failing > > to compile and im starting to think it could all be related. > > Generally, this is caused by changing your CHOST [That's when it > happened to me.], but I suppose it could just been some portage/ebuild > oddity. IIRC, this can be corrected with an emerge -e system. > > As a workaround, when you find a package that gives this error, go into > the portage work directory and sed -e 's/i386-/i686-/g' all the auto* > generated files (particularly the Makefile) [Heck, you might be able to > safely do this to ALL the files.], then move through the ebuild manually > (see 'man ebuild'). > > This should cause the system to look for i686-pc-linux-gnu-gcc, which > you should have. > > -- > Boyd Stephen Smith Jr. > [EMAIL PROTECTED] > > -- > gentoo-user@gentoo.org mailing list > > -- Oh yeah, can you find your way, show me the way to come. Zugzwang got me in a way, under my opposing thumb. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
James Ferguson wrote: gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. Generally, this is caused by changing your CHOST [That's when it happened to me.], but I suppose it could just been some portage/ebuild oddity. IIRC, this can be corrected with an emerge -e system. As a workaround, when you find a package that gives this error, go into the portage work directory and sed -e 's/i386-/i686-/g' all the auto* generated files (particularly the Makefile) [Heck, you might be able to safely do this to ALL the files.], then move through the ebuild manually (see 'man ebuild'). This should cause the system to look for i686-pc-linux-gnu-gcc, which you should have. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
Thanks for the response Colin, for now I'll just get around it by using vnc rather than tight vnc, and wait to see if this same error occurs again. On 6/28/05, Colin <[EMAIL PROTECTED]> wrote: > James Ferguson wrote: > > >i686-pc-linux-gnu-3.3.5 * was already set as default. > >so I evn-update and source /etc/profile, still got the same error. > > > >am I right in assuming that i need to set my default profile to > >"i386-pc-linux-gnu-gcc" ? > > > >gcc-config -l shows these options: > > > >[1] i686-pc-linux-gnu-3.3.5 * > >[2] i686-pc-linux-gnu-3.3.5-hardened > >[3] i686-pc-linux-gnu-3.3.5-hardenednopie > >[4] i686-pc-linux-gnu-3.3.5-hardenednossp > > > >how do i create one for i386 or more likely how do i get tightvnc to > >compile with this profile. > > > Well if you don't have it, then this isn't the problem. Re-select > profile 1, env-update, source /etc/profile and see if it works. If not, > then it's something that I can't help you with. > > -- > Colin > > -- > gentoo-user@gentoo.org mailing list > > -- Oh yeah, can you find your way, show me the way to come. Zugzwang got me in a way, under my opposing thumb. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
James Ferguson wrote: i686-pc-linux-gnu-3.3.5 * was already set as default. so I evn-update and source /etc/profile, still got the same error. am I right in assuming that i need to set my default profile to "i386-pc-linux-gnu-gcc" ? gcc-config -l shows these options: [1] i686-pc-linux-gnu-3.3.5 * [2] i686-pc-linux-gnu-3.3.5-hardened [3] i686-pc-linux-gnu-3.3.5-hardenednopie [4] i686-pc-linux-gnu-3.3.5-hardenednossp how do i create one for i386 or more likely how do i get tightvnc to compile with this profile. Well if you don't have it, then this isn't the problem. Re-select profile 1, env-update, source /etc/profile and see if it works. If not, then it's something that I can't help you with. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
i686-pc-linux-gnu-3.3.5 * was already set as default. so I evn-update and source /etc/profile, still got the same error. am I right in assuming that i need to set my default profile to "i386-pc-linux-gnu-gcc" ? gcc-config -l shows these options: [1] i686-pc-linux-gnu-3.3.5 * [2] i686-pc-linux-gnu-3.3.5-hardened [3] i686-pc-linux-gnu-3.3.5-hardenednopie [4] i686-pc-linux-gnu-3.3.5-hardenednossp how do i create one for i386 or more likely how do i get tightvnc to compile with this profile. On 6/28/05, Colin <[EMAIL PROTECTED]> wrote: > James Ferguson wrote: > > >Hi All, > > > >Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system > > > >this is the error im getting: > > > >gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" > >make[2]: *** [vncauth.o] Error 1 > >make[2]: Leaving directory > >`/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' > >make[1]: *** [all] Error 2 > >make[1]: Leaving directory > >`/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' > >make: *** [World] Error 2 > > > >If anyone could suggest a cause for this i would be greatfull, as a > >lot of other software i have been trying to install has been failing > >to compile and im starting to think it could all be related. > > > I had the same problem while bootstrapping. After the bootstrap failed, > I just ran gcc-config to switch to i686-pc-linux-gnu-gcc-3.3.5, and > continued the bootstrap where I left off.. Use gcc-config and select a > new compiler. Then env-update; source /etc/profile and emerge again. > > -- > Colin > > -- > gentoo-user@gentoo.org mailing list > > -- Oh yeah, can you find your way, show me the way to come. Zugzwang got me in a way, under my opposing thumb. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
James Ferguson wrote: Hi All, Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system this is the error im getting: gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. I had the same problem while bootstrapping. After the bootstrap failed, I just ran gcc-config to switch to i686-pc-linux-gnu-gcc-3.3.5, and continued the bootstrap where I left off.. Use gcc-config and select a new compiler. Then env-update; source /etc/profile and emerge again. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] compile probs in general (tightvnc in particular)
Hi All, Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system this is the error im getting: gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. tia, James -- Oh yeah, can you find your way, show me the way to come. Zugzwang got me in a way, under my opposing thumb. -- gentoo-user@gentoo.org mailing list