LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 985|回复: 8

新手问题关于MAKE的问题

[复制链接]
发表于 2003-7-13 11:13:39 | 显示全部楼层 |阅读模式
弄了两天,才搞定QQ+GAIM0.64.不过头像还是企鹅.....

我在MDK9.1下用make总是出错,应怎么办

[root@12 wine-20030709]# make depend
make: *** 没有规则可以创建目标“depend”。 停
[root@12 wine-20030709]# make
make: *** 没有指明目标并且找不到 makefile。 停
[root@12 wine-20030709]# make install
make: *** 没有规则可以创建目标“install”。 停
[root@12 wine-200307
发表于 2003-7-13 22:14:16 | 显示全部楼层
你在wine目录下怎么可能make成功呢?应该在QQ头像所在的目录啊。
 楼主| 发表于 2003-7-14 10:27:21 | 显示全部楼层

谢谢

谢谢,使用MAKE有什么要注意的么。我在QQ目录下也总是出现同样错误
发表于 2003-7-14 15:38:21 | 显示全部楼层
要在gaim目录下编译的吧。
 楼主| 发表于 2003-7-14 16:40:42 | 显示全部楼层
在GAIM目录下出错,这个是WINE编译时的出错信息。是不是我装少了什么东西呢?
发表于 2003-7-14 17:17:37 | 显示全部楼层

明白了。

你忘了configure了。

现在很多软件都用autoconf进行配置,你先要执行./configure,这个命令会生成所有的Makefile,然后再make。
 楼主| 发表于 2003-7-14 21:08:30 | 显示全部楼层
多谢了,我想问题应该解决了,谢谢。。。。
 楼主| 发表于 2003-7-16 15:10:02 | 显示全部楼层

又要麻烦大家了

又要麻烦大家了,先说声SORRY,附完整出错信息
我想装WINE,按照教程,但我出错了.一用make就出错

[root@12 wine-20030709]# ./configure --prefix=/usr/local/wine
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 how to run the C preprocessor... gcc -E
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for yacc... no
checking for bison... no
checking for yacc... no
configure: error: no suitable bison/yacc found. Please install the 'bison' package.
[root@12 wine-20030709]# make depend
make: *** 没有规则可以创建目标“depend”。 停
[root@12 wine-20030709]# make
make: *** 没有指明目标并且找不到 makefile。 停
[root@12 wine-20030709]# make install
make: *** 没有规则可以创建目标“install”。 停
[root@12 wine-20030709]#
发表于 2003-7-16 16:22:15 | 显示全部楼层
没有安装bison这个软件包,先安装了这个再编译。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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