I'm trying to compile a GNU app in OSX, but it's giving me this error. I'm new to this whole thing so sorry if this is kinda obvious, but can someone tell me what GLIB is and how do I get it or configure my setup so that it knows where to find GLIB.
Here's what I've got:
./configure ppc
results in:
loading cache ./config.cache
checking host system type... powerpc-unknown-none
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E -traditional-cpp
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether we are using GNU make... yes
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for cc option to accept ANSI C... none needed
checking whether sys/types.h defines makedev... yes
checking for working const... yes
checking build system type... powerpc-unknown-none
checking for ar... ar
checking for netscape... no
checking for arena... no
checking for Mosaic... no
checking for chimera... no
checking for ANSI C header files... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... no
checking for malloc.h... no
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... no
checking whether NLS is requested... yes
checking for libintl.h... no
checking whether catgets can be used... no
found xgettext program is not GNU xgettext; ignore it
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Test for GLIB failed. MC requires GLIB.
Any and all help greatly appreciated.
