[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gentoojp-users 909] Re: ebuildファイル
- Subject: [gentoojp-users 909] Re: ebuildファイル
- From: 田中 元<BYH01337@xxxxxxxxxxx>
- Date: Fri, 5 Dec 2003 21:16:21 +0900
> > ちなみに、/usr/portage以下にすでに存在するx86用のcloopに関する
> > ebuildファイルを編集することも考えたのですが、これはsrc_compile()
> > やソースファイルををppc用に書き換えなければならないように思いまし
> > て、手をつけておりません。
>
> たぶんこっちのほうが楽なように思いますが……。
>
そうですか。では先にこちらを試してみます。
/usr/local/portage/sys-apps/cloopを作成し、/usr/portage/sys-apps/
cloop/からcloop-1.02.ebuildとfiles/をコピーしました。nano -w として
cloop-1.02を編集しながらebuild cloop-1.02.ebuild compileを行って
みました(fetch, unpackまでは異常無さそうです)。モニタに出力される
おしまいのほうは以下に示すエラーになりました。
...
cc1: invalid option `preffered -stack -boundary=2'
cc1: invalid option `arch=i386'
make: *** [compressed_loop.o] Error 1
make: *** Waiting for unfinished jobs....
cc1: invalid option `preffered -stack -boundary=2'
cc1: invalid option `arch=i386'
make: *** [compressed_loop.o] Error 1
!!! Error: sys-apps/cloop-1.02 failed.
!!! Function kernel-mod_src_compile, Line 156, Exitcodes 2
!!! (no error message)
src_compile(){}内にあるkernel-mod_src_compileをコメントアウト
してみましたら表示は
...
* /usr/src/linux is a symbolic linc
* Determining the real directory for a sources-2.4.22-ben2 kernel
*
* The kernel Makefile says that this is a 2.4.22-ben2 kernel
* but the source is in a directory for a sources-2.4.22-r2 kernel.
*
* This goes against the recommended Gentoo naming convention.
* Please rename your source directory `linux-2.4.22-ben2'
*
* Building for Linux 2.4.22-ben2 found in /usr/src/linux
というところで止まりました。これはコメントアウトしない場合でも表示
されるものです。
一応makeに取り掛かる段階まではいく模様ですからplease rename...
は気にしないでいいかと思いますし、そもそもppc版では(私の環境では)
/usr/srcにlinux-2.4.21-ppc-r2, ppc-sources-2.4.22-r2しか見当たり
ません。
どういったファイルを編集、あるいは用意する必要がありそうでしょうか。
# 別に、先に質問しましたgcloopについてもいろいろ試してみます。
--
田中 元 BYH01337@xxxxxxxxxxx