LinuxSir.cn,穿越时空的Linuxsir!

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

新手安装软件出错,求救!

[复制链接]
发表于 2006-12-3 02:30:00 | 显示全部楼层 |阅读模式
因为最近想要研究robocup的仿真机器人,所以安了FC5并尝试安装RoboCup Soccer
Simulation,但总是安装不成功,现把安装经过帖出来,希望各位帮忙解决。
RPM包都是从www.rpmfind.net那里找的。

先安装rcssbase-10.0.11-0.i386-redhat-linux.rpm
安装过程:

[root@localhost ~]# cd /usr/local/src
[root@localhost src]# rpm -ivh rcssbase-10.0.11-0.i386-redhat-linux.rpm
Preparing...                ########################################### [100%]
        file /usr/include/boost/assert.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/checked_delete.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/borland.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/comeau.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/common_edg.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/compaq_cxx.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/gcc.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/greenhills.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/hp_acc.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/intel.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/kai.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/metrowerks.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/mpw.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/sgi_mipspro.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/sunpro_cc.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/vacpp.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/compiler/visualc.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/aix.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/amigaos.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/beos.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/bsd.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/cygwin.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/hpux.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/irix.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/linux.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/macos.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/solaris.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/platform/win32.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/posix_features.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/select_compiler_config.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/select_platform_config.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/select_stdlib_config.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/dinkumware.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/libcomo.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/libstdcpp3.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/modena.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/msl.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/roguewave.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/sgi.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/stlport.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/stdlib/vacpp.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/suffix.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/config/user.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/cstdint.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/current_function.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/lightweight_mutex.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/limits.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/lwm_nop.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/lwm_pthreads.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/lwm_win32_cs.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/shared_count.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/shared_ptr_nmt.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/detail/workaround.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/integer_traits.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/intrusive_ptr.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/iterator.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/limits.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/config/lambda.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/config/overload_resolution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5        file /usr/include/boost/mpl/aux_/config/preprocessor.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/config/static_constant.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/config/ttp.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/lambda_support.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/preprocessor/params.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/aux_/template_arity_fwd.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/bool.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/mpl/bool_fwd.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/operators.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/preprocessor/cat.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/preprocessor/config/config.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/additive_combine.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/bernoulli_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/binomial_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/cauchy_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/detail/const_mod.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/detail/iterator_mixin.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/detail/signed_unsigned_compare.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/discard_block.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/exponential_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/gamma_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/geometric_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/inversive_congruential.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/lagged_fibonacci.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/linear_congruential.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/linear_feedback_shift.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/lognormal_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/mersenne_twister.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/normal_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/poisson_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/random_number_generator.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/ranlux.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/shuffle_output.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/subtract_with_carry.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/triangle_distribution.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/uniform_01.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/uniform_int.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/uniform_on_sphere.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/uniform_real.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/uniform_smallint.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/random/xor_combine.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/shared_ptr.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/static_assert.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/throw_exception.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/type_traits/detail/bool_trait_def.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/type_traits/detail/bool_trait_undef.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5        file /usr/include/boost/type_traits/detail/template_arity_spec.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/type_traits/is_float.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5
        file /usr/include/boost/weak_ptr.hpp from install of rcssbase-10.0.11-0 conflicts with file from package boost-devel-1.33.1-5


似乎是安装好了?接下来安装rcssserver-10.0.5-0.i386-redhat-linux.rpm,不过这时候就出错了,提示少好些动态库,好郁闷。。。
[root@localhost src]# rpm -ivh rcssserver-10.0.5-0.i386-redhat-linux.rpm
error: Failed dependencies:
        librcssbase.so.0 is needed by rcssserver-10.0.5-0.i386
        librcssconfparser.so.1 is needed by rcssserver-10.0.5-0.i386
        librcsserror.so.0 is needed by rcssserver-10.0.5-0.i386
        librcssgz.so.0 is needed by rcssserver-10.0.5-0.i386
        librcsslib.so.0 is needed by rcssserver-10.0.5-0.i386
        librcssnet.so.1 is needed by rcssserver-10.0.5-0.i386

看来应该是rcssbase-10.0.11-0.i386-redhat-linux.rpm没有安装成功,因为我看到在rcssbase-10.0.11-0.i386-redhat-linux.rpm的介绍中是这样写的:

The RoboCup Soccer Simulator Base Code package (RCSSBase) contains
base code used by the various other RoboCup Soccer Simulator Packages.

Provides

    * rcssbase
    * librcssbase.so.0
    * librcssconfparser.so.1
    * librcsserror.so.0
    * librcssgz.so.0
    * librcsslib.so.0
    * librcssnet.so.1

Requires

    * libc.so.6
    * libdl.so.2
    * libgcc_s.so.1
    * libm.so.6
    * libnsl.so.1
    * librcsserror.so.0
    * librcsslib.so.0
    * libresolv.so.2
    * libstdc++.so.5
    * libz.so.1



所以说如果rcssbase-10.0.11-0.i386-redhat-linux.rpm安装成功的话,这些动态库应该都装上了 阿,不过我发现在/lib下却有这些动态库(但是好像不全,没有找到librcssgz.so.0),怎是不知道该怎么弄了,大家帮我看看应该怎么办阿?
发表于 2006-12-3 03:01:24 | 显示全部楼层
rcssbase 根本就没装上,因为与 Boost 有冲突。最好最保险的办法是下源代码自己编译。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-3 11:22:56 | 显示全部楼层
但是我下载了rcssbase-10.0.3.tar.gz安装也有错

