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-22.214.171.124::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-126.96.36.199::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-188.8.131.52 (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.)