ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@linux.ru.net>
To: ALTLinux Mailing List <mandrake-russian@altlinux.ru>
Cc: Sisyphus Mailing List <sisyphus@altlinux.ru>
Subject: [sisyphus] Re: [mdk-re] HELPME!!! with update-alternatives
Date: Mon, 2 Apr 2001 20:27:18 +0400 (MSD)
Message-ID: <Pine.LNX.4.33L.0104022018380.1946-100000@zephyrous.ru> (raw)
In-Reply-To: <200104021602.f32G2eh94247@pinochet.cityline.ru>

	Hello!

On Mon, 2 Apr 2001, Andrey Brindeew wrote:

> Дело обстоит следующим образом:
> есть проблема с update-alternatives: стоят два компилятора, но при
> сборке
> чего-либо gcc и т.д. просто не находится.
> Т.е. собрать нельзя ничего, ни из rpm, ни из тарболлов и т.д. :-(
> Думал, проживу пару-тройку дней без этого, ну неделю. А не получилось.
> :-(((
> Начальство срочно потребовало поправить базу в Аксессе.
> Пришлось переконфигурить VMWare, а она возьми и скажи - мол нет ни фига
> модулей, давайте их компилить.
> Давайте, говорю я, и она меня совершенно справедливо обругивает на
> чистом
> английском трехэтажном мате - мол cpp1 не найден - компилить-то нечем!
> Как мне решить эту проблему? Смутно догадываюсь, что просто надобно
> прописать симлинки на нужные файлы нужного компилятора.

Самый простой способ -- снести пакеты gcc, cpp, compat-{gcc,cpp} из
системы и поставить их заново из rpm-ок (если они есть под рукой). Может
помочь.

А если вручную править символические ссылки, то надо иметь в виду
принцип их организации:

на месте запускаемого файла -- ссылка внутрь /etc/alternatives/, а оттуда
ссылка, указывающая на настоящий файл (одну из альтернатив). Напимер

/usr/bin/cpp -> /etc/alternatives/cpp -> /usr/bin/cpp-2.96

А при конфигурировании альтернатив меняется среднее звено в этой цепочке.
Чтобы понять, какие конкретно cсылки устанавливаются пакетом, взгляните на
его install time-скрипты.

> На что именно?
> ./configure gcc не находит (Checking if gcc [options list] works...
> no).
> Помогите плз сделать хотя бы "на спичках сейчас", как можно скорее.
> Иначе
> меня как грелку порвут. :-((((((

Best regards,
Ivan.




  parent reply	other threads:[~2001-04-02 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-02 16:02 [sisyphus] " Andrey Brindeew
2001-04-02 16:26 ` [sisyphus] Re: [mdk-re] " Aleksandr Blohin
2001-04-02 16:30   ` Ivan Zakharyaschev
2001-04-02 16:27 ` Ivan Zakharyaschev [this message]
2001-04-02 17:02   ` Andrey Brindeew
2001-04-03  6:49     ` Mikhail Zabaluev
2001-04-03 18:31       ` Sergey Vlasov
2001-04-02 17:02   ` Andrey Brindeew

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=Pine.LNX.4.33L.0104022018380.1946-100000@zephyrous.ru \
    --to=imz@linux.ru.net \
    --cc=mandrake-russian@altlinux.ru \
    --cc=sisyphus@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 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