I think it may be odd to write first article which theme is Gentoo... which is special situation.
My new MacBook Air has essential *nix shell environment, which is preinstalled. :) I also installed "homebrew" to retrive more benefit of shell environment. But there is also problems. Some of commands (like readlink -f) behave differently from Linux's one. And there are less package (called formula in homebrew) than popular linux distros, I felt.
There are two ways to install on mac:
- Install real Linux (from kernel to elf binary) on VM or BootCamp
- +: More packages
- +: Easy to install
- +: Seperated filesystem (Safer)
- +: Customizable kernel
- -: Requires >=1G RAM assignment for VM (Reffer this post)
- -: Cannot use any OS X functions (like commands, guis)
- +: Small foot print (no constant RAM)
- +: Unified shell environment (both OS X and Linux)
- -: Less tested
- -: Complex installation procedure (without stage3 tarball)
Installing binutils-apple package fails with latest Xcode (4.3.1). Prebuilt "bootstrap" environment lacks of newer binutils-apple package (*.ebuild) which is in the current prefixed portage tree.
In addition, doing "emerge --sync" first caused some other emergings failed.
Sync your repo partially before emerge.
dev-vcs/git-220.127.116.11::gentoo, ebuild scheduled for merge) depends on (dev-lang/python-2.7.2-r3::gentoo, ebuild scheduled for merge) (buildtime) (virtual/libintl-0::gentoo, ebuild scheduled for merge) (buildtime) (sys-devel/gettext-0.18.1.1-r2::gentoo, ebuild scheduled for merge) (runtime) (dev-vcs/git-18.104.22.168::gentoo, ebuild scheduled for merge) (runtime) It might be possible to break this cycle by applying any of the following changes: - sys-devel/gettext-0.18.1.1-r2 (Change USE: -git) - dev-vcs/git-22.214.171.124 (Change USE: -python)
$ USE=-git emerge -1 gettext
(2012/04/15: Fixed Xcode version was wrong (was 3.1, 4.3.1 is correct). gist code not working correctly and I'll fix lator.)
Kon-nichi-wa! My name is yuya_presto. Expected web engineer in Shibuya, Tokyo.
I was so much calmed because I had fixed my new house in Tokyo.
It is away a little from office, but I wanted to live in 'Shitamachi'.
Somehow, I created new blog while preparing for my new life.
Anyway, this post is for testing.
This blog is mainly for translating my blog in Japanese (http://ypresto.hatenablog.jp/), check it out if you are better at Japanese.
I'll start blogging soon. Stay tuned! :)
(Wow, this WYSIWYG editor on hatena blog is pretty good!)