sejishikong 发表于 2009-4-15 07:52:07

对了,我不知道那个rm的解码器需要在哪个环境下才行。我没试过。

jiangtao9999 发表于 2009-4-18 22:57:11

想知道你编译这些 rpm ,需要不需要打什么特殊的补丁?
还是直接编译就行了。我现在已经有一个基础的环境了,不过先需要升级下基础的东西……

sejishikong 发表于 2009-4-19 11:39:48

一般不需要,不过有部分需要,根据情况。

jiangtao9999 发表于 2009-4-19 12:09:59

不全?bash-3.2# rpm -Uvh *rpm --root=/mgc-all-rpm-root
error: Failed dependencies:
      python-reportlab is needed by hpijs-2.7.12-1mgc.mips64el
      python-imaging is needed by hplip-2.7.12-1mgc.mips64el
      PyQt is needed by hplip-gui-2.7.12-1mgc.mips64el
      perl(XML::Simple) is needed by net-snmp-perl-5.4-2mgc.mips64el
      libc.so.6(20000007:)(64bit) is needed by nx-3.0.0-2mgc.mips64el
      libpng12.so.0(20000007:)(64bit) is needed by nx-3.0.0-2mgc.mips64el
      perl(IPC::Run) >= 0.79 is needed by perl-CPANPLUS-0.84-20.mips64el
      perl(LWP) is needed by perl-XML-Parser-2.34-4mgc.mips64el
      dejavu-lgc-fonts is needed by rrdtool-1.3-0.11.beta4.mips64el
bash-3.2# 这些貌似都不是太重要的东西吧?

jiangtao9999 发表于 2009-4-19 12:51:33

rpm 的设置怎么改?似乎有点问题……

sejishikong 发表于 2009-4-19 13:15:07

那几个依赖可以先不管。
rpm的设置在/usr/lib/rpm里啊。
这是没有针对loongson优化的。

jiangtao9999 发表于 2009-4-19 15:03:39

优化以后再说,我先升级编译环境……
:mrgreen:
glibc 都到 2.9 了

jiangtao9999 发表于 2009-4-19 15:04:33

原帖由 sejishikong 于 2009-4-19 01:15 PM 发表 http://www.linuxfans.org/bbs/images/common/back.gif
那几个依赖可以先不管。
rpm的设置在/usr/lib/rpm里啊。
这是没有针对loongson优化的。
貌似 rpm 编译 gcc 的时候不能识别出当前系统是 mips64el ,还在编译 mipsel 的。

jiangtao9999 发表于 2009-4-19 15:12:45

Current release series: GCC 4.4.0
看来 GCC 4.4 不远了。

jiangtao9999 发表于 2009-4-19 17:14:42

:shock:
我怎么总是见到bus error??!!
刚编译 gcc 就这样。我还没弄别的呢……

sejishikong 发表于 2009-4-19 19:58:52

rpm?如果是打包rpm的话,gcc和glibc的release里不能有数字以外的其它字符。

jiangtao9999 发表于 2009-4-19 20:35:28

现在我遇到一个奇怪的问题,安装完 chroot 过去,似乎 %configure 宏工作有问题啊……

jiangtao9999 发表于 2009-4-19 20:36:52

好像是 /usr/lib/rpm 里面的东西没有作用。

jiangtao9999 发表于 2009-4-19 21:41:36

+ CXXFLAGS='-O2 -g'
+ export CXXFLAGS
+ FFLAGS='-O2 -g'
+ export FFLAGS
+ ./configure mipsel-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir
=/usr/bin --datadir=/usr/share --libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info
configure: WARNING: you should use --build, --host, --target
checking build system type... mipsel-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
这个就是 %configure 宏的结果……

sejishikong 发表于 2009-4-20 14:09:52

你看下macros文件,里面的configure和build/host/target的定义有没有问题。
页: 1 [2] 3 4
查看完整版本: 打算尝试 mgc for 龙芯