QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2101|回复: 12

eva-0.3.9编译错误的,都在这跟贴吧

[复制链接]
发表于 2005-11-17 10:19:59 | 显示全部楼层 |阅读模式
偶先来一个:
OS:Magic Linux 1.2 Final
[code:1]
make[4]: Leaving directory `/home/bibby/soft/eva/src/api'
make[3]: Leaving directory `/home/bibby/soft/eva/src/api'
Making all in image
make[3]: Entering directory `/home/bibby/soft/eva/src/image'
Making all in face
make[4]: Entering directory `/home/bibby/soft/eva/src/image/face'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bibby/soft/eva/src/image/face'
Making all in smiley
make[4]: Entering directory `/home/bibby/soft/eva/src/image/smiley'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bibby/soft/eva/src/image/smiley'
Making all in theme
make[4]: Entering directory `/home/bibby/soft/eva/src/image/theme'
Makefile:481: *** 遗漏分隔符 。 停止。
make[4]: Leaving directory `/home/bibby/soft/eva/src/image/theme'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/bibby/soft/eva/src/image'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/bibby/soft/eva/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/bibby/soft/eva'
make: *** [all] 错误 2
[/code:1]
发表于 2005-11-17 10:27:32 | 显示全部楼层
看置顶的帖子啊,空格改TAB
回复

使用道具 举报

发表于 2005-11-17 10:51:11 | 显示全部楼层
下载链接已经更正了, 原来那个文件已经删除, 大家可以重新下载编译, sorry,




或者, 自己打开src/image/theme/Makefile.in
把第480行到497行,换成下面的内容
[code:1]
final-install:
        $(MAKE) install-am

#>+ 3
no-final:
        $(MAKE) all-am

#>+ 3
no-final-install:
        $(MAKE) install-am

#>+ 3
cvs-clean:
        $(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean

#>+ 3
kde-rpo-clean:
        -rm -f *.rpo
[/code:1]

然后, 退到 eva目录下, 重新./configure && make 就可以了。

当然, 直接改src/image/theme/Makefile 也可以, 把空格换成tab就行。
回复

使用道具 举报

发表于 2005-11-18 09:15:22 | 显示全部楼层
在红旗5.0WS下make出错
/bin/sh ../libtool --silent --mode=link --tag=CXX g++32  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o eva -R /usr/lib -R /usr/lib/qt-3.3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt-3.3/lib -L/usr/lib  main.o evachatwindowmanager.o evamain.o evasystemtray.o evachatwindowmanager.moc.o evasystemtray.moc.o evamain.moc.o  ../src/ui/libevaui.la ../src/libeva/libeva.la ../src/api/libevaapi.la ../src/api/filetrans/libapi_ft.la -lkdeui
/usr/bin/ld: cannot find -lpcreposix
collect2: ld returned 1 exit status
make[3]: *** [eva] 错误 1
make[3]: Leaving directory `/root/soft/eva/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/soft/eva/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/soft/eva'
make: *** [all] 错误 2
回复

使用道具 举报

发表于 2005-11-18 20:06:51 | 显示全部楼层
你是按我README.zh 里说的步骤来的么?
回复

使用道具 举报

发表于 2005-11-19 07:18:12 | 显示全部楼层
是的 ./configure --prefix=`kde-config --prefix`时完成后,make到一半时出错。
回复

使用道具 举报

发表于 2005-11-19 07:27:34 | 显示全部楼层
[quote:18b93820cb="lsn752"]是的 ./configure --prefix=`kde-config --prefix`时完成后,make到一半时出错。[/quote]

可能是WS5的第4张cd上的一些东西你没有装全, 可能, 据我所知, WS5完全可以编译和运行这个测试版, 你把第四张cd有关kde和qt都装了吧。
回复

使用道具 举报

发表于 2005-11-19 09:27:33 | 显示全部楼层
把第四张盘装了,还是不行。没人知道具体原因吗?
回复

使用道具 举报

发表于 2005-11-19 10:46:13 | 显示全部楼层
[quote:543a2449ef="lsn752"]把第四张盘装了,还是不行。没人知道具体原因吗?[/quote]

注意这个
[code:1]
/usr/bin/ld: cannot find -lpcreposix
[/code:1]

你系统里少了这个库文件
回复

使用道具 举报

发表于 2005-11-19 11:40:18 | 显示全部楼层
没装pcre-devel-4.5-3.i386.rpm,多谢已经解决。
回复

使用道具 举报

发表于 2005-11-25 04:30:48 | 显示全部楼层
[code:1]evacachedfile.cpp: In member function `const bool
   EvaCachedFile::isFileCorrect()':
evacachedfile.cpp:335: error: `uint8_t' undeclared (first use this function)
evacachedfile.cpp:335: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
evacachedfile.cpp:335: error: parse error before `)' token
evacachedfile.cpp:334: warning: unused variable `char t'
evacachedfile.cpp:343: error: parse error before `)' token
evacachedfile.cpp:342: warning: unused variable `char t'
make[4]: *** [evacachedfile.lo] 错误 1
make[4]: Leaving directory `/home/magic/download/eva/src/api/filetrans'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/magic/download/eva/src/api'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/magic/download/eva/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/magic/download/eva'
make: *** [all] 错误 2[/code:1]
少了什么东西?
另外想知道uint8_t是什么? :D
本人菜鸟
回复

使用道具 举报

发表于 2005-11-25 08:41:24 | 显示全部楼层
[quote:1c9d747f00="rushrush"][code:1]evacachedfile.cpp: In member function `const bool
   EvaCachedFile::isFileCorrect()':
evacachedfile.cpp:335: error: `uint8_t' undeclared (first use this function)
evacachedfile.cpp:335: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
evacachedfile.cpp:335: error: parse error before `)' token
evacachedfile.cpp:334: warning: unused variable `char t'
evacachedfile.cpp:343: error: parse error before `)' token
evacachedfile.cpp:342: warning: unused variable `char t'
make[4]: *** [evacachedfile.lo] 错误 1
make[4]: Leaving directory `/home/magic/download/eva/src/api/filetrans'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/magic/download/eva/src/api'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/magic/download/eva/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/magic/download/eva'
make: *** [all] 错误 2[/code:1]
少了什么东西?
另外想知道uint8_t是什么? :D
本人菜鸟[/quote]


找到 src/api/evacachedfile.cpp
在最开始加一行: #include <inttypes.h>
回复

使用道具 举报

发表于 2005-11-25 08:44:37 | 显示全部楼层
uint8_t == unsigned char
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-6-18 02:37 , Processed in 0.361198 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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