红联Linux门户
Linux帮助

tar源包配置问题.

发布时间:2008-10-16 00:57:01来源:红联作者:残云断梦
我装过两个版本的LINUX.一个是UBUNTU8.04.1,另一个是FEDORA9.在这两个系统下我都不能配置源包.可能是我不会吧,还请高手指教下,谢谢.

大家看图哈.

[attach]9806[/attach]
[attach]9807[/attach]
[attach]9808[/attach]

[ 本帖最后由 残云断梦 于 2008-10-28 17:47 编辑 ]
文章评论

共有 4 条评论

  1. 残云断梦 于 2008-10-28 17:46:49发表:

    :0wl;l1 往上顶一下!!!

  2. 残云断梦 于 2008-10-26 17:59:48发表:

    root@mong-linux:~/xvidcap-1.1.4pre2# ./configure
    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 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 for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking for ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for X... no
    checking for zlibVersion in -lz... no
    checking for png_set_filter in -lpng... no
    checking for jpeg_CreateCompress in -ljpeg... no
    To use jpeg you need libjpeg version 6+
    checking for lame_init in -lmp3lame... no
    To use mp3 audio codecs you need liblame/liblame-dev
    checking for img_convert in -lavcodec... no
    checking for avienc_init in -lavformat... no
    checking for pthread_mutex_init in -lpthread... yes
    checking for egrep... grep -E
    checking for ANSI C header files... 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 fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for unistd.h... (cached) yes
    checking zlib.h usability... no
    checking zlib.h presence... no
    checking for zlib.h... no
    checking sys/soundcard.h usability... yes
    checking sys/soundcard.h presence... yes
    checking for sys/soundcard.h... yes
    checking for stdint.h... (cached) yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking for an ANSI C-conforming const... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for fdatasync... yes
    checking for gettimeofday... yes
    checking for memmove... yes
    checking for memset... yes
    checking for munmap... yes
    checking for strcasecmp... yes
    checking for strchr... yes
    checking for strdup... yes
    checking for strstr... yes
    checking for getopt_long... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating gt/Makefile
    config.status: creating Xw/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    root@mong-linux:~/xvidcap-1.1.4pre2#

    帮我看一下,我已装了binutils,gcc,g++ glibc.可还是出错配置不上。
    root@mong-linux:~/xvidcap-1.1.4pre2# make
    make all-recursive
    make[1]: 正在进入目录 `/home/mong/xvidcap-1.1.4pre2'
    Making all in Xw
    make[2]: 正在进入目录 `/home/mong/xvidcap-1.1.4pre2/Xw'
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT Base.o -MD -MP -MF ".deps/Base.Tpo" \
    -c -o Base.o `test -f 'Base.c' || echo './'`Base.c; \
    then mv -f ".deps/Base.Tpo" ".deps/Base.Po"; \
    else rm -f ".deps/Base.Tpo"; exit 1; \
    fi
    Base.c:26:28: 错误: X11/StringDefs.h:没有该文件或目录
    Base.c:27:28: 错误: X11/IntrinsicP.h:没有该文件或目录
    在包含自 Base.c:28 的文件中:
    ../Xw/BaseP.h:25:23: 错误: X11/CoreP.h:没有该文件或目录
    In file included from ../Xw/BaseP.h:26,
    from Base.c:28:
    ../Xw/Base.h:96: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xwBaseWidgetClass’
    In file included from Base.c:28:
    ../Xw/BaseP.h:32: 错误: expected specifier-qualifier-list before ‘XtActionProc’
    ../Xw/BaseP.h:45: 错误: expected specifier-qualifier-list before ‘CoreClassPart’
    ../Xw/BaseP.h:54: 错误: expected specifier-qualifier-list before ‘Pixel’
    ../Xw/BaseP.h:78: 错误: expected specifier-qualifier-list before ‘CorePart’
    Base.c:33: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resources’
    Base.c:75: 错误: expected ‘)’ before ‘*’ token
    Base.c:76: 错误: expected ‘)’ before ‘*’ token
    Base.c:77: 错误: expected ‘)’ before ‘*’ token
    Base.c:82: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘actions’
    Base.c:97: 错误: expected ‘)’ before ‘wc’
    Base.c:100: 错误: expected ‘)’ before ‘w’
    Base.c:101: 错误: expected ‘)’ before ‘aw’
    Base.c:102: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SetValues’
    Base.c:110: 错误: 初始值设定项末尾有多余的花括号组
    Base.c:110: 错误: (在‘xwBaseClassRec’的初始化附近)
    Base.c:111: 错误: ‘WidgetClass’未声明 (不在函数内)
    Base.c:111: 错误: ‘CoreWidgetClass’未声明 (不在函数内)
    Base.c:111: 错误: ‘coreClassRec’未声明 (不在函数内)
    Base.c:115: 错误: ‘ClassPartInitialize’未声明 (不在函数内)
    Base.c:116: 错误: ‘False’未声明 (不在函数内)
    Base.c:117: 错误: ‘Initialize’未声明 (不在函数内)
    Base.c:119: 错误: ‘XtInheritRealize’未声明 (不在函数内)
    Base.c:120: 错误: ‘actions’未声明 (不在函数内)
    Base.c:122: 错误: ‘resources’未声明 (不在函数内)
    Base.c:124: 错误: ‘NULLQUARK’未声明 (不在函数内)
    Base.c:125: 错误: ‘True’未声明 (不在函数内)
    Base.c:126: 错误: ‘XtExposeCompressMultiple’未声明 (不在函数内)
    Base.c:129: 错误: ‘Destroy’未声明 (不在函数内)
    Base.c:130: 错误: ‘Resize’未声明 (不在函数内)
    Base.c:131: 错误: ‘Redisplay’未声明 (不在函数内)
    Base.c:132: 错误: ‘SetValues’未声明 (不在函数内)
    Base.c:134: 错误: ‘XtInheritSetValuesAlmost’未声明 (不在函数内)
    Base.c:137: 错误: ‘XtVersion’未声明 (不在函数内)
    Base.c:140: 错误: ‘XtInheritQueryGeometry’未声明 (不在函数内)
    Base.c:141: 错误: ‘XtInheritDisplayAccelerator’未声明 (不在函数内)
    Base.c:143: 警告: 结构初始化时有多余元素
    Base.c:143: 警告: (在‘xwBaseClassRec’的初始化附近)
    Base.c:144: 错误: 初始值设定项末尾有多余的花括号组
    Base.c:144: 错误: (在‘xwBaseClassRec’的初始化附近)
    Base.c:145: 错误: ‘Tab’未声明 (不在函数内)
    Base.c:146: 错误: ‘Focus’未声明 (不在函数内)
    Base.c:147: 错误: ‘GetFocus’未声明 (不在函数内)
    Base.c:148: 警告: 结构初始化时有多余元素
    Base.c:148: 警告: (在‘xwBaseClassRec’的初始化附近)
    Base.c:151: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xwBaseWidgetClass’
    Base.c:157: 错误: expected ‘)’ before ‘wc’
    Base.c: 在函数‘InitGC’中:
    Base.c:174: 错误: ‘Widget’未声明 (在此函数内第一次使用)
    Base.c:174: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
    Base.c:174: 错误: 所在的函数内也只报告一次。)
    Base.c:174: 错误: expected ‘;’ before ‘w’
    Base.c:175: 错误: ‘XGCValues’未声明 (在此函数内第一次使用)
    Base.c:175: 错误: expected ‘;’ before ‘gcv’
    Base.c:176: 错误: ‘XtGCMask’未声明 (在此函数内第一次使用)
    Base.c:176: 错误: expected ‘;’ before ‘mask’
    Base.c:181: 错误: ‘mask’未声明 (在此函数内第一次使用)
    Base.c:181: 错误: ‘GCLineStyle’未声明 (在此函数内第一次使用)
    Base.c:181: 错误: ‘GCLineWidth’未声明 (在此函数内第一次使用)
    Base.c:181: 错误: ‘GCForeground’未声明 (在此函数内第一次使用)
    Base.c:182: 错误: ‘gcv’未声明 (在此函数内第一次使用)
    Base.c:182: 错误: ‘LineSolid’未声明 (在此函数内第一次使用)
    Base.c:185: 错误: ‘struct _XwBaseRec’没有名为‘base’的成员
    Base.c:186: 错误: ‘struct _XwBaseRec’没有名为‘base’的成员
    Base.c:186: 错误: ‘w’未声明 (在此函数内第一次使用)
    Base.c:188: 错误: ‘struct _XwBaseRec’没有名为‘base’的成员
    Base.c:189: 错误: ‘struct _XwBaseRec’没有名为‘base’的成员
    Base.c:192: 错误: ‘struct _XwBaseRec’没有名为‘base’的成员
    Base.c: 在文件层:
    Base.c:199: 错误: expected ‘)’ before ‘treq’
    Base.c:212: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SetValues’
    Base.c:241: 错误: expected ‘)’ before ‘w’
    Base.c:257: 错误: expected ‘)’ before ‘w’
    Base.c:269: 错误: expected ‘)’ before ‘w’
    Base.c:397: 错误: expected ‘)’ before ‘w’
    Base.c:435: 错误: expected ‘)’ before ‘w’
    Base.c:451: 错误: expected ‘)’ before ‘w’
    make[2]: *** [Base.o] 错误 1
    make[2]:正在离开目录 `/home/mong/xvidcap-1.1.4pre2/Xw'
    make[1]: *** [all-recursive] 错误 1
    make[1]:正在离开目录 `/home/mong/xvidcap-1.1.4pre2'
    make: *** [all] 错误 2
    root@mong-linux:~/xvidcap-1.1.4pre2#

  3. 残云断梦 于 2008-10-16 12:55:45发表:

    引用:
    原帖由 wangdu2002 于 2008-10-16 01:58 发表
    你先上Ubuntu的中文Wiki看下,要编译源码,必需要安装一些编译工具binutils-essentail,glibc,gcc,g++
    还有些辅助工具才行的.

    哦.

  4. wangdu2002 于 2008-10-16 01:58:31发表:

    你先上Ubuntu的中文Wiki看下,要编译源码,必需要安装一些编译工具binutils-essentail,glibc,gcc,g++
    还有些辅助工具才行的.