From: Ivan Zakharyaschev <imz@linux.ru.net> To: ALTLinux Mailing List <mandrake-russian@altlinux.ru> Cc: Sisyphus Mailing List <sisyphus@altlinux.ru> Subject: Re: [mdk-re] HELPME!!! with update-alternatives Date: Mon Apr 2 20:19:24 2001 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.
next prev parent reply other threads:[~2001-04-02 20:19 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-04-02 20:03 Andrey Brindeew 2001-04-02 20:19 ` Aleksandr Blohin 2001-04-02 20:23 ` Ivan Zakharyaschev 2001-04-02 20:19 ` Ivan Zakharyaschev [this message] 2001-04-03 22:24 ` [sisyphus] " 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=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 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