QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 546|回复: 6

编译升级ORBit2-2.12.0时报错啦!

[复制链接]
发表于 2005-1-30 13:19:19 | 显示全部楼层 |阅读模式
刚才编译ORBit2-2.12.0时报错如下,小弟实在看不明白,不知道如何解决。请高手指点!
orbit-idl-2 2.12.0 compiling
  mode, show preprocessor errors, passes: headers skel_impl imodule

../../../src/idl/CORBA_PIDL/CORBA_ORB.idl:237: Error: `_factory' is not a valid identifier in IDL
../../../src/idl/CORBA_PIDL/CORBA_ORB.idl:237: Error: (Identifiers cannot start with an underscore)

** (process:232: WARNING **: ../../../src/orb/orb-core/corba-defs.idl compilation failed
make[8]: *** [corba-defs.h] Error 1
make[8]: Leaving directory `/root/ORBit2-2.12.0/include/orbit/orb-core'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/root/ORBit2-2.12.0/include/orbit'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/root/ORBit2-2.12.0/include/orbit'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/ORBit2-2.12.0/include'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/ORBit2-2.12.0/src/orb/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/ORBit2-2.12.0/src/orb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/ORBit2-2.12.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ORBit2-2.12.0'
make: *** [all] Error 2
[root@localhost ORBit2-2.12.0]#
发表于 2005-1-30 13:59:32 | 显示全部楼层
libIDL的版本符合要求吗?这有几篇文档看看需要的东西是否都正确安装了。
[code:1]
ORBit2-2.12.0
Introduction to ORBit2

The ORBit2 package contains a high-performance CORBA Object Request Broker. This allows programs to send requests and receive replies from other programs.
Package information

    *

      Download (HTTP): http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.12/ORBit2-2.12.0.tar.bz2
    *

      Download (FTP): ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.12/ORBit2-2.12.0.tar.bz2
    *

      Download MD5 sum: d7f0c2b9bee73b89978a9968c10f81fe
    *

      Download size: 667 KB
    *

      Estimated disk space required: 31.8 MB
    *

      Estimated build time: 0.66 SBU

ORBit2 dependencies
Required

libIDL-0.8.4 and popt-1.7
Optional

GTK-Doc-1.2 and OpenSSL-0.9.7e
Installation of ORBit2

Install ORBit2 by running the following commands:

./configure --prefix=$GNOME_PREFIX --sysconfdir=/etc/gnome &&
make &&
make install

Command explanations

--prefix=$GNOME_PREFIX: This is the Base installation for GNOME-2 from which all future installations will receive their prefix parameter. Be sure that GNOME_PREFIX is set for this install or globally to your install directory as described in the introduction of this Section.

--sysconfdir=/etc/gnome: This switch puts configuration files in /etc/gnome instead of $GNOME_PREFIX/etc.
Contents

The ORBit2 package contains ior-decode-2, linc-cleanup-sockets, orbit-idl-2, orbit2-config, typelib-dump, libORBit-2, libORBitCosNaming-2, libORBit-imodule-2, libname-server-2 and the ORBit2 Everything_module libraries.
Description
libORBit-2

libORBit-2 is the CORBA API[/code:1]


[code:1]
libIDL-0.8.4
Introduction to libIDL

The libIDL package contains libraries for Interface Definition Language files. This is a specification for defining portable interfaces.
Package information

    *

      Download (HTTP): http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-0.8.4.tar.bz2
    *

      Download (FTP): ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-0.8.4.tar.bz2
    *

      MD5 sum: f94a690454b4f9d448c2e51792f81365
    *

      Download size: 319 KB
    *

      Estimated disk space required: 4.5 MB
    *

      Estimated build time: 0.12 SBU

libIDL dependencies
Required

GLib-2.4.7
Installation of libIDL

Install libIDL by running the following commands:

./configure --prefix=/usr &&
make &&
make install

Contents

The libIDL package contains libIDL-2 libraries.
Description
libIDL libraries

libIDL-2 libraries provide the functions to create and maintain trees of CORBA Interface Definition Language (IDL) files.
[/code:1]

[code:1]
popt-1.7
Introduction to popt

The popt package contains the popt libraries which are used by some programs to parse command-line options.
Package information

    *

      Download (HTTP): http://gd.tuwien.ac.at/utils/rpm.org/dist/rpm-4.1.x/popt-1.7.tar.gz
    *

      Download (FTP): ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-1.7.tar.gz
    *

      Download size: 564 KB
    *

      Estimated Disk space required: 17.4 MB
    *

      Estimated build time: 0.06 SBU

Installation of popt

Install popt by running the following commands:

./configure --prefix=/usr &&
make &&
make install

Contents

The popt package contains the libpopt libraries.
Description
popt library

The libpopt library is used to parse command-line options.
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2005-1-30 14:04:07 | 显示全部楼层
哇塞、这么多阿!谢谢
回复

使用道具 举报

 楼主| 发表于 2005-1-30 14:07:50 | 显示全部楼层
谢谢!!好全啊!看来这次问题不解决就不现实了,我这就先试试这条
./configure --prefix=$GNOME_PREFIX --sysconfdir=/etc/gnome &&
make &&
make install
回复

使用道具 举报

 楼主| 发表于 2005-1-30 14:24:55 | 显示全部楼层
呀呼!!胜利!!多谢教导!
回复

使用道具 举报

发表于 2005-1-30 14:28:31 | 显示全部楼层
你是什么系统?
上面这条命令应该是不会影响编译的结果,主要是libIDL这个包版本要符合要求。

要是打算自己从新编译安装的话,建议你下一份lfs的blfs文档
里面有许多软件的编译安装方法。
可以在这里得到最新的blfs文档
http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-book-cvs-html-2005-01-29.tar.bz2
回复

使用道具 举报

 楼主| 发表于 2005-1-30 14:37:21 | 显示全部楼层
好的!谢谢!我的是redhat9; gnome-2.2; kde-3.1;内核2.4.8
好像都是2003年的。我用stardict-2.4.4的时候它要求gnome-2.8所以最近就凭着自己瞎闯瞎撞开始一本正经升级起系统来了!多谢大侠一路指导!真是迷途遇高人!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-14 09:18 , Processed in 0.049203 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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