为什么我无法执行make
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 18
- 注册时间: 2007-01-12 14:46
为什么我无法执行make
如报告以下过程会有这样的提示:
-----------------------------
~/download/gsopcast-0.2.10$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
-------------------------------
我是新手,请大家帮忙指点下。
-----------------------------
~/download/gsopcast-0.2.10$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
-------------------------------
我是新手,请大家帮忙指点下。
上次由 opened 在 2007-01-20 16:22,总共编辑 1 次。
- xiehuoli
- 帖子: 5941
- 注册时间: 2006-06-10 8:43
- 来自: 中国 CS
-
- 帖子: 18
- 注册时间: 2007-01-12 14:46
-
- 帖子: 18
- 注册时间: 2007-01-12 14:46
- jiangpeng
- 帖子: 223
- 注册时间: 2006-07-25 9:33
- 联系:
先要用
生成makefile吧
代码: 全选
$./configure
Take what man makes and use it, But do not worship it, For it shall pass. -- Anonymous
Twitter @jiangpeng
Twitter @jiangpeng
- xiehuoli
- 帖子: 5941
- 注册时间: 2006-06-10 8:43
- 来自: 中国 CS
- ct
- 帖子: 2201
- 注册时间: 2005-04-06 21:15
- 来自: 安徽黄山
- 联系:
在ftp里面有个qsopcast,是官方的rpm转的,但是兼容性很好,如果不介意是qt程序,建议使用,效果很好。
生命不息,灌水不止,我师父是白娘子.另热烈庆祝本人blog访问量突破2w大关.
被高手bs,向小白显摆.
被高手bs,向小白显摆.
-
- 帖子: 18
- 注册时间: 2007-01-12 14:46
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
提示告诉你了,是因为没有 makefile .
5楼告诉你正确的步骤了,先 ./configure 生成 makefile 然后再 make.
make 默认会顺序找 名字为 GNUmakefile 或 makefile 或 Makefile 的文件,然后按照其中的脚本来执行。
对于一般的编译软件,软件解压后会带一个叫做 README 或 INSTALL 的文件,告诉你要怎么安装,以及需要什么库等等的。
不过通常来说 编译软件就是 ./configure 生成 Makefile ,然后 make 编译,然后 make install 安装。
关于 make 可以 google 一下,有很多相关的资料.
5楼告诉你正确的步骤了,先 ./configure 生成 makefile 然后再 make.
make 默认会顺序找 名字为 GNUmakefile 或 makefile 或 Makefile 的文件,然后按照其中的脚本来执行。
对于一般的编译软件,软件解压后会带一个叫做 README 或 INSTALL 的文件,告诉你要怎么安装,以及需要什么库等等的。
不过通常来说 编译软件就是 ./configure 生成 Makefile ,然后 make 编译,然后 make install 安装。
关于 make 可以 google 一下,有很多相关的资料.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 18
- 注册时间: 2007-01-12 14:46
:~/download/chmsee-0.9.6$ ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
opened@opened-linux:~/download/chmsee-0.9.6$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
-------------------------------------
不知道以上是什么问题。
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
opened@opened-linux:~/download/chmsee-0.9.6$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
-------------------------------------
不知道以上是什么问题。
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
注意 ,问题是 在 ./configure 的时候已经报错了,看 ./configure 的最后一行。
主要是开发包没有装,编译是需要的头文件等等找不到。子、直接原因是 gcc 编译器没有装好.
先 sudo apt-get install build-essential 装好编译环境,然后需要什么开发库再慢慢找把,./configure 的时候会提示错误的。
btw. chmsee 貌似源里面有的,还有很多爱好者也做过 deb 的,不了解编译的话建议最好还是去找 deb 包来直接安装吧。
主要是开发包没有装,编译是需要的头文件等等找不到。子、直接原因是 gcc 编译器没有装好.
先 sudo apt-get install build-essential 装好编译环境,然后需要什么开发库再慢慢找把,./configure 的时候会提示错误的。
btw. chmsee 貌似源里面有的,还有很多爱好者也做过 deb 的,不了解编译的话建议最好还是去找 deb 包来直接安装吧。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 18
- 注册时间: 2007-01-12 14:46
继续问,嘿嘿。
我在安装编译环境ESSENTIAL时,按照提示从前往后安装
在安装libc6-dev时出现如下情况。
----------------------------------
下列的软件包有不能满足的依赖关系:
libc6-dev: 依赖: libc6 (= 2.3.6-0ubuntu20) 但是 2.4-1ubuntu12.1 正要被安装
E: 无法安装的软件包
------------------------------------
可以知道安装时需要libc6 的2.3.6-0ubuntu2版本,但是我已经安装了较之更新的2.4-1ubuntu12版本。
我感觉这样的设定不合理啊,如果要 uninstall 新版本,也会同时UNINSTALL很多东西。
现在我应该怎么办啊。。。
我在安装编译环境ESSENTIAL时,按照提示从前往后安装
在安装libc6-dev时出现如下情况。
----------------------------------
下列的软件包有不能满足的依赖关系:
libc6-dev: 依赖: libc6 (= 2.3.6-0ubuntu20) 但是 2.4-1ubuntu12.1 正要被安装
E: 无法安装的软件包
------------------------------------
可以知道安装时需要libc6 的2.3.6-0ubuntu2版本,但是我已经安装了较之更新的2.4-1ubuntu12版本。
我感觉这样的设定不合理啊,如果要 uninstall 新版本,也会同时UNINSTALL很多东西。
现在我应该怎么办啊。。。