Sunday, June 26, 2011

irssi on Mac OS - Failed

1. Downloaded the lastest version of irssi tar gz

2. ./configure --build=x86_64-apple-darwin10.7.3 ARCHFLAGS="-arch x86_64"
*** If you don't have GLIB, you can get it from ftp://ftp.gtk.org/pub/glib/
*** We recommend you get the latest stable GLIB 2 version.
*** Compile and install it, and make sure pkg-config finds it,
*** by adding the path where the .pc file is located to PKG_CONFIG_PATH

configure: error: GLIB is required to build irssi.

3. Get the latest version of GLIB tar gz

4. ./configure --build=x86_64-apple-darwin10.7.3 ARCHFLAGS="-arch x86_64"
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see .
See `config.log' for more details

Get the latest version of pkg-config tar gz, same configure command as before.
configure: error: pkg-config and glib-2.0 not found, please set GLIB_CFLAGS and GLIB_LIBS to the correct values
Yay recursion. :(



Setting up environment variables is so complicated on a Mac.
Gave up.

No comments:

Post a Comment