public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Possible isses with gcc, *please* read!
@ 2002-12-16 22:21 Martin Schlemmer
  2002-12-17 10:10 ` [gentoo-dev] " Csaba Paradi
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Schlemmer @ 2002-12-16 22:21 UTC (permalink / raw
  To: gentoo-core, Gentoo-Dev, Gentoo-User

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

Hi

Sorry for the inconvenience, but if you experience problems
where builds fail due to /lib/cpp or /usr/bin/cc not being
executable:

-----------------------
imake -DUseInstalled -I/usr/X11R6/lib/X11/config 
imake: No such file or directory 
imake: Cannot exec /lib/cpp. 
  Stop. 
-----------------------

Please do the following:

 # emerge rsync
 # rm -f /lib/cpp /usr/bin/cc
 # cp /usr/portage/sys-devel/gcc/files/cpp /lib
 # cp /usr/portage/sys-devel/gcc/files/cc /usr/bin
 # chmod +x /lib/cpp /usr/bin/cc

The reason for this, is that for support of multiple versions
of gcc, we had to drop the /lib/cpp and /usr/bin/cc symlinks
in favour for wrappers.

Problem now, is that many of the older gcc ebuild have a broken
pkg_postrm() function that recreate the /lib/cpp and /usr/bin/cc
symlinks after new one was merged, and old is then unmerged.

If any problems, and above does not work, drop me a mail ... I
will try to help everyone in reasonable time.


Regards,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: Possible isses with gcc, *please* read!
  2002-12-16 22:21 [gentoo-dev] Possible isses with gcc, *please* read! Martin Schlemmer
@ 2002-12-17 10:10 ` Csaba Paradi
  0 siblings, 0 replies; 2+ messages in thread
From: Csaba Paradi @ 2002-12-17 10:10 UTC (permalink / raw
  To: azarah; +Cc: gentoo-core, gentoo-dev, gentoo-user

Hi,

> From: Martin Schlemmer <azarah@gentoo.org>
> Subject: Possible isses with gcc, *please* read!
> Date: 17 Dec 2002 00:21:15 +0200

> Sorry for the inconvenience, but if you experience problems
> where builds fail due to /lib/cpp or /usr/bin/cc not being
> executable:
It's our fault, we selected the ACCEPT_KEYWORDS="~x86" in make.conf ... :-)

> 
> Please do the following:
> 
>  # emerge rsync
>  # rm -f /lib/cpp /usr/bin/cc
>  # cp /usr/portage/sys-devel/gcc/files/cpp /lib
>  # cp /usr/portage/sys-devel/gcc/files/cc /usr/bin
>  # chmod +x /lib/cpp /usr/bin/cc
> 
It didn't help.
If say: export PATH=$PATH:`/usr/sbin/gcc-config --get-bin-path` then gcc works as a normal user too.
It's enough for me till the gcc ebuild get fixed !


Regards,

Csaba Paradi

ps. Dear Gentoo guys, thanks for this great distribution !!

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-17 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-16 22:21 [gentoo-dev] Possible isses with gcc, *please* read! Martin Schlemmer
2002-12-17 10:10 ` [gentoo-dev] " Csaba Paradi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox