Aug 082011
 

So, you can’t install gettext?
Here’s a hack to get you past it.
do your
$ emerge –oneshot gettext

When it’s all unpacked, Ctrl+z (this will pause the job), go to the work directory, something like this:
/Users/you/Gentoo/var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1

From there, go in here:
cd gettext-tools/gnulib-lib
and in here..

edit “stpncpy.c” with your favorite text editor, find
“# define __stpncpy stpncpy”
And add // at the beginning of the line, like so:
“//# define __stpncpy stpncpy”

Save and quit, then type “fg 1″ and return, this will resume the job.

This hack bypasses the stpncpy problem. Someone more serious than me needs to create a new ebuild for this though…

May 152009
 

Just a link to a page.. Got me started with barely any trouble (just make sure you know how to read a .emacs file – I learned on the fly on his page, it wasn’t too tricky).

http://www.david-steuber.com/Lisp/OSX/

Apr 172009
 

Taken straight from this blog

in a terminal.. First do a ‘locate mysql_config’ and then replace the path in the following command with where that file is.

$ sudo gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config
Building native extensions. This could take a while…
Successfully installed mysql-2.7
1 gem installed