编译ZSNES时出现问题,请教一下编译过的人。

游戏讨论
回复
gxhunter
帖子: 63
注册时间: 2005-10-09 12:58

编译ZSNES时出现问题,请教一下编译过的人。

#1

帖子 gxhunter » 2005-11-02 23:26

刚才我按照它里面的说明用
sh ./autogen.sh && make && make install
后,出现
Generating build information using aclocal and autoconf...
./autogen.sh: line 6: sdl-config: command not found
./autogen.sh: line 6: aclocal: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... nasm
checking for a BSD-compatible install... /usr/bin/install -c
./configure: line 2917: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'./configure: line 2917: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'




它的说明里是要sdl,nasm,zlib,libpng,后三个都在新立德里装上了,但是SDL在它指定的网页里,一个是RPM的包,用alien命令装没用,另外一个则是一个debian的连接(按理说更好),可打开一看,http://packages.debian.org/stable/libs/
这里面的也太多了,到底要装哪个?
看错误报告是sdl-config和aclocal没有,但这个页面和新立德里都没的,到底是那个组件里附带的啊。
这是我现在唯一试着编译过的东西,但还没成功过。
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海

#2

帖子 catinsnow » 2005-11-03 1:31

试试装 libsdl1.2debian-all
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
gxhunter
帖子: 63
注册时间: 2005-10-09 12:58

#3

帖子 gxhunter » 2005-11-03 14:35

catinsnow 写了:试试装 libsdl1.2debian-all
这个装了,还说是缺,翻了半天GOOGLE总算是查到要把autoconf和automake等都装上去。还发现许多东西还必须安装同名的dev的版本,最后把libsdl1.2-dev装上去才OK。
今天又折腾了两个小时,总算是把自己第一个编译的东西弄出来了。 :D
头像
yang119345
帖子: 570
注册时间: 2005-06-19 14:22
来自: 上海
联系:

#4

帖子 yang119345 » 2005-11-03 19:56

嘿嘿 。有探索精神肯定能学好linux
回复