MichaelBibby 发表于 2005-11-17 10:19:59

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

偶先来一个:
OS:Magic Linux 1.2 Final

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

lof 发表于 2005-11-17 10:27:32

看置顶的帖子啊,空格改TAB

yunfan 发表于 2005-11-17 10:51:11

下载链接已经更正了, 原来那个文件已经删除, 大家可以重新下载编译, sorry,




或者, 自己打开src/image/theme/Makefile.in
把第480行到497行,换成下面的内容

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


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

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

lsn752 发表于 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/libmain.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: *** 错误 1
make: Leaving directory `/root/soft/eva/src'
make: *** 错误 1
make: Leaving directory `/root/soft/eva/src'
make: *** 错误 1
make: Leaving directory `/root/soft/eva'
make: *** 错误 2

yunfan 发表于 2005-11-18 20:06:51

你是按我README.zh 里说的步骤来的么?

lsn752 发表于 2005-11-19 07:18:12

是的 ./configure --prefix=`kde-config --prefix`时完成后,make到一半时出错。

yunfan 发表于 2005-11-19 07:27:34

是的 ./configure --prefix=`kde-config --prefix`时完成后,make到一半时出错。

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

lsn752 发表于 2005-11-19 09:27:33

把第四张盘装了,还是不行。没人知道具体原因吗?

yunfan 发表于 2005-11-19 10:46:13

把第四张盘装了,还是不行。没人知道具体原因吗?

注意这个

/usr/bin/ld: cannot find -lpcreposix


你系统里少了这个库文件

lsn752 发表于 2005-11-19 11:40:18

没装pcre-devel-4.5-3.i386.rpm,多谢已经解决。

rushrush 发表于 2005-11-25 04:30:48

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
少了什么东西?
另外想知道uint8_t是什么? :D
本人菜鸟

yunfan 发表于 2005-11-25 08:41:24

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
少了什么东西?
另外想知道uint8_t是什么? :D
本人菜鸟


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

yunfan 发表于 2005-11-25 08:44:37

uint8_t == unsigned char
页: [1]
查看完整版本: eva-0.3.9编译错误的,都在这跟贴吧