p5-getopt-long and perl5.8 - activation error
Michael Franz
mvfranz at gmail.com
Mon Feb 4 19:51:00 PST 2008
Ryan,
Does that mean that I should expect the dependencies to have issues? Or,
should I always pass in -f for my installs?
I re-ran my install command (it was not apahe-ant, it was icedtea), 5 more
packages gave me the same issue. I infer from your response, I should have
had the same error message (if I didn't use the -f). I did get the same
error message, but for a different port. Each time I re-ran, I advanced to
the next dependency.
Michael
On Feb 4, 2008 10:45 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Feb 4, 2008, at 17:58, 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
>
> There is no problem. You simply need to do what this message tells
> you: force the activation:
>
> sudo port -f activate p5-getopt-long
>
> Now you can go back to trying to install apache-ant.
>
> > ---> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080204/ce4b107d/attachment.html
More information about the macports-users
mailing list