* [sisyphus] gcc - alternatives
@ 2012-09-15 10:44 Michael Bykov
0 siblings, 0 replies; only message in thread
From: Michael Bykov @ 2012-09-15 10:44 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Салют,
после переезда на systemd запускаю ./configure, говорит нет gcc. А оно есть.
В acc gcc дает единственную альтернативу
sudo ls -l /etc/alternatives/links/\|usr\|bin\|gcc
lrwxrwxrwx 1 root root 20 сен 14 22:59
/etc/alternatives/links/|usr|bin|gcc -> /usr/bin/gcc_wrapper
И галочка "вы можете указать вручную". Но как указать, не предлагает.
Ставишь галочку, и ничего не происходит. ОК, но это может
фрустрировать неокрепшие организмы. Я и так знаю, что я вручную много
чего могу, необязательно еще и галочку ставить.
Я убил /usr/bin/gcc и вручную создал симлинк
ln -s /usr/bin/gcc-4.6 /usr/bin/gcc
и все заработало. Но нужно же как-то через альтернативы? А не
напрямую? В общем, был фрустрирован, и до сих пор еще немножко, как
последний неокрепший организм.
PS. Пора уже в лес, на шашлыки, суббота все-таки, восстанавливать
душевное здоровье
--
М.
http://diglossa.ru
xmpp://m.bykov@jabber.ru
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-15 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-15 10:44 [sisyphus] gcc - alternatives Michael Bykov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git