From: "å×ÇÅÎÉÊ ëÏÂÚÅ×" <evgenik@diamonds.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] NVIDIA kernel module
Date: Wed, 16 Oct 2002 11:21:59 +0400
Message-ID: <001f01c274e4$b773f2b0$6600a8c0@evgenik> (raw)
In-Reply-To: <3DACFACF.2070105@rmts.donpac.ru>
----- Исходное сообщение -----
От: "Прокопьев Евгений" <john@rmts.donpac.ru>
Кому: <Community@altlinux.ru>
Отправлено: 16 октября 2002 г. 9:36
Тема: [Comm] NVIDIA kernel module
> Здравствуйте!
>
> Читаю http://www.atmsk.ru/viewtopic.php?t=351
>
> 1. $ wget -c
>
ftp://download.nvidia.com/XFree86_40/1.0-2960/NVIDIA_kernel-1.0-2960.src.rpm
> 09:17:48 ОШИБКА 502: Proxy Error ( The operation timed out ).
>
> 2. Ладно, раз так, выкачиваем
>
http://download.nvidia.com/XFree86_40/1.0-3123/NVIDIA_kernel-1.0-3123.src.rp
m
>
> 3. Устанавливаем от пользователя
>
> 4. Выполняем perl -pe -i 's,unset,#unset,g'
> /usr/src/RPM/SPECS/NVIDIA_kernel.spec
> Unrecognized file test: -i at -e line 1.
Ошибка на сайте atmsk
perl -pe 's,unset,#unset,g' -i /usr/src/RPM/SPECS/NVIDIA_kernel.spec
>
> Кстати, а что это строка делает?
Заменяет unset на #unset в файле /usr/src/RPM/SPECS/NVIDIA_kernel.spec
>
> 5. Выполняем rpm --target i586 -bb /usr/src/RPM/SPECS/NVIDIA_kernel.spec
> Платформы для сборки: --bb
> Сборка для платформы --bb
> ошибка: невозможно получить информацию о /usr/src/RPM/SPECS/i586: No
> such file or directory
rpm -bb --target i586 /usr/src/RPM/SPECS/NVIDIA_kernel.spec
>
> Такого файла и правда нет. Как его сделать?
ПисАть параметры в правильной последовательности.
>
> Собираем проще rpm -bb /usr/src/RPM/SPECS/NVIDIA_kernel.spec
>
> Получаем:
>
> + unset RPM_BUILD_ROOT
> + /usr/lib/rpm/brp-alt
> brp-alt: non-/ $RPM_BUILD_ROOT expected
> ошибка: Неверный код возврата из /var/tmp/rpm-tmp.731 (%install)
Это из-за того, что unset не закомментирован
>
> Если я говорю make, находясь в
> /usr/src/RPM/BUILD/NVIDIA_kernel-1.0-3123, то получаю
>
> $ make
> ld -r -o NVdriver Module-linux Module-nvkernel
> size NVdriver
> text data bss dec hex filename
> 895602 55508 52396 1003506 f4ff2 NVdriver
> Please run "make install" as root.
>
> Собирается и tar.gz с nvidia.com, но я хочу rpm.
>
> Что делать?
Повторить всё сначала, только без ошибок.
next prev parent reply other threads:[~2002-10-16 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 5:36 Прокопьев Евгений
2002-10-16 7:21 ` å×ÇÅÎÉÊ ëÏÂÚÅ× [this message]
2002-10-16 8:46 ` Прокопьев Евгений
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='001f01c274e4$b773f2b0$6600a8c0@evgenik' \
--to=evgenik@diamonds.ru \
--cc=community@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