install git-core on Macports その2(p5-svn-simpleがビルドできたよ!!)
↓で最後うまくいかず、git-svnが入らなかった件
http://d.hatena.ne.jp/Hayato/20090425#p1
原因は、/usr/libのライブラリが参照されてたのでビルドがとおらないこと。その理由はDYLD_LIBRARY_PATH=/opt/local/libがsudo時に引き継がれてなかったこと。
なので、sudo env DYLD_LIBRARY_PATHしてインストール。
一般ユーザで利用するときは.bashrcで参照してるから良いでしょう。
(10927)> sudo env DYLD_LIBRARY_PATH=/opt/local/lib port install p5-svn-simple ---> Fetching p5-svn-simple ---> Attempting to fetch SVN-Simple-0.27.tar.gz from http://cpan.perl.org/authors/id/C/CL/CLKAO/ ---> Verifying checksum(s) for p5-svn-simple ---> Extracting p5-svn-simple ---> Configuring p5-svn-simple ---> Building p5-svn-simple ---> Staging p5-svn-simple into destroot ---> Installing p5-svn-simple @0.27_0 ---> Activating p5-svn-simple @0.27_0 ---> Cleaning p5-svn-simple
おk.
(10942)> sudo port install -f git-core +bash_completion +doc +gitweb +svn ---> Fetching git-core ---> Verifying checksum(s) for git-core ---> Extracting git-core ---> Applying patches to git-core ---> Configuring git-core ---> Building git-core ---> Staging git-core into destroot ---> Installing git-core @1.6.2.4_0+bash_completion+doc+gitweb+svn ---> Activating git-core @1.6.2.4_0+bash_completion+doc+gitweb+svn ---> Cleaning git-core (10943)> port installed git-core The following ports are currently installed: git-core @1.6.2.4_0+bash_completion+doc+gitweb+svn (active)
よしよし。
でも、Macportsってそういうもんじゃないよねえ?