LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2636|回复: 10

eva在不完全安kde的情况下,都要依赖什么?(基本解决)

[复制链接]
发表于 2007-3-1 00:41:42 | 显示全部楼层 |阅读模式
在slackware中安eva不想安kde,有人介绍安qt即可,但是,我安有qt后,仍不能成功安装eva.在  ./configure --prefix=`kde-config --prefix`中,后来中断,信息如下:
  1. checking if Qt needs -ljpeg... no
  2. checking for rpath... yes
  3. checking for KDE... configure: error:
  4. in the prefix, you've chosen, are no KDE headers installed. This will fail.
  5. So, check this please and use another prefix!
复制代码

是什么原因?如何解决?
发表于 2007-3-1 00:47:24 | 显示全部楼层
./configure --prefix=/usr
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-1 12:19:45 | 显示全部楼层
wildfire:  谢谢!
但还是不行,配置时显示代码如下:
  1. slk[~]$cd /opt/eva/
  2. slk[eva]$sudo su
  3. root[eva]#./configure --prefix=/usr
  4. checking build system type... i686-pc-linux-gnu
  5. checking host system type... i686-pc-linux-gnu
  6. checking target system type... i686-pc-linux-gnu
  7. checking for a BSD-compatible install... /bin/ginstall -c
  8. checking for -p flag to install... yes
  9. checking whether build environment is sane... yes
  10. checking for gawk... gawk
  11. checking whether make sets $(MAKE)... yes
  12. checking for style of include used by make... GNU
  13. checking for gcc... gcc
  14. checking for C compiler default output file name... a.out
  15. checking whether the C compiler works... yes
  16. checking whether we are cross compiling... no
  17. checking for suffix of executables...
  18. checking for suffix of object files... o
  19. checking whether we are using the GNU C compiler... yes
  20. checking whether gcc accepts -g... yes
  21. checking for gcc option to accept ANSI C... none needed
  22. checking dependency style of gcc... gcc3
  23. checking how to run the C preprocessor... gcc -E
  24. checking for g++... g++
  25. checking whether we are using the GNU C++ compiler... yes
  26. checking whether g++ accepts -g... yes
  27. checking dependency style of g++... gcc3
  28. checking whether g++ supports -Wmissing-format-attribute... yes
  29. checking whether g++ supports -Wundef... yes
  30. checking whether g++ supports -Wno-long-long... yes
  31. checking whether g++ supports -Wnon-virtual-dtor... yes
  32. checking whether g++ supports -fno-exceptions... yes
  33. checking whether g++ supports -fno-check-new... yes
  34. checking whether g++ supports -fno-common... yes
  35. checking whether g++ supports -fexceptions... yes
  36. checking how to run the C++ preprocessor... g++ -E
  37. checking whether g++ supports -O0... yes
  38. checking whether g++ supports -Wl,--no-undefined... yes
  39. checking whether g++ supports -Wl,--allow-shlib-undefined... yes
  40. not using lib directory suffix
  41. checking for a sed that does not truncate output... /bin/sed
  42. checking for egrep... grep -E
  43. checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
  44. checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
  45. checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
  46. checking for BSD-compatible nm... /usr/bin/nm -B
  47. checking whether ln -s works... yes
  48. checking how to recognise dependent libraries... pass_all
  49. checking for ANSI C header files... yes
  50. checking for sys/types.h... yes
  51. checking for sys/stat.h... yes
  52. checking for stdlib.h... yes
  53. checking for string.h... yes
  54. checking for memory.h... yes
  55. checking for strings.h... yes
  56. checking for inttypes.h... yes
  57. checking for stdint.h... yes
  58. checking for unistd.h... yes
  59. checking dlfcn.h usability... yes
  60. checking dlfcn.h presence... yes
  61. checking for dlfcn.h... yes
  62. checking for g77... no
  63. checking for f77... no
  64. checking for xlf... no
  65. checking for frt... no
  66. checking for pgf77... no
  67. checking for fort77... no
  68. checking for fl32... no
  69. checking for af77... no
  70. checking for f90... no
  71. checking for xlf90... no
  72. checking for pgf90... no
  73. checking for epcf90... no
  74. checking for f95... no
  75. checking for fort... no
  76. checking for xlf95... no
  77. checking for ifc... no
  78. checking for efc... no
  79. checking for pgf95... no
  80. checking for lf95... no
  81. checking for gfortran... no
  82. checking whether we are using the GNU Fortran 77 compiler... no
  83. checking whether  accepts -g... no
  84. checking the maximum length of command line arguments... 32768
  85. checking command to parse /usr/bin/nm -B output from gcc object... ok
  86. checking for objdir... .libs
  87. checking for ar... ar
  88. checking for ranlib... ranlib
  89. checking for strip... strip
  90. checking if gcc static flag  works... yes
  91. checking if gcc supports -fno-rtti -fno-exceptions... no
  92. checking for gcc option to produce PIC... -fPIC
  93. checking if gcc PIC flag -fPIC works... yes
  94. checking if gcc supports -c -o file.o... yes
  95. checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
  96. checking whether -lc should be explicitly linked in... no
  97. checking dynamic linker characteristics... GNU/Linux ld.so
  98. checking how to hardcode library paths into programs... immediate
  99. checking whether stripping libraries is possible... yes
  100. checking for shl_load... no
  101. checking for shl_load in -ldld... no
  102. checking for dlopen... no
  103. checking for dlopen in -ldl... yes
  104. checking whether a program can dlopen itself... yes
  105. checking whether a statically linked program can dlopen itself... yes
  106. checking if libtool supports shared libraries... yes
  107. checking whether to build shared libraries... yes
  108. checking whether to build static libraries... no
  109. configure: creating libtool
  110. appending configuration tag "CXX" to libtool
  111. checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
  112. checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
  113. checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
  114. checking for g++ option to produce PIC... -fPIC
  115. checking if g++ PIC flag -fPIC works... yes
  116. checking if g++ supports -c -o file.o... yes
  117. checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
  118. checking dynamic linker characteristics... GNU/Linux ld.so
  119. checking how to hardcode library paths into programs... immediate
  120. checking whether stripping libraries is possible... yes
  121. checking for shl_load... (cached) no
  122. checking for shl_load in -ldld... (cached) no
  123. checking for dlopen... (cached) no
  124. checking for dlopen in -ldl... (cached) yes
  125. checking whether a program can dlopen itself... (cached) yes
  126. checking whether a statically linked program can dlopen itself... (cached) yes
  127. appending configuration tag "F77" to libtool
  128. checking for msgfmt... /usr/bin/msgfmt
  129. checking for gmsgfmt... /usr/bin/msgfmt
  130. checking for xgettext... /usr/bin/xgettext
  131. checking if C++ programs can be compiled... yes
  132. checking for strlcat... no
  133. checking if strlcat needs custom prototype... yes - in libkdefakes
  134. checking for strlcpy... no
  135. checking if strlcpy needs custom prototype... yes - in libkdefakes
  136. checking for main in -lutil... yes
  137. checking for main in -lcompat... no
  138. checking for crypt in -lcrypt... yes
  139. checking for socklen_t... socklen_t
  140. checking for dnet_ntoa in -ldnet... no
  141. checking for dnet_ntoa in -ldnet_stub... no
  142. checking for inet_ntoa... yes
  143. checking for connect... yes
  144. checking for remove... yes
  145. checking for shmat... yes
  146. checking for sys/types.h... (cached) yes
  147. checking for stdint.h... (cached) yes
  148. checking for poll in -lpoll... no
  149. checking CoreAudio/CoreAudio.h usability... no
  150. checking CoreAudio/CoreAudio.h presence... no
  151. checking for CoreAudio/CoreAudio.h... no
  152. checking if res_init needs -lresolv... yes
  153. checking if res_init is available... yes
  154. checking for killpg in -lucb... no
  155. checking for int... yes
  156. checking size of int... 4
  157. checking for short... yes
  158. checking size of short... 2
  159. checking for long... yes
  160. checking size of long... 4
  161. checking for char *... yes
  162. checking size of char *... 4
  163. checking for dlopen in -ldl... (cached) yes
  164. checking for shl_unload in -ldld... no
  165. checking for size_t... yes
  166. checking size of size_t... 4
  167. checking for unsigned long... yes
  168. checking size of unsigned long... 4
  169. checking sizeof size_t == sizeof unsigned long... yes
  170. checking crt_externs.h usability... no
  171. checking crt_externs.h presence... no
  172. checking for crt_externs.h... no
  173. checking for _NSGetEnviron... no
  174. checking for vsnprintf... yes
  175. checking for snprintf... yes
  176. checking for X... libraries /usr/X11/lib, headers .
  177. checking for IceConnectionNumber in -lICE... yes
  178. checking for libXext... yes
  179. checking for pthread_create in -lpthread... yes
  180. checking for extra includes... no
  181. checking for extra libs... no
  182. checking for libz... -lz
  183. checking for libpng... -lpng -lz -lm
  184. checking for libjpeg6b... no
  185. checking for libjpeg... -ljpeg
  186. checking for perl... /usr/bin/perl
  187. checking for Qt... libraries /usr/lib/qt/lib, headers /usr/lib/qt/include using -mt
  188. checking for moc... /usr/lib/qt/bin/moc
  189. checking for uic... /usr/lib/qt/bin/uic
  190. checking whether uic supports -L ... yes
  191. checking whether uic supports -nounload ... yes
  192. checking if Qt needs -ljpeg... no
  193. checking for rpath... yes
  194. checking for KDE... configure: error:
  195. in the prefix, you've chosen, are no KDE headers installed. This will fail.
  196. So, check this please and use another prefix!
  197. root[eva]#
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-3-1 12:40:40 | 显示全部楼层
libkde吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-1 13:31:55 | 显示全部楼层
kdelibs-3.5.4-i486-1.tgz ------是它吗?
安装后,用命令--:./configure --prefix=/usr
有一下提示:
  1. checking for dcopidl2cpp... /opt/kde/bin/dcopidl2cpp
  2. checking for mcopidl... not found
  3. configure: error: The important program mcopidl was not found!
  4. Please check whether you installed aRts correctly or use
  5. --without-arts to compile without aRts support (this will remove functionality).
