LinuxSir.cn,穿越时空的Linuxsir!

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

我想安装Kinstaller,可是...

[复制链接]
发表于 2005-11-16 13:46:41 | 显示全部楼层 |阅读模式
http://www.linuxeden.com/doc/23095.html文章里有这个好东西,我下载了却安装不上,大家帮我分析一下是怎么回事.

[root@localhost kinstaller-0.2]# ./configure
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)... no
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... none
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... none
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wmissing-format-attribute... no
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@localhost kinstaller-0.2]#

我是新人,只知道urpmi这类简单的事情,从没有(configure-make-make install)成功过一个软件。知道的人拉我一把!
发表于 2005-11-16 14:26:39 | 显示全部楼层
checking for gcc... gcc

checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no

很奇怪,有gcc,没有g++
回复 支持 反对

使用道具 举报

发表于 2005-11-16 14:49:11 | 显示全部楼层
用不着搞那么花巧的东西吧,退一万步讲,现在那个发行版自己的包管理系统不是相当完善的呢???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-16 19:08:39 | 显示全部楼层
Post by csyfek
用不着搞那么花巧的东西吧,退一万步讲,现在那个发行版自己的包管理系统不是相当完善的呢???


你有3颗星,你能不能针对我的问题回答一下呢?说不着边的话干什么?我只是想安装Kinstall,我有错吗?大家都想在这个论坛里学点东西,我是很想从基础的东西学起。
我没有别的意思,希望你能体谅一个新手的难处。
回复 支持 反对

使用道具 举报

发表于 2005-11-16 19:48:49 | 显示全部楼层
楼上的先不要激动,老实说这个东西实在没有甚麽用.你要是真的装好用就知道了.你没有看那篇文章的结尾都说了,RPM和某些命令不支持.不是说这个东西没有前途,是说这个程序还在实验阶段呢.

新的东西不一定就是先进的,先进的东西不一定就是实用的.就象SMART,我暂时还不敢用啊.你要是真的想学LINUX就学点有用的,这种编译程序还不如GENTOO的安装工具呢

g++不一定是必要,很多MAKE的过程中都会检查这些,关键是最后一段
回复 支持 反对

使用道具 举报

发表于 2005-11-16 19:49:17 | 显示全部楼层
Post by yechf
你有3颗星,你能不能针对我的问题回答一下呢?说不着边的话干什么?我只是想安装Kinstall,我有错吗?大家都想在这个论坛里学点东西,我是很想从基础的东西学起。
我没有别的意思,希望你能体谅一个新手的难处。

嘻嘻~~星多就是水多~和技术没多大关系吧。。。
既然你想编这个东西,那么想必你对它应该很感兴趣吧。那么你是不是应该知道他需要什么东西才能够构造起来呢?是不是应该先对你编译的过程有个大概的了解呢?好,小孩子我废话少说。

先来看看Kinstall是个什么东西?
http://www.stierand-linuxit.de/kinstaller/
************
Requirements
************
KDE 3.3 and above --> 清楚了吧,还需要kde的开发包。

把这个包下载下来,解开,看到里面有INSTALL文件,看有什么提示。(这里没看到多大用处)
下面看看 configure 有什么选项可以用的?(选项很多,不过为节省时间,用默认的吧。。)
然后直接:
$./configure
*****************下面是输出结果******************
[PHP]
[shine@localhost kinstaller-0.2]$ ./configure
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 kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
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 gcc 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... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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/bin/ld) 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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) 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/bin/ld) 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... /usr/bin/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... yes
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 sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... 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 for res_init... yes
checking if res_init needs custom prototype... no
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... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
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/lib, 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... libraries /usr/lib/qt3//lib, headers /usr/lib/qt3//include using -mt
checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/lib, headers /usr/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/bin/dcopidl
checking for dcopidl2cpp... /usr/bin/dcopidl2cpp
checking for mcopidl... /usr/bin/mcopidl
checking for artsc-config... /usr/bin/artsc-config
checking for meinproc... /usr/bin/meinproc
checking for xmllint... /usr/bin/xmllint
checking whether byte ordering is bigendian... no
checking for MAXPATHLEN... 4096
checking if doc should be compiled... yes
checking if po should be compiled... yes
checking if src should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating doc/Makefile
fast creating doc/en/Makefile
fast creating po/Makefile
fast creating src/Makefile
config.pl: fast created 5 file(s).
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now
[/PHP]
这里我先打住,看到你少了什么没有?没错,先是g++。。。后面我估计你还会少很多东西。。。

解决?
# urpmi gcc-c++
上面会帮你安装上g++。后面少的东西就要继续装上吧。
为什么不建议用这个东西呢?如果你已经安装了某个软件的软件包,你再用这个东西去编译同一个软件的源码包。到时候,卸载软件的时候就容易造成混乱,而且也容易造成依赖关系的缺失。
回复 支持 反对

使用道具 举报

发表于 2005-11-16 19:50:40 | 显示全部楼层
说回来,我天天在这里回贴也有点累了,想休息一下.我现在在整理顶贴,结束后我会打包成ZIP文件代替它
回复 支持 反对

使用道具 举报

发表于 2005-11-16 19:53:10 | 显示全部楼层
说回来,我天天在这里回贴也有点累了,想休息一下.我现在在整理顶贴,结束后我会打包成ZIP文件代替它.然后我可能有一段时间不回贴了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-5 07:44:19 | 显示全部楼层

我搞定了。

安装了缺少的东西,在$下./configure和make,在#下make install就可以了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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