Can't install gedit

James Schofield schofield.james at gmail.com
Sat Oct 6 10:32:07 PDT 2007


On 10/6/07, Matthias Brennwald <matthias at brennwald.org> wrote:
>
> sudo port install libbonobo
> Password:
> --->  Fetching p5-getopt-long
> --->  Attempting to fetch Getopt-Long-2.37.tar.gz from http://
> ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/Getopt
> --->  Verifying checksum(s) for p5-getopt-long
> --->  Extracting p5-getopt-long
> --->  Configuring p5-getopt-long
> --->  Building p5-getopt-long with target all
> --->  Staging p5-getopt-long 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-getopt-long 2.37_0
> --->  Activating p5-getopt-long 2.37_0
> Error: Target org.macports.activate returned: Image error: /opt/local/
> lib/perl5/5.8.8/Getopt/Long.pm 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: p5-getopt-long popt
> Error: Status 1 encountered during processing.

Try:
$ sudo port install -f p5-getopt-long

You'll have to do the same thing for p5-pathtools.

James



More information about the macports-users mailing list