为什么我的系统不能“make"?
时间:2006-06-15
来源:互联网
[jkwjkw@localhost sopcast-0.2.3]$ make
make: *** No targets specified and no makefile found. Stop.
[jkwjkw@localhost sopcast-0.2.3]$ make check
make: *** No rule to make target `check'. Stop.
[jkwjkw@localhost sopcast-0.2.3]$
作者: jkwjkw 发布时间: 2006-06-15
作者: ShiyuTang 发布时间: 2006-06-15
bash: ./configure: No such file or directory
[jkwjkw@localhost gtk2.0_sopcast-0.1]$ make
gcc -O2 `pkg-config --cflags gtk+-2.0` -c callbacks.c -o callbacks.o
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
In file included from callbacks.c:22:
header.h:23:21: gtk/gtk.h: No such file or directory
In file included from callbacks.c:22:
header.h:56: error: syntax error before '*' token
header.h:56: warning: data definition has no type or storage class
header.h:57: error: syntax error before '*' token
header.h:57: warning: data definition has no type or storage class
header.h:58: error: syntax error before '*' token
header.h:58: warning: data definition has no type or storage class
header.h:59: error: syntax error before '*' token
header.h:59: warning: data definition has no type or storage class
header.h:60: error: syntax error before '*' token
header.h:60: warning: data definition has no type or storage class
header.h:61: error: syntax error before '*' token
header.h:61: warning: data definition has no type or storage class
header.h:65: error: syntax error before '*' token
header.h:65: warning: data definition has no type or storage class
header.h:66: error: syntax error before '*' token
header.h:66: warning: data definition has no type or storage class
header.h:67: error: syntax error before '*' token
header.h:67: warning: data definition has no type or storage class
callbacks.c:25: error: syntax error before '*' token
callbacks.c: In function `on_clist_channel_select_row':
callbacks.c:30: error: `event' undeclared (first use in this function)
callbacks.c:30: error: (Each undeclared identifier is reported only once
callbacks.c:30: error: for each function it appears in.)
callbacks.c:30: error: `GDK_2BUTTON_PRESS' undeclared (first use in this function)
callbacks.c:35: error: `row' undeclared (first use in this function)
callbacks.c:37: error: `clist' undeclared (first use in this function)
callbacks.c: In function `on_button_sopcast_clicked':
callbacks.c:56: error: invalid type argument of `->'
callbacks.c: At top level:
callbacks.c:84: error: syntax error before '*' token
callbacks.c: In function `on_button_channel_toggled':
callbacks.c:86: error: `widget' undeclared (first use in this function)
callbacks.c:86: error: invalid type argument of `->'
callbacks.c:88: error: invalid type argument of `->'
callbacks.c:89: error: `TRUE' undeclared (first use in this function)
callbacks.c: At top level:
callbacks.c:127: error: syntax error before '*' token
callbacks.c: In function `on_adj_sound_change_value':
callbacks.c:129: error: `adj' undeclared (first use in this function)
callbacks.c: In function `on_button_save_clicked':
callbacks.c:154: error: syntax error before '*' token
callbacks.c:156: error: `line' undeclared (first use in this function)
callbacks.c: At top level:
callbacks.c:242: error: syntax error before '*' token
callbacks.c: In function `on_button_record_clicked':
callbacks.c:245: error: `widget' undeclared (first use in this function)
callbacks.c:245: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
callbacks.c:245: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:245: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
callbacks.c:245: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:245: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:245: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:249: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
callbacks.c:249: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:249: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
callbacks.c:249: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:249: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
callbacks.c:249: warning: passing arg 1 of `__builtin_strcmp' makes pointer from integer without a cast
make: *** [callbacks.o] Error 1
[jkwjkw@localhost gtk2.0_sopcast-0.1]$ su
Password:
[root@localhost gtk2.0_sopcast-0.1]# make install
/bin/cp sopcast /usr/local/bin
/bin/cp: cannot stat `sopcast': No such file or directory
make: *** [install] Error 1
[root@localhost gtk2.0_sopcast-0.1]#
作者: jkwjkw 发布时间: 2006-06-15
bash: ./configure: No such file or directory
作者: superlj 发布时间: 2006-06-15
是不是没装 gtk 相关的 devel 库?
作者: ShiyuTang 发布时间: 2006-06-15
作者: superlj 发布时间: 2006-06-16
[xxx@xxx sopcast-0.2.3]$ ls -la 总用量 28 drwxr-xr-x 5 shine shine 352 1月 10 06:50 ./ drwxr-xr-x 19 shine shine 3768 6月 16 13:53 ../ -rw-r--r-- 1 shine shine 0 1月 10 06:44 AUTHORS -rwxr-xr-x 1 shine shine 4504 1月 10 06:44 autogen.sh* -rw-r--r-- 1 shine shine 0 1月 10 06:44 ChangeLog -rw-r--r-- 1 shine shine 1938 1月 10 06:44 config.h.in -rw-r--r-- 1 shine shine 625 1月 10 06:44 configure.in drwxr-xr-x 2 shine shine 104 1月 10 06:50 extra/ -rw-r--r-- 1 shine shine 646 1月 10 06:44 Makefile.am -rw-r--r-- 1 shine shine 0 1月 10 06:44 NEWS drwxr-xr-x 2 shine shine 144 1月 10 06:44 po/ -rw-r--r-- 1 shine shine 697 1月 10 06:44 README drwxr-xr-x 2 shine shine 344 1月 10 06:47 src/ [xxx@xxx sopcast-0.2.3]$
看到 autogen.sh 吗?继续看下面
[xxx@xxx sopcast-0.2.3]$ ./autogen.sh **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. processing . Creating ./aclocal.m4 ... Running glib-gettextize... Ignore non-fatal messages. Copying file mkinstalldirs Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. Making ./aclocal.m4 writable ... Running aclocal ... /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake1.8)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of AM_PATH_GTKMM /usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE /usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE Running autoheader... Running automake --gnu ... configure.in: installing `./install-sh' configure.in: installing `./missing' src/Makefile.am: installing `./depcomp' Makefile.am: installing `./INSTALL' Makefile.am: installing `./COPYING' Running autoconf ... Running ./configure --enable-maintainer-mode ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes 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 for library containing strerror... none required 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 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 how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes 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 locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands Now type `make' to compile. [xxx@xxx sopcast-0.2.3]$
[xxx@xxx sopcast-0.2.3]$ ls aclocal.m4 ChangeLog config.status* depcomp@ Makefile mkinstalldirs* src/ AUTHORS config.h configure* extra/ Makefile.am NEWS stamp-h1 autogen.sh* config.h.in configure.in INSTALL@ Makefile.in po/ autom4te.cache/ config.log COPYING@ install-sh@ missing@ README [xxx@xxx sopcast-0.2.3]$
模式很多时候很好,但不能总是按模式办事。
作者: csyfek 发布时间: 2006-06-16
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28