QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2739|回复: 7

还是尽快能提供RH9的版本..

[复制链接]
发表于 2006-6-9 11:43:29 | 显示全部楼层 |阅读模式
因为硬件原因, 我没有办法安装内核在2.6以上的版本, 只能用RH9了, 所以还是希望尽快提供RH9的版本


----
./configure 居然在RH9里面成功了....
以下顺便贴出EVA在RH9的编译输出


[code:1]
[copyliu@localhost eva]$ make
cd . && /bin/sh /home/copyliu/eva/admin/missing --run aclocal-1.6
cd . && \
  /bin/sh /home/copyliu/eva/admin/missing --run automake-1.6 --gnu  Makefile
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/home/copyliu/eva'
make[1]: Leaving directory `/home/copyliu/eva'
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --prefix=/usr  --no-create --no-recursion
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... 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 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... /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... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 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 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 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 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... 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... 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/qt-3.1/lib, headers /usr/lib/qt-3.1/include using -mt
checking for moc... /usr/lib/qt-3.1/bin/moc
checking for uic... /usr/lib/qt-3.1/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/kde
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 kde-config... /usr/bin/kde-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 po should be compiled... yes
checking if src should be compiled... yes
configure: creating ./config.status

Good - your configure finished. Start make now

cd . && /bin/sh ./config.status Makefile
fast creating Makefile
config.pl: fast created 1 file(s).
cd . && /bin/sh /home/copyliu/eva/admin/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/home/copyliu/eva'
Making all in po
make[2]: Entering directory `/home/copyliu/eva/po'
cd .. && \
  /bin/sh /home/copyliu/eva/admin/missing --run automake-1.6 --gnu  po/Makefile
cd .. && perl admin/am_edit po/Makefile.in
cd .. && /bin/sh ./config.status po/Makefile
fast creating po/Makefile
config.pl: fast created 1 file(s).
make[2]: Leaving directory `/home/copyliu/eva/po'
make[2]: Entering directory `/home/copyliu/eva/po'
Making all in .
make[3]: Entering directory `/home/copyliu/eva/po'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/copyliu/eva/po'
Making all in zh_CN
make[3]: Entering directory `/home/copyliu/eva/po/zh_CN'
cd ../.. && /bin/sh ./config.status po/zh_CN/Makefile
fast creating po/zh_CN/Makefile
config.pl: fast created 1 file(s).
make[3]: Leaving directory `/home/copyliu/eva/po/zh_CN'
make[3]: Entering directory `/home/copyliu/eva/po/zh_CN'
rm -f eva.gmo; /usr/bin/msgfmt -o eva.gmo ./eva.po
test ! -f eva.gmo || touch eva.gmo
make[3]: Leaving directory `/home/copyliu/eva/po/zh_CN'
make[2]: Leaving directory `/home/copyliu/eva/po'
Making all in src
make[2]: Entering directory `/home/copyliu/eva/src'
cd .. && \
  /bin/sh /home/copyliu/eva/admin/missing --run automake-1.6 --gnu  src/Makefile
cd .. && perl admin/am_edit src/Makefile.in
cd .. && /bin/sh ./config.status src/Makefile depfiles
fast creating src/Makefile
config.pl: fast created 1 file(s).
config.status: executing depfiles commands
make[2]: Leaving directory `/home/copyliu/eva/src'
make[2]: Entering directory `/home/copyliu/eva/src'
Making all in ui
make[3]: Entering directory `/home/copyliu/eva/src/ui'
cd ../.. && /bin/sh ./config.status src/ui/Makefile depfiles
fast creating src/ui/Makefile
config.pl: fast created 1 file(s).
config.status: executing depfiles commands
make[3]: Leaving directory `/home/copyliu/eva/src/ui'
make[3]: Entering directory `/home/copyliu/eva/src/ui'
source='evachatuibase.cpp' object='evachatuibase.lo' libtool=yes \
depfile='.deps/evachatuibase.Plo' tmpdepfile='.deps/evachatuibase.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/api -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -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  -c -o evachatuibase.lo `test -f 'evachatuibase.cpp' || echo './'`evachatuibase.cpp
In file included from evachatuibase.cpp:24:
evafilepanel.h:25:24: ktabwidget.h: No such file or directory
In file included from evachatuibase.cpp:24:
evafilepanel.h:31: parse error before `{' token
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: non-member function `const char* className()' cannot have `
   const' method qualifier
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h: In function `QObject* qObject()':
evafilepanel.h:32: invalid use of `this' in non-member function
evafilepanel.h: At global scope:
evafilepanel.h:32: parse error before `private'
evafilepanel.h:39: parse error before `protected'
evachatuibase.cpp: In constructor `EvaChatUIBase::EvaChatUIBase(QWidget*, const
   char*, unsigned int)':
evachatuibase.cpp:64: `BesideIcon' is not a member of type `QToolButton'
evachatuibase.cpp:217: invalid use of undefined type `class EvaFilePanel'
evachatuibase.h:39: forward declaration of `class EvaFilePanel'
evachatuibase.cpp:218: no matching function for call to `QVBoxLayout::addWidget
   (EvaFilePanel*&)'
/usr/lib/qt-3.1/include/qlayout.h:379: candidates are: void
   QBoxLayout::addWidget(QWidget*, int = 0, int = 0)
evachatuibase.cpp: At top level:
evafilepanel.h:32: warning: `bool qt_static_property(QObject*, int, int,
   QVariant*)' declared `static' but never defined
