QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1007|回复: 4

为什么我安装软件总是不成功?大哥们帮忙看一下

[复制链接]
发表于 2005-8-28 02:07:49 | 显示全部楼层 |阅读模式
以安装wine为例
解压缩后
先./configure
然后make就出错了
紧接者make install更出错
大哥帮忙看一下好吗?到底是什么原因
[root@localhost wine-20000909]# make
make[1]: Entering directory `/tmp/wine-20000909/unicode'
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o casemap.o casemap.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o cptable.o cptable.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o mbtowc.o mbtowc.c
mbtowc.c: 在函数 ‘cp_mbstowcs’ 中:
mbtowc.c:152: 警告:传递参数 2 (属于 ‘check_invalid_chars_sbcs’) 给指针时目标与 指针有/无符号不一致
mbtowc.c:155: 警告:传递参数 2 (属于 ‘mbstowcs_sbcs’) 给指针时目标与指针有/无符 号不一致
mbtowc.c:161: 警告:传递参数 2 (属于 ‘check_invalid_chars_dbcs’) 给指针时目标与 指针有/无符号不一致
mbtowc.c:163: 警告:传递参数 2 (属于 ‘get_length_dbcs’) 给指针时目标与指针有/无 符号不一致
mbtowc.c:164: 警告:传递参数 2 (属于 ‘mbstowcs_dbcs’) 给指针时目标与指针有/无符 号不一致
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o string.o string.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o utf8.o utf8.c
utf8.c: 在函数 ‘utf8_mbstowcs’ 中:
utf8.c:135: 警告:传递参数 1 (属于 ‘get_length_mbs_utf8’) 给指针时目标与指针有/ 无符号不一致
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o wctomb.o wctomb.c
wctomb.c: 在函数 ‘wcstombs_sbcs_slow’ 中:
wctomb.c:77: 警告:对指针赋值时目标与指针有/无符号不一致
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o wctype.o wctype.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_037.o c_037.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_042.o c_042.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_424.o c_424.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_437.o c_437.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_500.o c_500.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_737.o c_737.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_775.o c_775.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_850.o c_850.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_852.o c_852.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_855.o c_855.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_856.o c_856.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_857.o c_857.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_860.o c_860.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_861.o c_861.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_862.o c_862.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_863.o c_863.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_864.o c_864.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_865.o c_865.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_866.o c_866.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_869.o c_869.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_874.o c_874.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_875.o c_875.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_878.o c_878.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_932.o c_932.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_936.o c_936.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_949.o c_949.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_950.o c_950.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1006.o c_1006.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1026.o c_1026.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1250.o c_1250.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1251.o c_1251.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1252.o c_1252.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1253.o c_1253.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1254.o c_1254.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1255.o c_1255.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1256.o c_1256.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1257.o c_1257.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_1258.o c_1258.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_10000.o c_10000.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_10006.o c_10006.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_10007.o c_10007.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_10029.o c_10029.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_10079.o c_10079.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_10081.o c_10081.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_20866.o c_20866.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28591.o c_28591.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28592.o c_28592.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28593.o c_28593.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28594.o c_28594.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28595.o c_28595.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28596.o c_28596.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28597.o c_28597.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28598.o c_28598.c
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o c_28599.o c_28599.c
gcc -shared -Wl,-soname,libwine_unicode.so,-rpath,/usr/local/lib  casemap.o cptable.o mbtowc.o string.o utf8.o wctomb.o wctype.o c_037.o c_042.o c_424.o c_437.o c_500.o c_737.o c_775.o c_850.o c_852.o c_855.o c_856.o c_857.o c_860.o c_861.o c_862.o c_863.o c_864.o c_865.o c_866.o c_869.o c_874.o c_875.o c_878.o c_932.o c_936.o c_949.o c_950.o c_1006.o c_1026.o c_1250.o c_1251.o c_1252.o c_1253.o c_1254.o c_1255.o c_1256.o c_1257.o c_1258.o c_10000.o c_10006.o c_10007.o c_10029.o c_10079.o c_10081.o c_20866.o c_28591.o c_28592.o c_28593.o c_28594.o c_28595.o c_28596.o c_28597.o c_28598.o c_28599.o       -o libwine_unicode.so.1.0
rm -f libwine_unicode.so && ln -s libwine_unicode.so.1.0 libwine_unicode.so
make[1]: Leaving directory `/tmp/wine-20000909/unicode'
rm -f libwine_unicode.so && ln -s unicode/libwine_unicode.so libwine_unicode.so
make[1]: Entering directory `/tmp/wine-20000909/tools'
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o makedep.o makedep.c
gcc -g -O2 -Wall -o makedep makedep.o
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o fnt2bdf.o fnt2bdf.c
gcc -g -O2 -Wall -o fnt2bdf fnt2bdf.o
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o bin2res.o bin2res.c
gcc -g -O2 -Wall -o bin2res bin2res.o
make[2]: Entering directory `/tmp/wine-20000909/tools/winebuild'
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o main.o main.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o parser.o parser.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o relay.o relay.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o spec16.o spec16.c
spec16.c: 在函数 ‘BuildModule16’ 中:
spec16.c:120: 警告:传递参数 1 (属于 ‘strcpy’) 给指针时目标与指针有/无符号不一致spec16.c:121: 警告:对指针赋值时目标与指针有/无符号不一致
spec16.c:153: 警告:对指针赋值时目标与指针有/无符号不一致
spec16.c:163: 警告:传递参数 1 (属于 ‘strcpy’) 给指针时目标与指针有/无符号不一致spec16.c:173: 警告:传递参数 1 (属于 ‘strcpy’) 给指针时目标与指针有/无符号不一致spec16.c:174: 警告:传递参数 1 (属于 ‘strupper’) 给指针时目标与指针有/无符号不一致
spec16.c:246: 警告:传递参数 2 (属于 ‘dump_bytes’) 给指针时目标与指针有/无符号不一致
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o spec32.o spec32.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o utils.o utils.c
gcc -g -O2 -Wall -o winebuild  main.o parser.o relay.o spec16.o spec32.o utils.o
make[2]: Leaving directory `/tmp/wine-20000909/tools/winebuild'
make[2]: Entering directory `/tmp/wine-20000909/tools/wmc'
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o lang.o lang.c
bison -y  -d -t ./mcy.y
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o mcl.o mcl.c
mcl.c: 在函数 ‘fill_inputbuffer’ 中:
mcl.c:189: 警告:隐式声明函数 ‘strlen’
mcl.c:189: 警告:内建函数 ‘strlen’ 不兼容的隐式声明
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o utils.o utils.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o wmc.o wmc.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o write.o write.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o y.tab.o y.tab.c
gcc -g -O2 -Wall -o wmc  lang.o mcl.o utils.o wmc.o write.o      y.tab.o -L../.. -lwine_unicode -lfl
make[2]: Leaving directory `/tmp/wine-20000909/tools/wmc'
make[2]: Entering directory `/tmp/wine-20000909/tools/wrc'
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o dumpres.o dumpres.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o genres.o genres.c
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o newstruc.o newstruc.c
newstruc.c: 在函数 ‘handle_ani_list’ 中:
newstruc.c:741: 错误:自增的左值无效
newstruc.c: 在函数 ‘new_ani_curico’ 中:
newstruc.c:852: 错误:自增的左值无效
make[2]: *** [newstruc.o] 错误 1
make[2]: Leaving directory `/tmp/wine-20000909/tools/wrc'
make[1]: *** [wrc] 错误 2
make[1]: Leaving directory `/tmp/wine-20000909/tools'
make: *** [tools] 错误 2
[root@localhost wine-20000909]# make install
make[1]: Entering directory `/tmp/wine-20000909/unicode'
make[1]: “libwine_unicode.so”是最新的。
make[1]: Leaving directory `/tmp/wine-20000909/unicode'
make[1]: Entering directory `/tmp/wine-20000909/tools'
make[2]: Entering directory `/tmp/wine-20000909/tools/winebuild'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/wine-20000909/tools/winebuild'
make[2]: Entering directory `/tmp/wine-20000909/tools/wmc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/wine-20000909/tools/wmc'
make[2]: Entering directory `/tmp/wine-20000909/tools/wrc'
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o newstruc.o newstruc.c
newstruc.c: 在函数 ‘handle_ani_list’ 中:
newstruc.c:741: 错误:自增的左值无效
newstruc.c: 在函数 ‘new_ani_curico’ 中:
newstruc.c:852: 错误:自增的左值无效
make[2]: *** [newstruc.o] 错误 1
make[2]: Leaving directory `/tmp/wine-20000909/tools/wrc'
make[1]: *** [wrc] 错误 2
make[1]: Leaving directory `/tmp/wine-20000909/tools'
make: *** [tools] 错误 2
发表于 2005-8-28 09:43:37 | 显示全部楼层
也许你configure那一步就已经有错了,仔细查一遍
回复

使用道具 举报

发表于 2005-8-28 11:10:13 | 显示全部楼层
看一下安装说明readme,install等,看一下它对GCC的要求是什么
回复

使用道具 举报

 楼主| 发表于 2005-8-28 11:17:38 | 显示全部楼层
[quote:1e33838fc7="fox_eagle2003"]看一下安装说明readme,install等,看一下它对GCC的要求是什么[/quote]
On x86 Systems gcc >= 2.7.2 is required. You also need flex version 2.5
or later and yacc. Bison will work as a replacement for yacc. If you are
using RedHat, install the flex and bison packages.
我装的是FC4,版本应该>=2.7.2吧.
回复

使用道具 举报

发表于 2005-8-28 11:22:22 | 显示全部楼层
的确如此。install the flex and bison packages这是重点
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-18 03:34 , Processed in 0.060403 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表