复制代码
用如下命令可配置安装成功:
  1. ./configure --prefix=/usr  --without-arts
复制代码
aRts是什么包? 没有它会删去实用性?打开eva时提示
  1. ...
  2. friend change status
  3. EvaUHManager::cleanUp
  4. send im reply
  5. Could not open library '/opt/kde/lib/kde3/knotify.la'.
  6. libqtmcop.so.1: 无法打开共享对象文件: 没有那个文件或目录
  7. kio (KIOConnection): ERROR: Header read failed, errno=104
  8. kio (KIOConnection): ERROR: Header has invalid size (-1)
  9. ...
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-3-1 18:44:39 | 显示全部楼层
看来编译 eva 基本的 KDE 还是必须的,

yum install kdebase-devel kdenetwork-devel

后再试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-1 23:30:45 | 显示全部楼层
Post by wildfire
看来编译 eva 基本的 KDE 还是必须的,

yum install kdebase-devel kdenetwork-devel

后再试试。
I can run it.     安装"成功":但没有发现删去什么实用性.(.... remove functionality)
回复 支持 反对

使用道具 举报

发表于 2007-3-2 01:12:54 | 显示全部楼层
没有 arts 声音提示肯定就没有了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-2 23:53:10 | 显示全部楼层
多谢wildfire!
原来 是这样. 正好我常关闭声音提示-这个选项,没有反而更好.
回复 支持 反对

使用道具 举报

发表于 2008-7-4 15:37:35 | 显示全部楼层
i had installed " kdelibs-3.5.9-i486-4.tgz kdebase-3.5.9-i486-2.tgz kdenetwork-3.5.9-i486-2.tgz qt3-devel-3.3.8b-45.i586.tgz" in my ZENWALK

but eva can't run anymore
./congiure

checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!


after installde eva.tgz
it said
choi[~]$ eva
eva: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
回复 支持 反对

使用道具 举报

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

本版积分规则

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