開発環境設定 Xcode, macports, git, appenginelauncher, spotlight| mac
Xcode X11がないとだめとのことでXcodeを入れてみる
http://developer.apple.com/xcode/
itunesから、AppleIDを作成して・・・Xcode4をインストール
3.17GB
夜やろうとしたらダウンロードが遅すぎたので、早朝に、2時間ちょっとで完了しました。
アプリから install Xcodeを選択してインストール
Xcode Installer
Xcode 4 with Mac OS X and iOS SDKs
インストールが終わる頃に、CPUが80℃になってファンが飛行機のようになった・・・
インストールが終わってXcodeを終了したら落ち着いたけど。。。大丈夫かな?
http://www.macports.org/
macportsを入れるとportコマンドが使えるみたい。
MacPorts-2.0.1-10.7.Lion をダウンロード
展開して、MacPorts-2.0.1をインストール
Guideを見ながら
http://guide.macports.org/#installing.macports
2.6.2. Verify the configuration file
env PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
3.1.2. selfupdate
$ sudo port selfupdate Password: Warning: No index(es) found! Have you synced your source indexes? ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 2.0.1 installed, MacPorts base version 2.0.1 downloaded. ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated
indexがってwarningでてるけど
port list, port search
$ port search git-core git-core @1.7.6 (devel) A fast version control system
3.1.9. install
$ sudo port install git-core $ sudo port install git-core Password: ---> Computing dependencies for git-core ---> Dependencies to be installed: curl curl-ca-bundle perl5 perl5.12 perl5 perl5 libidn gettext expat libiconv gperf ncurses ncursesw openssl zlib pkgconfig glib2 autoconf help2man p5.12-locale-gettext m4 automake libtool p5.12-error python27 bzip2 db46 gdbm python_select readline sqlite3 rsync poppet ---> Fetching archive for perl5.12 ---> Attempting to fetch perl5.12-5.12.3_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/perl5.12 ---> Fetching perl5.12 ---> Attempting to fetch perl-5.12.3.tar.bz2 from http://distfiles.macports.org/perl5.12 ... ---> Verifying checksum(s) for perl5.12 ---> Extracting perl5.12 ---> Applying patches to perl5.12 ---> Configuring perl5.12 ---> Building perl5.12 ... ---> Verifying checksum(s) for perl5.12 ---> Extracting perl5.12 ---> Applying patches to perl5.12 ---> Configuring perl5.12 ---> Building perl5.12
かなりいろいろビルド、インストールされて。CPU95℃
やっと終了!
■ mdworker, spotlightはやはり気になったので、調べると検索必要ないので
システム環境設定 > Spotlight > プライバシー
opt, Developer,システム
を設定した。いい感じっぽい
$ git clone 999.999.999.999:/home/git/appengine/project project Cloning into project... xxx@xxx's password: remote: Counting objects: 35, done. remote: Compressing objects: 100% (34/34), done. remote: Total 35 (delta 10), reused 0 (delta 0) Receiving objects: 100% (35/35), 16.06 KiB, done. Resolving deltas: 100% (10/10), done.
git も正常!
appengine launcher
http://code.google.com/intl/ja-JP/appengine/downloads.html#Google_App_Engine_SDK_for_Python
これをアプリケーションの下にappenginelauncherディレクトリを作ってそこに入れた!
起動して、gitで落としたソースを選択して起動したらちゃんと動いた。
File > Add Existing Application で選択
- Prev ザ・ファイターと英国王のスピーチ | 目黒シネマ
- Next Git Tag
- Prev ザ・ファイターと英国王のスピーチ | 目黒シネマ
- Next システム起動音を消すには? for Lion | mac