building irssi failing on 10.6.1

Noah noah-list at enabled.com
Thu Sep 24 10:34:35 PDT 2009


HI there,

I just installed OSX 10.6.1 and having problems building irssi
It complains about needed glib2 which is built. I am not sure what the 
Best next steps are.  Plus there are warnings at the beginning that are 
recently introduced.  I tried to use the suggested command and things 
have failed.  The output is below.

unknown-10-101-31-224 10:29:35 ~ $ sudo port install irssi
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even 
though installed variants "" do not match "+darwin_10". Use 'upgrade 
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since python_select 0.3_0 >= python_select 
0.3_0, even though installed variants "+darwin_9" do not match 
"+darwin_10". Use 'upgrade --enforce-variants' to switch to the 
requested variants.
Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0, 
even though installed variants "" do not match "+darwin". Use 'upgrade 
--enforce-variants' to switch to the requested variants.
--->  Computing dependencies for irssi
--->  Configuring irssi
Error: Target org.macports.configure returned: configure failure: shell 
command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_irssi/work/irssi-0.8.14" 
&& ./configure --prefix=/opt/local --without-socks --without-bot 
--with-proxy --with-modules --enable-ipv6 --enable-ssl --with-perl=no 
--with-glib-prefix=/opt/local --mandir=/opt/local/share/man " returned 
error 1
Command output: checking for regex.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for socket... yes
checking for inet_addr... yes
checking for socklen_t... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of off_t... 8
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log 
for the
*** exact error that occured. This usually means GLIB is incorrectly 
installed.
*** trying without -lgmodule
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log 
for the
*** exact error that occured. This usually means GLIB is incorrectly 
installed.

*** 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.

Error: Status 1 encountered during processing.
unknown-10-101-31-224 10:30:15 ~ $


unknown-10-101-31-224 10:33:31 ~ $ sudo port upgrade --enforce-variants
Can't map the URL 'file://.' to a port description file ("Could not find 
Portfile in /Users/noah").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
(you might also see this message if a pseudo-port such as
outdated or installed expands to no ports).
unknown-10-101-31-224 10:33:34 ~ $


More information about the macports-users mailing list