[root@localhost rcssbase-10.0.3]#./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for g++... g++
checking for C++ compiler default output... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
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 for unistd.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for sys/socket.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for socklen_t... yes
checking for size_t... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
checking for flex... flex
checking for bison... bison -y
checking whether the rcsstest library is available... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for sched_yield in -lposix4... no
checking for hstrerror in -lresolv... yes
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 dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for sed... /bin/sed
checking for rpmbuild... rpmbuild
configure: WARNING: You will not be able to build binary RPMS because you have not set PLATFORM_SUFFIX.  Please see 'configure --help' for more details
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rcssbase/Makefile
config.status: creating rcssbase/error/Makefile
config.status: creating rcssbase/lib/Makefile
config.status: creating rcssbase/lib/factorytest/Makefile
config.status: creating rcssbase/lib/loadertest/Makefile
config.status: creating rcssbase/net/Makefile
config.status: creating rcssbase/net/addrtest/Makefile
config.status: creating rcssbase/net/udpsockettest/Makefile
config.status: creating rcssbase/net/tcpsockettest/Makefile
config.status: creating rcssbase/net/iosocketstreamtest/Makefile
config.status: creating rcssbase/conf/Makefile
config.status: creating rcssbase/version.cpp
config.status: executing depfiles commands
configure: configuring in libltdl
configure: running /bin/sh './configure' --prefix=/usr/local  --enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 for style of include used by make... GNU
checking dependency style of gcc... none
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 how to run the C preprocessor... gcc -E
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands



[root@localhost rcssbase-10.0.3]# make
Making all in .
make[1]: Entering directory `/usr/local/src/rcssbase-10.0.3'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/local/src/rcssbase-10.0.3'
Making all in libltdl
make[1]: Entering directory `/usr/local/src/rcssbase-10.0.3/libltdl'
make  all-am
make[2]: Entering directory `/usr/local/src/rcssbase-10.0.3/libltdl'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c -o ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc  -g -O2   -o libltdlc.la   ltdl.lo -ldl
rm -fr  .libs/libltdlc.a .libs/libltdlc.la
ar cru .libs/libltdlc.a .libs/ltdl.o
ranlib .libs/libltdlc.a
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[2]: Leaving directory `/usr/local/src/rcssbase-10.0.3/libltdl'
make[1]: Leaving directory `/usr/local/src/rcssbase-10.0.3/libltdl'
Making all in rcssbase
make[1]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase'
Making all in error
make[2]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/error'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/error'
Making all in lib
make[2]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib'
Making all in .
make[3]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib'
Making all in factorytest
make[3]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib/factorytest'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib/factorytest'
Making all in loadertest
make[3]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib/loadertest'
make  all-am
make[4]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib/loadertest'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib/loadertest'
make[3]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib/loadertest'
make[2]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/lib'
Making all in net
make[2]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/net'
Making all in .
make[3]: Entering directory `/usr/local/src/rcssbase-10.0.3/rcssbase/net'
if /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME=\"RCSSBase\" -DPACKAGE_TARNAME=\"rcssbase\" -DPACKAGE_VERSION=\"10.0.3\" -DPACKAGE_STRING=\"RCSSBase\ 10.0.3\" -DPACKAGE_BUGREPORT=\"sserver-admin@users.sf.net\" -DPACKAGE=\"rcssbase\" -DVERSION=\"10.0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_POLL_H=1 -DHAVE_ARPA_NAMESER_H=1 -DHAVE_NETDB_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKLEN_T=1 -DHAVE_SIZE_T=1 -DHAVE_NAMESPACES= -DHAVE_SSTREAM= -DHAVE_DLFCN_H=1  -I. -I.    -Wall -I../.. -g -O2 -pthread -MT addr.lo -MD -MP -MF ".deps/addr.Tpo" \
  -c -o addr.lo `test -f 'addr.cpp' || echo './'`addr.cpp; \
then mv -f ".deps/addr.Tpo" ".deps/addr.Plo"; \
else rm -f ".deps/addr.Tpo"; exit 1; \
fi
g++ -DPACKAGE_NAME=\"RCSSBase\" -DPACKAGE_TARNAME=\"rcssbase\" -DPACKAGE_VERSION=\"10.0.3\" "-DPACKAGE_STRING=\"RCSSBase 10.0.3\"" -DPACKAGE_BUGREPORT=\"sserver-admin@users.sf.net\" -DPACKAGE=\"rcssbase\" -DVERSION=\"10.0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_POLL_H=1 -DHAVE_ARPA_NAMESER_H=1 -DHAVE_NETDB_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKLEN_T=1 -DHAVE_SIZE_T=1 -DHAVE_NAMESPACES= -DHAVE_SSTREAM= -DHAVE_DLFCN_H=1 -I. -I. -Wall -I../.. -g -O2 -pthread -MT addr.lo -MD -MP -MF .deps/addr.Tpo -c addr.cpp  -fPIC
In file included from ../../boost/config.hpp:35,
                 from ../../boost/shared_ptr.hpp:18,
                 from addr.hpp:27,
                 from addr.cpp:21:
../../boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results"
addr.cpp: In member function 'bool rcss::net::AddrImpl::setPort(const std::string&, const std::string&)':
addr.cpp:112: error: 'errno' was not declared in this scope
addr.cpp: In member function 'bool rcss::net::AddrImpl::setHost(const std::string&)':
addr.cpp:144: error: 'errno' was not declared in this scope
make[3]: *** [addr.lo] 错误 1
make[3]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/net'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase/net'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/src/rcssbase-10.0.3/rcssbase'
make: *** [all-recursive] 错误 1

郁闷了 。。。。。
回复 支持 反对

使用道具 举报

发表于 2006-12-4 03:10:55 | 显示全部楼层
我在我的 FC3 上编译没问题。从你的 make 信息来看是 gcc 的版本问题,你装个 gcc 3.3.4 再编译一下看看。
回复 支持 反对

使用道具 举报

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

本版积分规则

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