Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5995239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:55:54+00:00 2026-05-22T23:55:54+00:00

I have MacPorts and CPAN installed and I’ve only just found out that it’s

  • 0

I have MacPorts and CPAN installed and I’ve only just found out that it’s sort of bad to be using them both at the same time.
I recently installed perl 5.13.9 via CPAN as it had some updated modules that a program wanted. That perl is installed in /usr/local/bin. MacPorts then updated its perl to 5.12.3 (/opt/local/bin) and complained that it couldn’t complete the installation because some .3pm files already existed (e.g. cpan.3pm). I forced the install and MacPorts mv’d the offending files to a backup name. The next time I used CPAN it went through the configuration steps again so I’m wondering whether I need to mv those files back, and/or re/uninstall perl5.12.3/5.13.9.
It would be nice to issue a command in Terminal to see/test if all the modules are still working correctly. And in general, I’m wondering how to combine CPAN and MacPorts safely.

Help?

On OS X 10.6.6.

edit

See below.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:55:55+00:00Added an answer on May 22, 2026 at 11:55 pm

    I fixed it! For reference for any other MacPorts/CPAN users:

    I ended up force-uninstalling perl5 and CPAN from MacPorts, and purging ~/.cpan. A sudo find /opt -name cpan (or perl5) should result in nothing but a couple of portfiles.

    Re-install perl5. I also ran a sudo port upgrade outdated.

    From then on, only install perl modules via MacPorts instead of CPAN. For instance, Digest::SHA is p5-digest-sha on MacPorts.

    For something only available on CPAN, use cpan2port by following the simple instructions here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed pyglet onto Mac OS X 10.7.4 using MacPorts. pyglet only works
I have Pythong2.6, psycopg2 and pgAdmin3 installed using Macports. My settings.py is: DATABASE_ENGINE =
I have a Macports installed version of php5, that is missing the curl extension.
I have python2.7 installed using macports gcc-4.6. When I build an extension module (python
Macports is the only packaging system I have checked out on the Mac and
I have just installed ruby 1.9.1-p429 with macports. Every time I use it, it
I've installed mysql5 using Macports and the installation appears to check out but I
Does Macports have an install log? I can't find the location that it installed
Have just installed Aptana and used MacPorts to update all the extras for a
I'm on Mac OS X Lion and just installed mysql5 using MacPorts. Then I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.