我已经安装了build-essential,可是还是不能使用make命令

编译打包和其他
回复
waipy
帖子: 48
注册时间: 2007-01-21 6:12

我已经安装了build-essential,可是还是不能使用make命令

#1

帖子 waipy » 2007-01-21 6:16

当我进入一个解压后的源程序文档后,安照里面的说明执行完 ./configure命令后
执行make命后时出现如下错误

liweisheng@liweisheng-desktop:~/Desktop/d4x-2.5.0final$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
liweisheng@liweisheng-desktop:~/Desktop/d4x-2.5.0final$
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#2

帖子 yohu » 2007-01-21 6:21

./configure 有没有错误信息?如果有当然就不能make了。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
waipy
帖子: 48
注册时间: 2007-01-21 6:12

我贴出来你看看呀

#3

帖子 waipy » 2007-01-21 6:23

D4X -- Web Downloader for X (2.5.0final)

------------------------------------------------------------------------------
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 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 whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... 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 dependency style of gcc... gcc3
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) mawk
checking for ranlib... ranlib
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for autogen... ${SHELL} /home/liweisheng/Desktop/d4x-2.5.0final/admin/missing --run autogen
checking for doxygen... ${SHELL} /home/liweisheng/Desktop/d4x-2.5.0final/admin/missing --run doxygen
checking for rpm... ${SHELL} /home/liweisheng/Desktop/d4x-2.5.0final/admin/missing --run rpm
checking for dot... no
checking whether ln -s works... yes
checking for esd-config... no
checking for ESD - version >= 0.2.7... no
*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... yes (version 2.12.4)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: *** GTK >= 2.4.0 not installed! ***
waipy
帖子: 48
注册时间: 2007-01-21 6:12

是不是下面这一句

#4

帖子 waipy » 2007-01-21 6:24

configure: error: *** GTK >= 2.4.0 not installed! ***
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#5

帖子 yohu » 2007-01-21 6:26

缺少开发包。

代码: 全选

sudo apt-get build-dep d4x
装完再编译。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
waipy
帖子: 48
注册时间: 2007-01-21 6:12

E: 无法找到与 d4x 对应的源代码包

#6

帖子 waipy » 2007-01-21 6:33

E: 无法找到与 d4x 对应的源代码包
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#7

帖子 yohu » 2007-01-21 6:37

你先去wiki的快速设置指南看看,设置好源,源设置好了,肯定有,我现在没ubuntu,帮不了你了。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: E: 无法找到与 d4x 对应的源代码包

#8

帖子 BigSnake.NET » 2007-01-21 11:39

waipy 写了:E: 无法找到与 d4x 对应的源代码包
要加deb-src的源
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
iblicf
帖子: 3766
注册时间: 2007-01-15 17:15

...

#9

帖子 iblicf » 2007-01-21 12:51

一般来说,你需要 apt-get install build-essencial
apt-get install gtk2.0-dev
apt--get install automake
gothicane
帖子: 157
注册时间: 2006-08-29 10:31

#10

帖子 gothicane » 2007-02-16 12:13

make 命令没问题 只是configure时出错没有生成MakeFile
crossa
帖子: 42
注册时间: 2006-09-16 18:10

#11

帖子 crossa » 2007-02-27 15:59

个么,要装gtk和相关的DEV阿
回复