p5-getopt-long and perl5.8 - activation error
William Davis
frstan at bellsouth.net
Mon Feb 4 19:47:30 PST 2008
On Feb 4, 2008, at 6:58 PM, Michael Franz wrote:
> I am installing an application that somewhere along the line it has
> a dependency on both p5-getopt-long and perl5.8. I do not know how
> these two relate. All that I know at this point is that they
> conflict. I see that there is a perl5.10. Is this version to be
> used instead of perl5.8? If so, how do I get the dependent projects
> to use it?
>
>
> Here is the build/install log with the final error.
> ---> Fetching apache-ant
>
>
> ... many lines and ports excluded. I can send the complete log if
> necessary.
>
> ---> 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_1+darwin_8 ---> Activating perl5.8 5.8.8_1+darwin_8 --->
> Cleaning perl5.8 ---> Fetching p5-pathtools ---> Attempting to
> fetch PathTools-3.27.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 --->
> Installing p5-pathtools 3.27_0 ---> Activating p5-pathtools 3.27_0
> ---> Cleaning p5-pathtools ---> 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.
>
> Michael
Thats how perl works when adding so-to-speak extensions.
Just do:
sudo port -df activate p5-getopt-long
as indicated by the error mesg above.
William Davis
frstanATbellsouthDOTnet
Mac OS X.5.1 Darwin 9.1.0
XQuartz 2.1.3 - (xorg-server 1.3.0-apple9)
Mac Mini Intel Duo @ 1.86 GHz
Mundus vult decepi, ego non
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080204/5b4cdeba/attachment.html
More information about the macports-users
mailing list