Image error: /opt/local/bin/a2p is being used by the active perl5.8 port

Admin admin2 at enabled.com
Sun Dec 7 22:33:14 PST 2008


Hi there,

I am getting an image error: "Image error: /opt/local/bin/a2p is being 
used by the active perl5.8 port"

The error message explains the trouble well but I dont really understand 
how I can fix the problem.

I want the macports perl5.8 to be the active perl binary on my OSX machine

running 10.5 on a dual G5


here is the entire output from the build


--- snip ---

sh-3.2# port install wireshark
--->  Configuring expat
--->  Building expat with target all
--->  Staging expat into destroot
--->  Installing expat 2.0.1_0
--->  Activating expat 2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Attempting to fetch gperf-3.0.3.tar.gz from 
http://ftp.gnu.org/gnu/gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf with target all
--->  Staging gperf into destroot
--->  Installing gperf 3.0.3_0
--->  Activating gperf 3.0.3_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.12.tar.gz from 
http://ftp.gnu.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
--->  Staging libiconv into destroot
--->  Installing libiconv 1.12_0
--->  Activating libiconv 1.12_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Attempting to fetch ncurses-5.7.tar.gz from 
http://ftp.gnu.org/gnu/ncurses
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw with target all
--->  Staging ncursesw into destroot
--->  Installing ncursesw 5.7_0
--->  Activating ncursesw 5.7_0
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses with target all
--->  Staging ncurses into destroot
--->  Installing ncurses 5.7_0
--->  Activating ncurses 5.7_0
--->  Cleaning ncurses
--->  Fetching gettext
--->  Attempting to fetch gettext-0.17.tar.gz from 
http://ftp.gnu.org/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext with target all
--->  Staging gettext into destroot
--->  Installing gettext 0.17_3
--->  Activating gettext 0.17_3
--->  Cleaning gettext
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.23.tar.gz from 
http://pkg-config.freedesktop.org/releases/
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Configuring pkgconfig
--->  Building pkgconfig with target all
--->  Staging pkgconfig into destroot
--->  Installing pkgconfig 0.23_1
--->  Activating pkgconfig 0.23_1
--->  Cleaning pkgconfig
--->  Fetching glib2
--->  Attempting to fetch glib-2.18.3.tar.bz2 from 
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/glib/2.18/
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
--->  Building glib2 with target all
--->  Staging glib2 into destroot
--->  Installing glib2 2.18.3_0+darwin_9
--->  Activating glib2 2.18.3_0+darwin_9
--->  Cleaning glib2
--->  Fetching atk
--->  Attempting to fetch atk-1.24.0.tar.bz2 from 
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/atk/1.24/
--->  Verifying checksum(s) for atk
--->  Extracting atk
--->  Configuring atk
--->  Building atk with target all
--->  Staging atk into destroot
--->  Installing atk 1.24.0_0
--->  Activating atk 1.24.0_0
--->  Cleaning atk
--->  Building zlib with target all
--->  Staging zlib into destroot
--->  Installing zlib 1.2.3_2
--->  Activating zlib 1.2.3_2
--->  Cleaning zlib
--->  Fetching freetype
--->  Attempting to fetch freetype-2.3.7.tar.bz2 from 
http://download.savannah.gnu.org/releases/freetype/
--->  Attempting to fetch freetype-doc-2.3.7.tar.bz2 from 
http://download.savannah.gnu.org/releases/freetype/
--->  Verifying checksum(s) for freetype
--->  Extracting freetype
--->  Applying patches to freetype
--->  Configuring freetype
--->  Building freetype with target all
--->  Staging freetype into destroot
--->  Installing freetype 2.3.7_3+macosx
--->  Activating freetype 2.3.7_3+macosx
--->  Cleaning freetype
--->  Fetching fontconfig
--->  Attempting to fetch fontconfig-2.6.0.tar.gz from 
http://fontconfig.org/release/
--->  Verifying checksum(s) for fontconfig
--->  Extracting fontconfig
--->  Configuring fontconfig
--->  Building fontconfig with target all
--->  Staging fontconfig into destroot
--->  Installing fontconfig 2.6.0_0+macosx
--->  Activating fontconfig 2.6.0_0+macosx
--->  Cleaning fontconfig
--->  Fetching libpixman
--->  Attempting to fetch pixman-0.12.0.tar.bz2 from 
http://www.x.org/pub/individual/lib/
--->  Verifying checksum(s) for libpixman
--->  Extracting libpixman
--->  Configuring libpixman
--->  Building libpixman with target all
--->  Staging libpixman into destroot
--->  Installing libpixman 0.12.0_1
--->  Activating libpixman 0.12.0_1
--->  Cleaning libpixman
--->  Fetching libpng
--->  Attempting to fetch libpng-1.2.33.tar.bz2 from 
http://downloads.sourceforge.net/libpng
--->  Verifying checksum(s) for libpng
--->  Extracting libpng
--->  Configuring libpng
--->  Building libpng with target all
--->  Staging libpng into destroot
--->  Installing libpng 1.2.33_0
--->  Activating libpng 1.2.33_0
--->  Cleaning libpng
--->  Fetching render
--->  Verifying checksum(s) for render
--->  Extracting render
--->  Configuring render
--->  Building render with target all
--->  Staging render into destroot
--->  Installing render 0.9.2_0
--->  Activating render 0.9.2_0
--->  Cleaning render
--->  Fetching xorg-renderproto
--->  Attempting to fetch renderproto-0.9.3.tar.bz2 from 
http://www.x.org/pub/individual/proto/
--->  Verifying checksum(s) for xorg-renderproto
--->  Extracting xorg-renderproto
--->  Configuring xorg-renderproto
--->  Building xorg-renderproto with target all
--->  Staging xorg-renderproto into destroot
--->  Installing xorg-renderproto 0.9.3_0
--->  Activating xorg-renderproto 0.9.3_0
--->  Cleaning xorg-renderproto
--->  Fetching xrender
--->  Attempting to fetch libXrender-0.9.4.tar.bz2 from 
http://www.x.org/archive/individual/lib/
--->  Verifying checksum(s) for xrender
--->  Extracting xrender
--->  Configuring xrender
--->  Building xrender with target all
--->  Staging xrender into destroot
--->  Installing xrender 0.9.4_1+macosx
--->  Activating xrender 0.9.4_1+macosx
--->  Cleaning xrender
--->  Fetching cairo
--->  Attempting to fetch cairo-1.8.4.tar.gz from 
http://cairographics.org/releases/
--->  Verifying checksum(s) for cairo
--->  Extracting cairo
--->  Configuring cairo
--->  Building cairo with target all
--->  Staging cairo into destroot
--->  Installing cairo 1.8.4_0+macosx
--->  Activating cairo 1.8.4_0+macosx
--->  Cleaning cairo
--->  Fetching jpeg
--->  Attempting to fetch jpegsrc.v6b.tar.gz from http://www.ijg.org/files
--->  Attempting to fetch droppatch.tar.gz from http://sylvana.net/jpegcrop/
--->  Verifying checksum(s) for jpeg
--->  Extracting jpeg
--->  Applying patches to jpeg
--->  Configuring jpeg
--->  Building jpeg with target all
--->  Staging jpeg into destroot
--->  Installing jpeg 6b_3
--->  Activating jpeg 6b_3
--->  Cleaning jpeg
--->  Fetching jasper
--->  Attempting to fetch jasper-1.900.1.zip from 
http://www.ece.uvic.ca/~mdadams/jasper/software/
--->  Verifying checksum(s) for jasper
--->  Extracting jasper
--->  Applying patches to jasper
--->  Configuring jasper
--->  Building jasper with target all
--->  Staging jasper into destroot
--->  Installing jasper 1.900.1_2+darwin_9
--->  Activating jasper 1.900.1_2+darwin_9
--->  Cleaning jasper
--->  Fetching xorg-xproto
--->  Attempting to fetch xproto-7.0.14.tar.bz2 from 
http://www.x.org/pub/individual/proto/
--->  Verifying checksum(s) for xorg-xproto
--->  Extracting xorg-xproto
--->  Configuring xorg-xproto
--->  Building xorg-xproto with target all
--->  Staging xorg-xproto into destroot
--->  Installing xorg-xproto 7.0.14_1
--->  Activating xorg-xproto 7.0.14_1
--->  Cleaning xorg-xproto
--->  Fetching Xft2
--->  Attempting to fetch libXft-2.1.13.tar.bz2 from 
http://xorg.freedesktop.org/releases/individual/lib/
--->  Verifying checksum(s) for Xft2
--->  Extracting Xft2
--->  Configuring Xft2
--->  Building Xft2 with target all
--->  Staging Xft2 into destroot
--->  Installing Xft2 2.1.13_0
--->  Activating Xft2 2.1.13_0
--->  Cleaning Xft2
--->  Fetching pango
--->  Attempting to fetch pango-1.22.3.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
--->  Building pango with target all
--->  Staging pango into destroot
--->  Installing pango 1.22.3_0
--->  Activating pango 1.22.3_0
--->  Cleaning pango
--->  Fetching gnome-common
--->  Attempting to fetch gnome-common-2.24.0.tar.bz2 from 
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gnome-common/2.24/
--->  Verifying checksum(s) for gnome-common
--->  Extracting gnome-common
--->  Applying patches to gnome-common
--->  Configuring gnome-common
--->  Building gnome-common with target all
--->  Staging gnome-common into destroot
--->  Installing gnome-common 2.24.0_1
--->  Activating gnome-common 2.24.0_1
--->  Cleaning gnome-common
--->  Fetching perl5.8
--->  Attempting to fetch perl-5.8.8.tar.bz2 from 
http://www.cpan.org/src/5.0/
--->  Verifying checksum(s) for perl5.8
--->  Extracting perl5.8
--->  Applying patches to perl5.8
--->  Configuring perl5.8
--->  Building perl5.8 with target all
--->  Staging perl5.8 into destroot
--->  Installing perl5.8 5.8.8_3+darwin_9
--->  Activating perl5.8 5.8.8_3+darwin_9
--->  Cleaning perl5.8
--->  Fetching p5-xml-parser
--->  Attempting to fetch XML-Parser-2.36.tar.gz from 
http://ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/XML
--->  Verifying checksum(s) for p5-xml-parser
--->  Extracting p5-xml-parser
--->  Configuring p5-xml-parser
--->  Building p5-xml-parser with target all
--->  Staging p5-xml-parser into destroot
--->  Installing p5-xml-parser 2.36_0
--->  Activating p5-xml-parser 2.36_0
--->  Cleaning p5-xml-parser
--->  Fetching perl5
--->  Attempting to fetch perl-5.8.8.tar.bz2 from http://www.cpan.org/src/
--->  Verifying checksum(s) for perl5
--->  Extracting perl5
--->  Applying patches to perl5
--->  Configuring perl5
--->  Building perl5 with target all
--->  Staging perl5 into destroot
--->  Installing perl5 5.8.8_0+darwin_9
--->  Activating perl5 5.8.8_0+darwin_9
Error: Target org.macports.activate returned: Image error: 
/opt/local/bin/a2p 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: gtk2 shared-mime-info 
intltool perl5 libxml2 tiff libpcap openssl
Error: Status 1 encountered during processing.
sh-3.2#




More information about the macports-users mailing list