#13226 closed defect (wontfix)
p5-pathtools activation blocked because of perl5.8 port
Reported by: | remi.thebault@… | Owned by: | nox@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | ||
Port: |
Description
Installing the Gimp, I had this error :
---> 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/Cwd.pm is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation.
The solution for carry on the installation is :
$ sudo port uninstall p5-pathtools
---> Uninstalling p5-pathtools 3.25_0
$ sudo port install -f p5-pathtools
---> Installing p5-pathtools 3.25_0 ---> Activating p5-pathtools 3.25_0 Warning: File /opt/local/lib/perl5/5.8.8/darwin-2level/Cwd.pm already exists. Moving to: /opt/local/lib/perl5/5.8.8/darwin-2level/Cwd.pm.mp_1194692992. Warning: File /opt/local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs already exists. Moving to: /opt/local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs.mp_1194692992. Warning: File /opt/local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bundle already exists. Moving to: /opt/local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bundle.mp_1194692992. ---> Cleaning p5-pathtools
I had the same problem with p5-getopts-long, a ticket already exists on this topic : http://trac.macports.org/projects/macports/ticket/12875
Change History (3)
comment:1 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-dev@… to nox@… |
comment:2 Changed 17 years ago by nox@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
As long has we don't agree to either add extra informations to portfiles, or patch the defaul perl @INC path, I'll not fix that.
Just force the installation.