ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg Frolkov <of@nm.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Junior: gcc not work.
Date: Thu Jul 12 20:06:00 2001
Message-ID: <174765146.20010712202519@nm.ru> (raw)

Hello Сборщикам дистрибута,

Пытаюсь запустить gcc - получаю следующее:

[crazy@test crazy]$ gcc
Can't exec "/usr/bin/i586-mandrake-linux-gcc": No such file or directory at /usr/lib/perl5/5.6.0/IPC/Open3.pm line 217.
open3: exec of /usr/bin/i586-mandrake-linux-gcc failed at /usr/bin/gcc line 211
[crazy@test crazy]$   

смотрим /usr/bin/gcc->/etc/alternatives/gcc->usr/bin/color-gcc
Строка 94:

sub initDefaults
{
   $compilerPaths{"gcc"} = "/usr/bin/i586-mandrake-linux-gcc";
   $compilerPaths{"g++"} = "/usr/bin/i586-mandrake-linux-g++";
   $compilerPaths{"cc"}  = "/usr/bin/i586-mandrake-linux-gcc";
   $compilerPaths{"c++"} = "/usr/bin/i586-mandrake-linux-g++";

Я так понимаю что вместо i586-mandrake-linux-gcc должно быть но я
видимо ошибаюсь, ибо смена этих строк ни чего не дала пока я не создал
симлинки /usr/bin/i586-mandrake-linux-gcc и g++ после этого все
заработало - но все-таки где я просмотрел? Можно ведь в скрипте
поправить... И расскажите тайный смысл тройного симлинка? Разве нельзя
было /usr/bin/gcc сделать симлинком сразу на /usr/bin/color-gcc ?

Образ Junior брал совсем недавно с вашего сайта.

Best regards,
 Oleg                          mailto:of@nm.ru




             reply	other threads:[~2001-07-12 20:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-12 20:06 Oleg Frolkov [this message]
2001-07-12 22:53 ` Konstantin Volckov
2001-07-17 15:30   ` Re[2]: " Oleg Frolkov
2001-07-17 15:44     ` Igor Solovyov
2001-07-17 18:25       ` Sergey Vlasov
2001-07-17 19:04         ` Igor Solovyov
2001-07-17 19:58           ` Sergey Vlasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174765146.20010712202519@nm.ru \
    --to=of@nm.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git