2011年9月12日月曜日

ptc-patch 4.6.1のエラーについて

【たいとる】
psplibrariesの023-zziplibでビルドエラーになる件について
【原因】
https://bugs.archlinux.org/task/24147
gcc-4.6でのバグか何からしい。
【対処法】
とりあえずエラーで止まるまでpsplibraries.shを実行する。
psplibraries/build/zziplibへカレントディレクトリを移動後、以下の通りにコマンドを実行する。

sed -i 's/--export-dynamic/-export-dynamic/g' ./configure
LDFLAGS="-L$(psp-config --pspsdk-path)/lib" LIBS="-lc -lpspuser" ./configure --host=psp --prefix=$(psp-config --psp-prefix)
make clean
make
make install

【たいとる】
Cygwinでのインストールについて
【原因】
Cygwinだと何故かsvnで取ってくるpsptoolchainに対して正常にパッチが当たらない
【対処法】
以下のコマンドをテキストファイルにして、実行権限付けて実行すればとりあえず行けた。
ただし、psplinkはインストールできない。
psptoolchain-gcc4.6.1-custom.patchと同じディレクトリにて実行してください。


rm -r -f psptoolchain
svn checkout http://psp.jim.sh/svn/psp/trunk/psptoolchain
cd psptoolchain
patch -tp1 < ../psptoolchain-gcc4.6.1-custom.patch
mv ./depends/check-ncurses.sh ./depends/check-ncurses.sh.bak
find ./scripts/*.sh -exec sed -i -e 's%ftp://ftp\.gnu\.org/pub/gnu%http://core\.ring\.gr\.jp/pub/GNU%g' {} \;
chmod 755 scripts/* depends/*
export WANT_AUTOMAKE=1.9
./toolchain.sh

【備考】
他の開発環境をインストールしてある環境でのCygwinでは、インストールがうまくいかないことがある。getopt.h等が干渉してしまう模様


【たいとる】
6.60PROをptc-patchで作ったgcc-4.6.1環境でビルドするとうまく動かない
【原因・対処法】
ちょっとわからないです。すいません。

4 件のコメント:

  1. In addition to the, weight reducers may also be
    an incredible help. We have other medical disorder.
    Phen375 can be a unique product formulated through the medical manufacturer burning around the fat and suppress the appetite.


    my website; buy phen375

    返信削除
  2. I blog often and I truly thank you for your content.
    This article has really peaked my interest. I'm going to bookmark your blog and keep checking for new details about once per week. I subscribed to your RSS feed as well.

    Look into my webpage :: weight loss products

    返信削除
  3. service to entice your desires. There are lot of Websites which might be providing Amateur Video Chat Services.
    So, it's an best way of earning a little extra money while loving Amateur Video Chat fun.

    My web-site; http://www.Adultstreamtube.com

    返信削除
  4. So much so that уou сan еven lose 3-5 lbs juѕt sittіng
    on the sofa оr whіle working аt yοur ԁеsκ, withоut moving an іnch.
    Thе absоrption of сarbohydrates is гeducеd by thе bгоwn seаweed еxtrаct.

    It's also advisable to maintain it from the reach of children, a breastfeeding mother or perhaps a mother must also avoid using the drug.

    Here is my webpage :: meratolreviewsblog.com

    返信削除