wonderwarp.
Gentoo for MacOS Project Wiki

[ PortingTips ]


Other Languages

What to do to make things compile


If the host is not recognized: Update config.sub and config.guess Files

Check out the gnuconfig eclass. You need to inherit gnuconfig and then add gnuconfig_update to your ebuild. Preferably after it is unpacked and before ./configure is run.

Ranlib problems: Run Ranlib Manually

This is easy:

ranlib <file that gave you the error>
Hopefully ranlib will be automatically run in a future portage release so this will not need to be done.

Errors with sed: “sed: lstat: No such file or directory”


This error can happen if sed is not gsed. Please run:

emerge sed
And check to make sure that you have the line:
alias sed=gsed
in your /etc/profile-file.

More information is available at the MetaPkg.org WiKi: http://www.metapkg.org/wiki/