I have solved the last problem but now appears new:
juan-miguel-ramirezs-imac-g5:~/glib yomizmo$ sudo port install cairo
+pdf boehmgc gtkmm intltool libxslt lcms popt poppler boost gnome-vfs
libgnomeprintui automake autoconf subversion
Skipping org.macports.activate (cairo +pdf) since this port is already active
---> Cleaning cairo
Skipping org.macports.activate (boehmgc +darwin_8) since this port is already active
---> Cleaning boehmgc
---> Fetching glibmm
---> Verifying checksum(s) for glibmm
---> Extracting glibmm
---> Configuring glibmm
---> Building glibmm with target all
---> Staging glibmm into destroot
---> Installing glibmm 2.14.0_0
---> Activating glibmm 2.14.0_0
---> Cleaning glibmm
---> Fetching atk
---> Verifying checksum(s) for atk
---> Extracting atk
---> Configuring atk
---> Building atk with target all
---> Staging atk into destroot
---> Installing atk 1.20.0_1
---> Activating atk 1.20.0_1
---> Cleaning atk
---> Fetching pango
---> Verifying checksum(s) for pango
---> Extracting pango
---> Applying patches to pango
---> Configuring pango
---> Building pango with target all
---> Staging pango into destroot
---> Installing pango 1.18.3_0
---> Activating pango 1.18.3_0
---> Cleaning pango
---> Fetching gtk2
---> Verifying checksum(s) for gtk2
---> Extracting gtk2
---> Configuring gtk2
---> Building gtk2 with target all
---> Staging gtk2 into destroot
---> Installing gtk2 2.12.2_0+x11
---> Activating gtk2 2.12.2_0+x11
---> Cleaning gtk2
---> Fetching gtkmm
---> Verifying checksum(s) for gtkmm
---> Extracting gtkmm
---> Configuring gtkmm
---> Building gtkmm with target all
---> Staging gtkmm into destroot
---> Installing gtkmm 2.12.0_0
---> Activating gtkmm 2.12.0_0
---> Cleaning gtkmm
Skipping org.macports.activate (intltool ) since this port is already active
---> Cleaning intltool
Skipping org.macports.activate (libxslt ) since this port is already active
---> Cleaning libxslt
Skipping org.macports.activate (lcms ) since this port is already active
---> Cleaning lcms
Skipping org.macports.activate (popt ) since this port is already active
---> Cleaning popt
---> Fetching poppler
---> Verifying checksum(s) for poppler
---> Extracting poppler
---> Configuring poppler
---> Building poppler with target all
---> Staging poppler into destroot
---> Installing poppler 0.6.3_0
---> Activating poppler 0.6.3_0
---> Cleaning poppler
Skipping org.macports.activate (boost ) since this port is already active
---> Cleaning boost
---> Building dbus-glib with target all
---> Staging dbus-glib into destroot
---> Installing dbus-glib 0.74_0
---> Activating dbus-glib 0.74_0
---> Cleaning dbus-glib
---> Fetching libidl
---> Attempting to fetch libIDL-0.8.9.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/libIDL/0.8/
---> Verifying checksum(s) for libidl
---> Extracting libidl
---> Configuring libidl
---> Building libidl with target all
---> Staging libidl into destroot
---> Installing libidl 0.8.9_0
---> Activating libidl 0.8.9_0
---> Cleaning libidl
---> Fetching orbit2
---> Attempting to fetch ORBit2-2.14.10.tar.bz2 from
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/ORBit2/2.14/
---> Verifying checksum(s) for orbit2
---> Extracting orbit2
---> Configuring orbit2
---> Building orbit2 with target all
---> Staging orbit2 into destroot
---> Installing orbit2 2.14.10_2
---> Activating orbit2 2.14.10_2
---> Cleaning orbit2
---> Fetching gconf
---> Attempting to fetch GConf-2.20.1.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/GConf/2.20/
---> Verifying checksum(s) for gconf
---> Extracting gconf
---> Configuring gconf
---> Building gconf with target all
---> Staging gconf into destroot
---> Installing gconf 2.20.1_0
---> Activating gconf 2.20.1_0
---> Cleaning gconf
---> Fetching gnome-mime-data
---> Attempting to fetch gnome-mime-data-2.18.0.tar.bz2 from
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gnome-mime-data/2.18/
---> Verifying checksum(s) for gnome-mime-data
---> Extracting gnome-mime-data
---> Configuring gnome-mime-data
---> Building gnome-mime-data with target all
---> Staging gnome-mime-data into destroot
---> Installing gnome-mime-data 2.18.0_3
---> Activating gnome-mime-data 2.18.0_3
---> Cleaning gnome-mime-data
---> Fetching howl
---> Attempting to fetch howl-1.0.0.tar.gz from http://www.porchdogsoft.com/download/
---> Verifying checksum(s) for howl
---> Extracting howl
---> Applying patches to howl
---> Configuring howl
---> Building howl with target all
---> Staging howl into destroot
---> Installing howl 1.0.0_0
---> Activating howl 1.0.0_0
---> Cleaning howl
---> Fetching openssl
---> Attempting to fetch openssl-0.9.8g.tar.gz from http://www.openssl.org/source/
---> Verifying checksum(s) for openssl
---> Extracting openssl
---> Applying patches to openssl
---> Configuring openssl
---> Building openssl with target all
---> Staging openssl into destroot
---> Installing openssl 0.9.8g_0
---> Activating openssl 0.9.8g_0
---> Cleaning openssl
---> Fetching neon
---> Attempting to fetch neon-0.26.4.tar.gz from http://www.webdav.org/neon/
---> Verifying checksum(s) for neon
---> Extracting neon
---> Configuring neon
---> Building neon with target all
---> Staging neon into destroot
---> Installing neon 0.26.4_0
---> Activating neon 0.26.4_0
---> Cleaning neon
---> Fetching gnome-vfs
---> Attempting to fetch gnome-vfs-2.20.0.tar.bz2 from
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gnome-vfs/2.20/
---> Verifying checksum(s) for gnome-vfs
---> Extracting gnome-vfs
---> Configuring gnome-vfs
---> Building gnome-vfs with target all
---> Staging gnome-vfs into destroot
---> Installing gnome-vfs 2.20.0_1
---> Activating gnome-vfs 2.20.0_1
---> Cleaning gnome-vfs
---> Fetching p5-pathtools
---> Attempting to fetch PathTools-3.25.tar.gz from
http://ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/../../authors/id/K/KW/KWILLIAMS/
---> Verifying checksum(s) for p5-pathtools
---> Extracting p5-pathtools
---> Configuring p5-pathtools
---> Building p5-pathtools with target all
---> Staging p5-pathtools into destroot
You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port
---> Installing p5-pathtools 3.25_0
---> Activating p5-pathtools 3.25_0
Error: Target org.macports.activate returned: Image error:
/opt/local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs is being used
by the active perl5.8 port. Please deactivate this port first, or use
the -f flag to force the activation.
Error: The following dependencies failed to build: gnome-icon-theme
icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple
p5-test-simple p5-test-harness p5-xml-namespacesupport p5-xml-sax
libgnomecanvas gail libart_lgpl libglade2 libgnomeprint bison m4
libgnomecups
Error: Status 1 encountered during processing.
On 2007-December-21 , at 14:49 , Juan Miguel Ramirez wrote:
> On 21/12/2007, jiho <jo.irisson@...400...> wrote:
> On 2007-December-21 , at 13:59 , Juan Miguel Ramirez wrote:
> > Another error:
> >
> > juan-miguel-ramirezs-imac-g5:/opt/local/bin yomizmo$ sudo ./port
> > deactivate glib2 @2.14.4_1
> > ---> Deactivating glib2 2.14.4_1
> > juan-miguel-ramirezs-imac-g5:/opt/local/bin yomizmo$ sudo ./port
> > activate glib2 @ 2.14.2_0
> > ---> Activating glib2 2.14.2_0
> > Error: port activate failed: Registry error: glib2 2.14.2_0 not
> > registered as installed.
>
> The error comes from that above. The advice in the bug report was to
> reinstall an old version of glib2 *if you had one*. When MacPorts
> installs a new version of some package it does not uninstall previous
> versions, it just deactivates them and activates the new one. Hence if
> you have a problem with the recent version you can always go back to
> the previous on. But if you are on a fresh install, you do not have a
> previous version, hence nowhere to go back to.
> port installed glib2
> should tell you wether you have alternative versions installed. For
> example I have:
> $ port installed glib2
> The following ports are currently installed:
> glib2 @2.14.3_0 (active)
> Which means I only have one version of glib2 and that it is currently
> active. If I had several you would have seen:
> $ port installed glib2
> The following ports are currently installed:
> glib2 @ 2.14.2_0
> glib2 @2.14.3_0 (active)
> for example. I would have deactivated version 2.14.3_0 and activated
> 2.14.2_0.
>
> So back to what you did: you deactivated glib2 but did not reactivate
> another version, meaning that you left your system without glib and
> the rest of the errors are caused by this.
>
> There were some other advice in the thread on how to fix the problem I
> think. You may want to look into them now.
>
> I have only glib2 @2.14.4_1
> I have to install an old glib without that bug but it doesn't seem
> to be very easy( i'm trying anyway ;) )
Well I am not sure that would evn help: MacPorts uses MacPorts
installed software so I don't think that installing glib outside of
MacPorts would help.
You could install it via macports though:
- port edit glib2
- fetch the address where glib is downloaded and go there, download
the previous release
- md5 previous-glib-release.tar.gz
- change the port file to match the old version number and the md5
checksum
- sudo port install glib2
But skimming the bug report in MacPorts' Trac there seem to be other
solutions.
> BTW, did you update macports, maybe a fix is in already:
> sudo port sync
> sudo port selfupdate
>
> No, I tried before :(
OK :(
JiHO
---
http://jo.irisson.free.fr/