linux 安装上了,下载了一个Bochs版本 bochs-2.4.2-1.i586 结果安装时候依赖文件没找到,提示如下:
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsLzma) is needed by bochs-2.4.2-1.i586
Complete!
yum提示找不到依赖文件,火大,直接下载源代码,,bochs-2.4.6-1.src.rpm,重新生成rpm包:
rpm –ivh bochs-2.4.6-1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild –bb bochs.spec
这个步骤等了好久,结果出错了,信息如下
36% [=========> ] 551,283 12.3K/s eta 85s wget: progress.c:922: create_image: Assertion `insz <= dlsz' failed.
make: *** [dlxlinux4.tar.gz] Aborted
make: *** Deleting file `dlxlinux4.tar.gz'
error: Bad exit status from /var/tmp/rpm-tmp.98121 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.98121 (%build)
还是错了,郁闷死了,关键时刻宿舍开下载了,一下下子断网了,再重复试一遍,哎,网络变好了过了。
进入生成目录,安装,成功了。
cd /usr/src/redhat/RPMS/i386
rpm -ivh bochs-2.4.6-1.i386.rpm