QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 676|回复: 1

Phoebe 3(RH Beta3) can not be

[复制链接]
发表于 2003-3-23 10:30:54 | 显示全部楼层 |阅读模式
Phoebe 3(RH Beta3) can not be installed!!!
The Message output is:
Installing NVIDIA_kernel-1.0-2960.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77457
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-2960
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-2960.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-2960
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77457
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-2960
+ LANG=C
+ export LANG
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.2
++ echo 4.2
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.2
++ awk -F . '{print $2;}'
+ RPMMINOR=2
++ echo 4.2
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' 4 -le 3 -a 2 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.77457: line 35: [: too many arguments
+ make NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960   -I. -I/lib/modules/2.4.20-2.48/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-2.48/build/include/linux/vmalloc.h:8,
                 from nv-linux.h:29,
                 from nv.c:27:
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1392: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1392: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1392: too few arguments to function `remap_page_range_R839d959e'
nv.c:1409: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1409: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1409: too few arguments to function `remap_page_range_R839d959e'
nv.c:1440: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1440: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1440: too few arguments to function `remap_page_range_R839d959e'
nv.c: In function `nv_get_phys_address':
nv.c:2276: warning: implicit declaration of function `pte_offset'
nv.c:2276: invalid type argument of `unary *'
make: *** [nv.o] Error 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.55519
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-2960
+ LANG=C
+ export LANG
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.20-2.48
+ TARGET_KERNEL=2.4.20-2.48
+ '[' -d /lib/modules/2.4.20-2.48/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.20-2.48/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-2.48/kernel/drivers/video
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-2.48/kernel/drivers/video
install: cannot stat `NVdriver': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.55519 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.55519 (%install)

What should I to do ?Thank u!!
 楼主| 发表于 2003-3-23 10:57:37 | 显示全部楼层
and this 1.0-4191's out put!
Installing NVIDIA_GLX-1.0-4191.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27658
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_GLX-1.0-4191
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_GLX-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_GLX-1.0-4191
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.89287
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_GLX-1.0-4191
+ LANG=C
+ export LANG
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.89287
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_GLX-1.0-4191
+ LANG=C
+ export LANG
+ DSOMAJOR=1
+ DSOMINOR=0
+ DSOPATCH=4191
+ DSOREV=1.0.4191
+ '[' -n /var/tmp/NVIDIA_GLX-1.0 -a /var/tmp/NVIDIA_GLX-1.0 '!=' / ']'
+ rm -rf /var/tmp/NVIDIA_GLX-1.0
+ mkdir -p /var/tmp/NVIDIA_GLX-1.0/usr/X11R6/lib/modules/drivers
+ mkdir -p /var/tmp/NVIDIA_GLX-1.0/usr/X11R6/lib/modules/extensions
+ mkdir -p /var/tmp/NVIDIA_GLX-1.0/usr/lib
+ install usr/X11R6/lib/modules/drivers/nvidia_drv.o /var/tmp/NVIDIA_GLX-1.0/usr
/X11R6/lib/modules/drivers/nvidia_drv.o
+ install usr/X11R6/lib/modules/extensions/libglx.so.1.0.4191 /var/tmp/NVIDIA_GL
X-1.0/usr/X11R6/lib/modules/extensions/libglx.so.1.0.4191
+ install usr/X11R6/lib/libXvMCNVIDIA.a /var/tmp/NVIDIA_GLX-1.0/usr/X11R6/lib/li
bXvMCNVIDIA.a
+ install usr/X11R6/lib/libXvMCNVIDIA.so.1.0.4191 /var/tmp/NVIDIA_GLX-1.0/usr/X1
1R6/lib/libXvMCNVIDIA.so.1.0.4191
+ install usr/lib/libGLcore.so.1.0.4191 /var/tmp/NVIDIA_GLX-1.0/usr/lib/libGLcor
e.so.1.0.4191
+ install usr/lib/libGL.so.1.0.4191 /var/tmp/NVIDIA_GLX-1.0/usr/lib/libGL.so.1.0
.4191
+ /usr/lib/rpm/brp-compress
Processing files: NVIDIA_GLX-1.0-4191
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.54223
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_GLX-1.0-4191
+ DOCDIR=/var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_GLX-1.0
+ export DOCDIR
+ rm -rf /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_GLX-1.0
+ /bin/mkdir -p /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_GLX-1.0
+ cp -pr usr/share/doc/README /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_GLX-1
.0
+ cp -pr usr/share/doc/README.DE /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_GL
X-1.0
+ cp -pr usr/share/doc/license.txt /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_
GLX-1.0
+ cp -pr usr/share/doc/NVIDIA_Changelog /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NV
IDIA_GLX-1.0
+ cp -pr usr/share/doc/XF86Config.sample /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/N       VIDIA_GLX-1.0
+ cp -pr usr/include /var/tmp/NVIDIA_GLX-1.0/usr/share/doc/NVIDIA_GLX-1.0
+ exit 0
Provides: libGL.so.1 libGLcore.so.1 libXvMCNVIDIA_dynamic.so.1 libglx.so
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHave       Prefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: NVIDIA_kernel XFree86 >= 4.0.1 kernel > 2.2.0 libGLcore.so.1 libX11.so       .6 libXext.so.6 libc.so.6 libc.so.6(GLIBC_2.0) libdl.so.2 libdl.so.2(GLIBC_2.0)        libdl.so.2(GLIBC_2.1) libm.so.6
Processing files: NVIDIA_GLX-debuginfo-1.0-4191
error: Could not open %files file /usr/src/redhat/BUILD/${RPM_PACKAGE_NAME}-${RP       M_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}/debugfiles.list: 没有那个文件或目录


RPM build errors:
    Could not open %files file /usr/src/redhat/BUILD/${RPM_PACKAGE_NAME}-${RPM_P       ACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}/debugfiles.list: 没有那个文件或目录
[root@KLite root]# rpmbuild --rebuild NVIDIA_k*.rpm
Installing NVIDIA_kernel-1.0-4191.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.33916
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-4191
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.49387
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ LANG=C
+ export LANG
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.2
++ echo 4.2
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.2
++ awk -F . '{print $2;}'
+ RPMMINOR=2
++ echo 4.2
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' 4 -le 3 -a 2 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.49387: line 35: [: too many arguments
+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/lib/modules/2.4.20-2.48/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-2.48/build/include/linux/vmalloc.h:8,
                 from nv-linux.h:64,
                 from nv.c:14:
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1282: too few arguments to function `remap_page_range_R839d959e'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1301: too few arguments to function `remap_page_range_R839d959e'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1387: too few arguments to function `remap_page_range_R839d959e'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** [nv.o] Error 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.25243
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ LANG=C
+ export LANG
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.20-2.48
+ TARGET_KERNEL=2.4.20-2.48
+ '[' -d /lib/modules/2.4.20-2.48/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.20-2.48/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-2.48/kernel/drivers/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-2.48/kernel/drivers/video
install: cannot stat `nvidia.o': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.25243 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.25243 (%install)
[root@KLite root]#
[root@KLite root]# rpmbuild --rebuild NVIDIA_k*.rpm
Installing NVIDIA_kernel-1.0-4191.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.68713
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-4191
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.68713
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ LANG=C
+ export LANG
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.2
++ echo 4.2
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.2
++ awk -F . '{print $2;}'
+ RPMMINOR=2
++ echo 4.2
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' 4 -le 3 -a 2 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.68713: line 35: [: too many arguments
+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/lib/modules/2.4.20-2.48/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-2.48/build/include/linux/vmalloc.h:8,
                 from nv-linux.h:64,
                 from nv.c:14:
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1282: too few arguments to function `remap_page_range_R839d959e'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1301: too few arguments to function `remap_page_range_R839d959e'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1387: too few arguments to function `remap_page_range_R839d959e'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** [nv.o] Error 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.60544
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ LANG=C
+ export LANG
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.20-2.48
+ TARGET_KERNEL=2.4.20-2.48
+ '[' -d /lib/modules/2.4.20-2.48/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.20-2.48/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-2.48/kernel/drivers/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.20-2.48/kernel/drivers/video
install: cannot stat `nvidia.o': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.60544 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.60544 (%install)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 17:28 , Processed in 0.042257 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表