evafilepanel.h:32: warning: `QMetaObject* staticMetaObject()' declared `static'
   but never defined
evafilepanel.h:32: warning: `QString tr(const char*, const char*)' declared
   `static' but never defined
evafilepanel.h:32: warning: `QString trUtf8(const char*, const char*)' declared
   `static' but never defined
make[3]: *** [evachatuibase.lo] Error 1
make[3]: Leaving directory `/home/copyliu/eva/src/ui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/copyliu/eva/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/copyliu/eva'
make: *** [all] Error 2
[/code:1]
发表于 2006-6-9 13:22:00 | 显示全部楼层
因为我没有加入qt,kde 的版本限制, 使用的是默认值,所以你configure可以通过。

下一个版本, 我加上限制, rh9 肯定不能configure通过了。

只所以不支持 rh9, 是因为 rh 9 使用的类库已经非常陈旧了。 很多特性那是都还没有出现。 所以放弃支持了。 不过你要是熟悉, 也可以自己改代码。 根据编译提示,最多1, 2天就可以搞定。
回复

使用道具 举报

发表于 2006-6-9 15:44:02 | 显示全部楼层
因为硬件原因, 我没有办法安装内核在2.6以上的版本?有这样的硬件?
lspci  -vv 看列出来看下。。
回复

使用道具 举报

 楼主| 发表于 2006-6-10 10:15:36 | 显示全部楼层
Ambient MD5628D-L-C Modem
这支东西的驱动只能在2.4内核里编译成功

没有了这支东西就不能上网,,,所以只能忍痛把SUSE格了装RH9
回复

使用道具 举报

 楼主| 发表于 2006-6-10 10:17:10 | 显示全部楼层
[quote:638b49ab69="yunfan"]因为我没有加入qt,kde 的版本限制, 使用的是默认值,所以你configure可以通过。

下一个版本, 我加上限制, rh9 肯定不能configure通过了。

只所以不支持 rh9, 是因为 rh 9 使用的类库已经非常陈旧了。 很多特性那是都还没有出现。 所以放弃支持了。 不过你要是熟悉, 也可以自己改代码。 根据编译提示,最多1, 2天就可以搞定。[/quote]


既然是类库太旧而导致无法编译EVA,那么把类库升级了呢?
可行么?怎样做呢?
回复

使用道具 举报

发表于 2006-6-10 10:46:45 | 显示全部楼层
可行, 只是如果真的这么做, 其复杂程度,要远大于重新安装个FC系列版本。
回复

使用道具 举报

发表于 2006-6-10 10:50:32 | 显示全部楼层
你可以google一下, 或者直接去redhat官方网站看看, 似乎有rh9编译好的rpm包。 你试试看能不能升级。 不过,估计需要安装不少rpm包。
回复

使用道具 举报

发表于 2006-6-11 17:39:21 | 显示全部楼层
我试了。。AS4下make个 2.4的内核,可以起来。。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-12-4 01:27 , Processed in 0.064704 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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