building irssi failing on 10.6.1

Ryan Schmidt ryandesign at macports.org
Fri Sep 25 10:11:12 PDT 2009


On Sep 24, 2009, at 12:34, Noah wrote:

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

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

It works for me on 10.6.1. Did you upgrade to 10.6 from 10.5? If so,  
did you uninstall and reinstall all ports? See the Migration page:

http://trac.macports.org/wiki/Migration

If that's not it, then please send us irssi's config.log referred to  
in the error message.


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

Based on the statement that you have the darwin_9 variant of  
python_select installed, I am convinced you upgraded from Mac OS X  
10.5 and did not reinstall your ports on 10.6. You'll need to do that  
first.


> 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 ~ $

You didn't tell it which port you wanted to upgrade. The correct  
syntax would have been:

sudo port upgrade --enforce-variants python_select

for example to upgrade python_select. But ignore this and instead  
follow the steps on the Migration page above.





More information about the macports-users mailing list