bash nvidia-mgabuild.sh NVIDIA-Linux-x86-173.14.31-pkg1.run
Unable to generate a package from a pkg1 version of the driver.
You must use NVIDIA-Linux-x86-173.14.31-pkg2.run instead.
bash nvidia-mgabuild.sh NVIDIA-Linux-x86-173.14.31-pkg2.run
Building a package of NVIDIA driver 173.14.31 for x86, this will take a few minutes... rpmbuild output follows:
Executing(%prep): /bin/sh -e /tmp/nvidia-mgabuild.Lhi0ps/tmp/rpm-tmp.SJUC07
+ umask 022
+ cd /tmp/nvidia-mgabuild.Lhi0ps/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /tmp/nvidia-mgabuild.Lhi0ps/BUILD
+ rm -rf nvidia-current-173.14.31
+ /bin/mkdir -p nvidia-current-173.14.31
+ cd nvidia-current-173.14.31
+ sh /home/gert/Downloads/NVIDIA-Linux-x86-173.14.31-pkg2.run --extract-only
Creating directory NVIDIA-Linux-x86-173.14.31-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 173.14.31.............................................................................................................................................................................................................................................................................................
+ rm -rf NVIDIA-Linux-x86-173.14.31-pkg2/usr/src/nv/precompiled
+ cat
+ cat
+ exit 0
Executing(%install): /bin/sh -e /tmp/nvidia-mgabuild.Lhi0ps/tmp/rpm-tmp.HNkVec
+ umask 022
+ cd /tmp/nvidia-mgabuild.Lhi0ps/BUILD
+ cd nvidia-current-173.14.31
+ '[' 1 -eq 1 ']'
+ rm -rf /tmp/nvidia-mgabuild.Lhi0ps/BUILDROOT/nvidia-current-173.14.31-1custom.nvidia.mga1.i386
+ cd NVIDIA-Linux-x86-173.14.31-pkg2
/tmp/nvidia-mgabuild.Lhi0ps/tmp/rpm-tmp.HNkVec: Zeile 29: cd: NVIDIA-Linux-x86-173.14.31-pkg2: Datei oder Verzeichnis nicht gefunden
error: Bad exit status from /tmp/nvidia-mgabuild.Lhi0ps/tmp/rpm-tmp.HNkVec (%install)
RPM build errors:
Bad exit status from /tmp/nvidia-mgabuild.Lhi0ps/tmp/rpm-tmp.HNkVec (%install)
Building package failed!
gert hat geschrieben:also habe ich das Teil kurz von ...pkg1.run in ....pkg2.run umbenannt.
...
sch....ade !
Chapter 3. Selecting and Downloading the NVIDIA Packages for Your System
______________________________________________________________________________
NVIDIA drivers can be downloaded from the NVIDIA website
(http://www.nvidia.com).
The NVIDIA driver follows a Unified Architecture Model in which a single
graphics driver is used for all supported NVIDIA GPU products (see Appendix A
for a list of supported GPUs). The burden of selecting the correct driver is
removed from the user, and the graphics driver is downloaded as a single file
named
'NVIDIA-Linux-x86-173.14.31-pkg1.run'
The package suffix ('-pkg#') is used to distinguish between packages
containing the same driver, but with different precompiled kernel interfaces.
The file with the highest package number is suitable for most installations.
Support for "legacy" GPUs has been removed from the unified driver. These
legacy GPUs will continue to be maintained through special legacy GPU driver
releases. See Appendix A for a list of legacy GPUs.
The downloaded file is a self-extracting installer, and you may place it
anywhere on your system.
- Code: Alles auswählen
+ sh /home/gert/Downloads/NVIDIA-Linux-x86-173.14.31-pkg2.run --extract-only
Creating directory NVIDIA-Linux-x86-173.14.31-pkg1
# pkg0: plain archive
# pkg1: + precompiled modules
# pkg2: + 32bit compatibility libraries
doktor5000 hat geschrieben:Es gibt zu jedem Treiber ein pkg0, pkg1 und pkg2, pkg2 bekommst du hier:
doktor5000 hat geschrieben:Es gibt zu jedem Treiber ein pkg0, pkg1 und pkg2, pkg2 bekommst du hier:
ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.31/
bash nvidia-mgabuild.sh NVIDIA-Linux-x86_64-173.14.31-pkg2.run
The .run file is for x86_64 but you have a 32-bit operating system.
gert hat geschrieben:
- Code: Alles auswählen
bash nvidia-mgabuild.sh NVIDIA-Linux-x86_64-173.14.31-pkg2.run
The .run file is for x86_64 but you have a 32-bit operating system.
und nun ?
[man-draker@localhost Downloads]$ urpmq -i x11-driver-video-nvidia173
Name : x11-driver-video-nvidia173
Version : 173.14.30
Release : 1.mga1
Group : System/Kernel and hardware
Size : 27605329 Architecture: i586
Source RPM : nvidia173-173.14.30-1.mga1.src.rpm
URL : http://www.nvidia.com/object/unix.html
Summary : NVIDIA proprietary X.org driver and libraries for GeForce FX based cards
Description :
NVIDIA proprietary X.org graphics driver, related libraries and
configuration tools for GeForce FX based cards,
including the associated Quadro cards.
NOTE: You should use XFdrake to configure your NVIDIA card. The
correct packages will be automatically installed and configured.
If you do not want to use XFdrake, see README.manual-setup.
This NVIDIA driver should be used with GeForce FX based cards,
including the associated Quadro cards.
[man-draker@localhost Downloads]$ urpmq -i dkms-nvidia173
$MIRRORLIST: media/nonfree/release/media_info/20110529-211855-info.xml.lzma
Name : dkms-nvidia173
Version : 173.14.30
Release : 1.mga1
Group : System/Kernel and hardware
Size : 8227993 Architecture: i586
Source RPM : nvidia173-173.14.30-1.mga1.src.rpm
URL : http://www.nvidia.com/object/unix.html
Summary : NVIDIA kernel module for GeForce FX based cards
Description :
NVIDIA kernel module for GeForce FX based cards. This
is to be used with the x11-driver-video-nvidia173 package.
gert hat geschrieben:Da ich kleinere Darstellungsprobleme mit der Version 173.14.30 (Mageia1) habe würde ich die neuere Version gerne ausprobieren.
gert hat geschrieben:Ich kann damit schon arbeiten, wollte aber mal sehen ob die neuere Version vielleicht "einwandfrei" läuft !
doktor5000 hat geschrieben:Nein, braucht er nicht. Der Autor des Skriptes, Anssi Hannula, ist mein (Paketbau-) Mentor für Mageia. Ich hab ihn mal angeschrieben.
doktor5000 hat geschrieben:So, Skript sollte korrigiert sein. War wohl ein Copy&Paste-Fehler
Download: nvidia-mgabuild.sh
Latest update: 2011-09-09
bash nvidia-mgabuild.sh NVIDIA-Linux-x86_64-173.14.31-pkg2.run
The .run file is for x86_64 but you have a 32-bit operating system.
gert hat geschrieben:Diff zeigt keine Änderung an !
[man-draker@localhost Downloads]$ diff nvidia-mgabuild.sh "nvidia-mgabuild(1).sh"
67,78d66
< case $pkgstyle in
< no-compat32)
< echo "Unable to generate a package from a no-compat32 version of the driver."
< echo "Use the normal version NVIDIA-Linux-$run_arch-$version.run instead."
< exit 1
< ;;
< pkg0|pkg1)
< echo "Unable to generate a package from a $pkgstyle version of the driver."
< echo "You must use NVIDIA-Linux-$run_arch-$version-pkg2.run instead."
< exit 1
< esac
<
162c150
< %define version 275.09.07
---
> %define version 280.04
748c736
< [ -z "$warnings" ] || echo "Please inform Anssi Hannula <anssi@mandriva.org> or http://qa.mandriva.com/ of the above warnings." >> warns.log
---
> [ -z "$warnings" ] || echo "Please inform Anssi Hannula <anssi@mageia.org> or http://bugs.mageia.org/ of the above warnings." >> warns.log
[man-draker@localhost Downloads]$
[gert@localhost Downloads]$ bash nvidia-mgabuild.sh NVIDIA-Linux-x86_64-173.14.31-pkg2.run
The .run file is for x86_64 but you have a 32-bit operating system.
gert hat geschrieben:mit der Version 280.04 kommt auch:
- Code: Alles auswählen
[gert@localhost Downloads]$ bash nvidia-mgabuild.sh NVIDIA-Linux-x86_64-173.14.31-pkg2.run
The .run file is for x86_64 but you have a 32-bit operating system.
[man-draker@localhost Downloads]$ md5sum nvidia-mgabuild.sh
ceaf7661d07b20a046294eff17c36b62 nvidia-mgabuild.sh
[man-draker@localhost Downloads]$
doktor5000 hat geschrieben:Mit dem ganz normalen 32bit-Treiber wolltest du es wohl nicht probieren, also mit diesem hier:
ftp://download.nvidia.com/XFree86/Linux ... 1-pkg0.run
Naja, die Beschreibung des pkg2 erhebt ja den Verdacht, dass man den 64Bit-Treiber unter zu Hilfenahme der 32Bit-Kompatibilitätsbibliotheken auf einem 32Bit-System benutzen kann. Wäre der Installer ein interpretiertes Skript, liefe er ja auch unter einem solchen.doktor5000 hat geschrieben:Auch wenn der Fehler im Skript nun korrigiert ist, kann das nicht aus einem 64bit-Treiber einen 32bit-Treiber zaubern, oder?
if [ "$(arch)" != "x86_64" ]; then
echo "The .run file is for x86_64 but you have a 32-bit operating system."
exit 1
fi
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast