QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: yunfan

Eva 0.3.2 发布

[复制链接]
发表于 2005-10-21 18:27:56 | 显示全部楼层
slamfinger@19216802:~/Documents/eva> ./configure --prefix=`kde-config --prefix`
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
slamfinger@19216802:~/Documents/eva> make
make: *** 没有指明目标并且找不到 makefile。 停止。

这个原因是不是因为缺少
sourceforge CVS 下载(这个可能有些延时,大概3个小时):
cvs -d:pserver:[email protected]:/cvsroot/evaq co eva

第一次安装linux,很多地方不懂。如果提的问题很菜,请谅解。
回复

使用道具 举报

发表于 2005-10-21 18:57:40 | 显示全部楼层
你根本没有装gcc。建议你选择和自己发行版匹配的二进制包进行安装。
回复

使用道具 举报

发表于 2005-10-21 20:29:09 | 显示全部楼层
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
slamfinger@19216802:~/Documents/eva> make
make: *** 没有指明目标并且找不到 makefile。 停止。

装了gcc,运行到这个地方停止,这个是缺少什么包?
回复

使用道具 举报

发表于 2005-10-21 21:53:38 | 显示全部楼层
x11-devel  没有装。估计后边还有kdelibs-devel。不知道你用的什么发行版,看样子像suse,你用Yast装上kdelibs3-devel后再试。
回复

使用道具 举报

发表于 2005-10-21 22:36:13 | 显示全部楼层
[quote:e81b2a700f="yunfan"][quote:e81b2a700f="mummy"]checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!



[root@test eva]# qtconfig

Library Path
/usr/lib/kde3/plugins/
/root/.kde/lib/kde3/plugins/
/usr/lib/qt-3.3/plugins
/usr/lib/qt-3.3/bin
ps: my system PowerBook G4  Fc4 test4[/quote]

试试下面的看行不行( 注意这个 ` , 是和~在同一个键上的)
./configure --with-qt-dir=/usr/lib/qt-3.3 --prefix=`kde-config --prefix`[/quote]


这个是正解。。。已经编译成功了。。。祝贺。。。
ps: 非常的搞笑 在装某个包的时候提示我依赖关系。。大多数找到了,有一个fam-dev没找到。强制安装。结果make error
提示 libfam.la 文件没有。。:=(  ....结果是这个文件是从gamin-devel-这个包里提取的。奶奶的。。。坑人呀。。。。
回复

使用道具 举报

发表于 2005-10-22 00:19:44 | 显示全部楼层
[quote:754550563a="mandrakechina"]x11-devel  没有装。估计后边还有kdelibs-devel。不知道你用的什么发行版,看样子像suse,你用Yast装上kdelibs3-devel后再试。[/quote]

我装的的确是SUSE linux 9.3。刚才将包装上,可以继续编译,不过又出现了新问题。

make[3]: Entering directory `/home/slamfinger/Documents/eva/src/sound'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/slamfinger/Documents/eva/src/sound'
make[3]: Entering directory `/home/slamfinger/Documents/eva/src'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -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 /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/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 -lkdeui
libtool: link: cannot find the library `/usr/lib/libjpeg.la'
make[3]: *** [eva] 错误 1
make[3]: Leaving directory `/home/slamfinger/Documents/eva/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/slamfinger/Documents/eva/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/slamfinger/Documents/eva'
make: *** [all] 错误 2
slamfinger@19216802:~/Documents/eva>  

请指点。。。
回复

使用道具 举报

 楼主| 发表于 2005-10-22 10:08:48 | 显示全部楼层
libtool: link: cannot find the library `/usr/lib/libjpeg.la'
make[3]: *** [eva] 错误 1

没有找到 libjpeg 这个库来链接。 你configure的时候应该检测 jpeg 了的。 你可以看一下。
你检查一下你是否安装了 libjpeg 这个库。
回复

使用道具 举报

发表于 2005-10-22 21:07:03 | 显示全部楼层
谢谢大家的帮助,我的eva已成功安装。
回复

使用道具 举报

发表于 2005-10-25 12:04:22 | 显示全部楼层
yufan,你好。我有个问题请教一下,看了帖子页解决不了。
我是suse10.0 x86_64的系统,下载了源码包,解压之后进入目录,运行./configure没问题,显示有yes的,也有一堆no,我不管他,马上执行make,但是提示没有找到相关文件,无法进行下去。我是菜鸟,用linux时间不长,希望能给我个比较详细的解答。谢谢。没有QQ的日子真的很难过。
好像提示checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!,我该怎么办?谢谢
回复

使用道具 举报

 楼主| 发表于 2005-10-25 13:13:41 | 显示全部楼层
[quote:3f52d7396d="三翻领"]yufan,你好。我有个问题请教一下,看了帖子页解决不了。
我是suse10.0 x86_64的系统,下载了源码包,解压之后进入目录,运行./configure没问题,显示有yes的,也有一堆no,我不管他,马上执行make,但是提示没有找到相关文件,无法进行下去。我是菜鸟,用linux时间不长,希望能给我个比较详细的解答。谢谢。没有QQ的日子真的很难过。
好像提示checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!,我该怎么办?谢谢[/quote]

suse 我不熟, 不过看情况, 你首先的确定你的qt安装到哪里了。
用qt-config可以看到你的qt安装到哪里了(看Library Path 那一项)

比如说显示你的qt 的 library :
[root@test eva]# qtconfig
Library Path
/usr/lib/kde3/plugins/
/root/.kde/lib/kde3/plugins/
/usr/lib/qt-3.3/plugins
/usr/lib/qt-3.3/bin

那么, 你的qt是安装到 /usr/lib/qt-3.3下了
然后, 执行
./configure --with-qt-dir=/usr/lib/qt-3.3 --prefix=`kde-config --prefix`

如果configure 成功, 应该最后一句话说, ”可以make“ 了 之类的, 就是成功了,
然后: make
make install
就可以了。

另外, 如果有什么问题, 还是把屏幕的提示输出贴出来比较好。
回复

使用道具 举报

发表于 2005-10-25 13:50:45 | 显示全部楼层
谢谢,很详细,我回去之后试试。怕浪费版面资源。
回复

使用道具 举报

发表于 2005-10-25 17:35:58 | 显示全部楼层
谢谢yunfan,我用qt-config没用,提示没有这个命令。我到/usr/lib下看到qt3这个文件夹,把他代提到你给我的命令中执行./configure还是不行,出错信息好像是一样的。

linux:/home/frank/eva/eva-0.3.2-1/eva # ./configure --with-qt-dir=/usr/lib/qt3 --prefix=`kde-config --prefix`
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... :
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 8
checking for char *... yes
checking size of char *... 8
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 8
checking for unsigned long... yes
checking size of unsigned long... 8
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
回复

使用道具 举报

 楼主| 发表于 2005-10-25 17:46:06 | 显示全部楼层
”没有qt-config这个命令“, 你到底安装qt了没有啊, 如果没有安装的话, 先装一个。

64 位系统, 我也不太清楚。反正包错就是说找不到版本大于3.0的qt

你把configure生成的config.log 贴出来参考一下。

看看谁知道的给你一些建议吧, 我没有用过64位的机器。
回复

使用道具 举报

 楼主| 发表于 2005-10-25 17:48:16 | 显示全部楼层
记住啊, 自己编译,qt-devel包一定要装的, 否则无法编译。
回复

使用道具 举报

发表于 2005-10-25 18:09:35 | 显示全部楼层
qt-devel包是什么?没注意过,要自己动手吗?config.log太长了,我想大家也不会一行一行去看。不过我确定有qt,大概是3.0吧,我在/usr/lib里面找到了qt3这个文件夹,里面也有什么plugins等文件夹啊。而且我在log里面看到有一行:qtver=3
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-3-28 21:22 , Processed in 0.172809 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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