LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hmglll

TO tram兄弟

[复制链接]
 楼主| 发表于 2002-12-20 15:55:52 | 显示全部楼层

多谢TRAM

好了,就是这个文件的EXPROT部分错误了,(我用粘贴也错了)。
现在也不会有那堆东西了。
那个REP-GTK也应该没有问题了。
多谢你!TEAM兄弟
 楼主| 发表于 2002-12-20 15:57:10 | 显示全部楼层
TRAM万岁
发表于 2002-12-20 16:01:03 | 显示全部楼层

Re: TO tram兄弟

最初由 hmglll 发布
还是PKG_CONFIG_PATH的问题!
我现在在安装GNOME,开始时先执行下列命令:
rm /opt/gnome2 -r &&
rm /etc/gnome -r
这儿它说/etc/gnome不存在
然后按第一节重设变量环境,之后安装(按顺序),当安装到ORBIT2时出现下列错误:

gmodule-2.0 >= 2.0.0... Package linc was not found in the pkg-config search path.
Perhaps you should add the directory containing `linc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'linc' found

configure: error: Library requirements (        linc >= 0.5.0   glib-2.0 >= 2.0.0       gobject-2.0 >= 2.0.0    gmodule-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.


No package 'linc' found
写得很清楚没有安装linc包,pkgconfig找不到linc得包裹
 楼主| 发表于 2002-12-20 16:18:02 | 显示全部楼层

oaf-0.6.10 安装出错了

make[2]: Leaving directory `/cvs/oaf-0.6.10/liboaf'
Making all in api-docs
make[2]: Entering directory `/cvs/oaf-0.6.10/api-docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cvs/oaf-0.6.10/api-docs'
Making all in oafd
make[2]: Entering directory `/cvs/oaf-0.6.10/oafd'
gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I..                                -I..
                        -I../liboaf                     -I../liboaf
                -DOAFINFODIR=\"/opt/gnome/share/oaf\"                   -DOAF_LOCALEDIR=\""/opt/gnome/share/locale"\"   -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/opt/gnome/include/orbit-1.0                                  -I/usr/include/gnome-xml                                        -I/usr/include/glib-1.2
-I/usr/lib/glib/include                                 -DOAF_CONFDIR=\"/opt/gnome/etc\"                            -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -c oafd-corba-extensions.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I..                                -I..
                        -I../liboaf                     -I../liboaf
                -DOAFINFODIR=\"/opt/gnome/share/oaf\"                   -DOAF_LOCALEDIR=\""/opt/gnome/share/locale"\"   -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/opt/gnome/include/orbit-1.0                                  -I/usr/include/gnome-xml                                        -I/usr/include/glib-1.2
-I/usr/lib/glib/include                                 -DOAF_CONFDIR=\"/opt/gnome/etc\"                            -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -c qsort_ex.c
/opt/gnome/bin/orbit-idl --noheaders ../idl/oaf.idl
../idl/oaf-factory.idl:24: Warning: `obj_oaf_id' underscores within identifiers
are discouraged for use with C-language IDL mappings
gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I..                                -I..
                        -I../liboaf                     -I../liboaf
                -DOAFINFODIR=\"/opt/gnome/share/oaf\"                   -DOAF_LOCALEDIR=\""/opt/gnome/share/locale"\"   -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/opt/gnome/include/orbit-1.0                                  -I/usr/include/gnome-xml                                        -I/usr/include/glib-1.2
-I/usr/lib/glib/include                                 -DOAF_CONFDIR=\"/opt/gnome/etc\"                            -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -c oaf-skels.c
bison -y -d -v ./ac-query-parse.y
./ac-query-parse.y:158.14-160.13: type clash (`qexp' `') on default action
./ac-query-parse.y:160.14: parse error, unexpected ":", expecting ";" or "|"
./ac-query-parse.y:160.50-77: $1 of `expr_variable' has no declared type
./ac-query-parse.y:160.50-81: $3 of `expr_variable' has no declared type
./ac-query-parse.y:161.29-56: $1 of `expr_variable' has no declared type
./ac-query-parse.y:162.56-163.26: $3 of `expr_variable' has no declared type
./ac-query-parse.y:162.56-163.47: invalid $ value
./ac-query-parse.y:162.56-163.47: $5 of `expr_variable' has no declared type
./ac-query-parse.y:162.56-163.64: $1 of `expr_variable' has no declared type
./ac-query-parse.y:164.47-165.26: $3 of `expr_variable' has no declared type
./ac-query-parse.y:164.47-165.66: $1 of `expr_variable' has no declared type
make[2]: *** [stamp-parser] Error 1
make[2]: Leaving directory `/cvs/oaf-0.6.10/oafd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cvs/oaf-0.6.10'
make: *** [all-recursive-am] Error 2
 楼主| 发表于 2002-12-20 16:20:49 | 显示全部楼层
root@/cvs/oaf-0.6.10]# set
BASH=/bin/bash
BASH_ENV=/root/.bashrc
BASH_VERSINFO=([0]="2" [1]="05a" [2]="0" [3]="1" [4]="release" [5]="i686-pc-linux-gnu")
BASH_VERSION='2.05a.0(1)-release'
CC='gcc -s'
CFLAGS='-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args'
CHOST=i686-pc-linux-gnu
COLUMNS=80
CXXFLAGS='-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args'
DIRSTACK=()
EUID=0
GDK_USE_XFT=0
GNOME_LIBCONFIG_PATH=/usr/lib
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/root
HOSTNAME=Hong
HOSTTYPE=i686
IFS=$' \t\n'
INPUTRC=/etc/inputrc
LFS=/lfs
LINES=24
LOGNAME=root
MACHTYPE=i686-pc-linux-gnu
MAIL=/var/spool/mail/root
MAILCHECK=60
OLDPWD=/cvs
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/gnome/bin:/opt/gnome2/bin:/opt/gnome/bin:/opt/gnome2/bin:/root/bin:/usr/X11R6/bin:/opt/qt/bin
PIPESTATUS=([0]="2")
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome2/lib/pkgconfig
PPID=14332
PS1='[\u@\w]\$ '
PS2='> '
PS4='+ '
PWD=/cvs/oaf-0.6.10
QTDIR=/opt/qt
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=1
TERM=xterm
TZ=Asia/Chongqing
UID=0
USER=root
USERNAME=root
_=make
发表于 2002-12-20 16:21:15 | 显示全部楼层
./ac-query-parse.y:160.14: parse error, unexpected ":", expecting ";" or "|"
bison的问题,这样的情况下,你要找第一个出错的地方,一般是在第一个出错的前一行,少了一个分号;,加上就好了。加上了以后,不用make clean,直接make就行了。
发表于 2002-12-20 16:27:09 | 显示全部楼层
同样的错误很多人都会在出现,我觉得应该置顶来个总汇,把大家容易出现的问题都写进去。
发表于 2002-12-20 16:34:26 | 显示全部楼层
等doooom回来吧,呵呵。
 楼主| 发表于 2002-12-20 16:34:44 | 显示全部楼层

找啊找

./ac-query-parse.y:160.14: parse error, unexpected ":", expecting ";" or "|"
应该在哪个文件
发表于 2002-12-20 16:37:11 | 显示全部楼层
find ./ -name ac-query-parse.y
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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