linson_zhou 发表于 2005-12-15 00:51:03

在编译时,用make命令提示找不到makefile文件

我是一个linux新手,在安装gnochive-0.7.0]时,出现以下错误,不知道为什么,那位高手指教一下,在安装前,我查看了install文件,按照文件所述步骤操作,首先用./configure,然后执行make命令,在执行make时.提示找不到makefile文件,此外,我在gnochive-0.7.0和omf-install文件夹中分别找到了makefile.am和makefile.in文件,不知道为什么.
安装过程如下:
# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for strerror in -lcposix... no
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether build environment is sane... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gnome-config... no
checking for gnomeConf.sh file in /usr/local/lib... not found
configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install
# make
make: *** 没有指明目标并且找不到 makefile。 停止。
#

binbindatou 发表于 2005-12-15 01:04:35

楼上的,它不是说error了吗?
不知道你在用什么系统,找一下,你安装gconf了吗?或者是gconf的开发库,你装的不全。

linson_zhou 发表于 2005-12-15 01:29:10

我装的是fadore 4.是没有gconf的原故吗,我是刚学的,不好意思.我再好好看看,binbindatou,非常感谢!

月下刀客 发表于 2005-12-15 19:17:49

安装autoconf、automake之类的

积木 发表于 2005-12-15 19:57:10

checking for gnomeConf.sh file in /usr/local/lib... not found
configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install

不满足依赖,当然不生成makefile。所以make是不可以的。

linson_zhou 发表于 2005-12-15 22:49:18

checking for gnomeConf.sh file in /usr/local/lib... not found---1
configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install ---2
我在/usr/local/lib中是没有找到gnomeConf.sh文件,但我/usr/local/lib里的所由文件都是空的,而/usr/lib中发现装有gnome-pilot,gnome-spell,gnome-vfs-2.0,于是我试这将文件拷贝到/usr/lib中make,还是报同上1.2的错,如果是不满足依赖,可否解除?还是意味着我不能装这个软件?

当然,不装这个软件也没什么,但作为一个初学linux者我还是想解决这个问题,想学点东西,还望大家给于指点!

mandrakechina 发表于 2005-12-15 23:11:57

系统自带的file-roller比gnochive好用得多。
页: [1]
查看完整版本: 在编译时,用make命令提示找不到makefile文件