64位ubuntu6.06编译wine出错,请大虾指点

Wine、Cedega、CrossOver 等配置
回复
wendayuan
帖子: 9
注册时间: 2006-06-20 9:39

64位ubuntu6.06编译wine出错,请大虾指点

#1

帖子 wendayuan » 2006-06-29 11:18

我是newbie

机器装的64位的ubuntu,因为需要用网银,所以想装wine,结果我把wine官方说明的源添到新利得之后,依然找不到,我认为也许是64位的没有的缘故,所以我决定按照官方的说明make一个
Building the Wine Package from Source using APT:

APT also allows easy compilation from source of a package. This is useful if there is no binary package available for your architecture, or if you wish to create a fresh .deb file from scratch. To do this, first follow the instructions for installing from the console above, except instead of running apt-get install wine run 'apt-get build-dep wine'. This will download the needed development packages for your system to make the wine package. Then, run 'apt-get --build source wine', have a snack, and wait for the compiling to finish.

To install your newly created package (which should be in whatever directory you were in when you ran apt-get --build source), run 'dpkg -i wine*.deb' as root.
然而,在进行
run 'apt-get --build source wine'
的时候出如下的错误,请大虾帮忙阿
monkey@monkey-desktop:~$ sudo apt-get --build source wine
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
忽略已下载过的文件“wine_0.9.16~winehq0~ubuntu~6.06-1.dsc”
忽略已下载过的文件“wine_0.9.16~winehq0~ubuntu~6.06.orig.tar.gz”
忽略已下载过的文件“wine_0.9.16~winehq0~ubuntu~6.06-1.diff.gz”
需要下载 0B 的源代码包。
对于已经被解包到 wine-0.9.16~winehq0~ubuntu~6.06 目录的源代码包就不再解开了
dpkg-buildpackage: source package is wine
dpkg-buildpackage: source version is 0.9.16~winehq0~ubuntu~6.06-1
dpkg-buildpackage: source changed by Scott Ritchie <scott@open-vote.org>
dpkg-buildpackage: host architecture amd64
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/home/monkey/wine-0.9.16~winehq0~ubuntu~6.06'
make[1]: *** 没有规则可以创建目标“distclean”。 停止。
make[1]: Leaving directory `/home/monkey/wine-0.9.16~winehq0~ubuntu~6.06'
make: [clean] 错误 2 (忽略)
#-/usr/bin/make -C documentation clean
dh_clean
debian/rules build
dh_testdir
# Add here commands to configure the package.
CFLAGS="-Wall -g -O2" ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for x86_64-linux-gnu-gcc... gcc -m32
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [config.status] 错误 77
执行构造软件包命令“cd wine-0.9.16~winehq0~ubuntu~6.06 && dpkg-buildpackage -b -uc”失败。
E: 子进程出错
wendayuan
帖子: 9
注册时间: 2006-06-20 9:39

#2

帖子 wendayuan » 2006-06-30 8:50

vmware也一样的有问题唉
种草得草
帖子: 340
注册时间: 2005-12-31 12:17

#3

帖子 种草得草 » 2006-06-30 20:26

不要自己编译/
拉一个386的包来直接安装。

当然了,是安装不上的。
用dpkg-deb解包,修改control里面386为amd64 重新打包就可以了。

不会看man的
到debian.linuxsir.org找etony的教程。
回复