mono-addins and pango

Bart Masschelein masschel at gmail.com
Fri Oct 31 14:32:43 PDT 2008


First of all, thanks to nox, for upgrading mono-addins to version 0.3.1!

>
>> A while ago I made a request to upgrade mono-addins from version  
>> 0.3 to version 0.3.1, in order to be able to compile and run  
>> MonoDevelop, without nasty errors at start-up. I configured this  
>> myself, and uploaded a patch to the list. So, for me it is solved,  
>> but maybe others might be interested as well. After I saw the port  
>> was not upgraded yet, I still tried 'upgrade mono-addins', and it  
>> tried to upgrade some other ports as well, amongst which pango,  
>> however unsuccesfully. This is the error I got, during configure:
>>
>> checking for GLIB... configure: error:
>> *** Glib 2.17.3 or better is required. The latest version of
>> *** Glib is always available from ftp://ftp.gtk.org/.
>>
>> I checked, and I have glib2 @2.18.1_0+darwin_9, and it is active. I  
>> tried to install glib2-devel @2.17.7_0+darwin_9 as well, but then  
>> it gave me trouble because I had to deactivate the glib2 first. I  
>> tried this, but to no avail: I got the same error. I switched back  
>> to glib2 after that.
>
> You say it is pango giving the above error? I'd love to see the  
> complete debug log of that. To get it, you'd do this:

Well, I assumed it was pango, based on the following output:

[Users/masschel] > upgrade mono-addins
--->  Fetching mono
--->  Attempting to fetch mono-2.0.1.tar.bz2 from http://www.go-mono.com/sources/mono/
--->  Verifying checksum(s) for mono
--->  Extracting mono
--->  Applying patches to mono
--->  Configuring mono
--->  Building mono with target all
--->  Staging mono into destroot
--->  Deactivating mono 2.0_0+darwin_9
--->  Installing mono 2.0.1_0+darwin_9
--->  Activating mono 2.0.1_0+darwin_9
--->  Cleaning mono
--->  Fetching pango
--->  Attempting to fetch pango-1.22.2.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/pango/1.22
--->  Verifying checksum(s) for pango
--->  Extracting pango
--->  Applying patches to pango
--->  Configuring pango
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_x11_pango/work/pango-1.22.2" && ./ 
configure --prefix=/opt/local --x-includes=/usr/X11R6/include --x- 
libraries=/usr/X11R6/lib --enable-static --enable-cairo " returned  
error 1
Command output: appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686- 
apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)  
is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686- 
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686- 
apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.5.0 dyld
(cached) (cached) checking how to hardcode library paths into  
programs... immediate
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for perl5... no
checking for perl... perl
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for FONTCONFIG... no
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking for CAIRO... no
checking for GLIB... configure: error:
*** Glib 2.17.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

> Then attach pango.txt.bz2 from your desktop to your reply.

Here you go, hope it is any help to you:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pango.txt.bz2
Type: application/bzip2
Size: 16991 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081031/b0cd54ab/attachment.bin>
-------------- next part --------------



When I try upgrading now, using sudo port upgrade mono-addins, I get  
the following:

--->  Activating giflib 4.1.6_0
Error: Activating giflib 4.1.6_0 failed: Image error: /opt/local/bin/ 
gif2epsn is being used by the active libungif port.  Please deactivate  
this port first, or use the -f flag to force the activation.
--->  Activating pango 1.22.2_0
Error: Activating pango 1.22.2_0 failed: Image error: Another version  
of this port (pango @1.22.0_0) is already active.
--->  Activating pango 1.22.2_0
Error: Activating pango 1.22.2_0 failed: Image error: Another version  
of this port (pango @1.22.0_0) is already active.

About the first error, is it in general ok to force the activation? To  
me it sounds not recommendable. The second error is more weird. After  
using your commands (sudo port clean pango; sudo port -d install pango  
2>&1 | tee ~/Desktop/pango.txt; bzip2 ~/Desktop/pango.txt ), it went  
through, but it was not able to activate. It should automatically  
desactivate the old and install the new one, no? And what is the  
difference between my install and your commands? You only put -d,  
which I assume is debug. Does -d do something else?

Could all of this have to do with my attempt to upgrade mono-addins  
myself, altering my local repository. I followed the guidelines of  
MacPorts, and everything seemed to go as expected... Any ideas?

Bart


More information about the macports-users mailing list