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 8891721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:48:52+00:00 2026-06-14T22:48:52+00:00

I am trying to deploy to dotcloud. My Makefile.PL points that I require URI

  • 0

I am trying to deploy to dotcloud.
My Makefile.PL points that I require URI 1.60. The development.yml file says that as well. The builder claims that the module is installed.

18:38:39: [www] I am snapshotsworker_02/bob-3, and I will be your builder today.
18:38:55: [www] URI is up to date. (1.60)

If I run

dotcloud run www -- perl -MURI -e '1'

It fails with

Can't locate URI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.

This could be correct, because typically modules are installed under ~/perl5. So, I tried:

$ dotcloud run www -- perl -I /home/dotcloud/perl5/lib/perl5 -MURI -e '1'
==> Executing "perl -I /home/dotcloud/perl5/lib/perl5 -MURI -e 1" on service (www) instance #0 (application XXXX)
Can't locate URI.pm in @INC (@INC contains: /home/dotcloud/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.

Also strange is that cpanm is not available, although docs say we can use it:

$ dotcloud run www -- cpanm URI
==> Executing "cpanm URI" on service (www) instance #0 (application XXXX)
bash: cpanm: command not found

Any hints?

EDIT: this doesn’t seem a problem with this module. Had the same with LWP. And then, still more strange, with HTTP::Date, a dependency on LWP. Something is not working correctly on module dependencies. I never had this problem with old versions of dotcloud client.

Thank you,
Alberto

  • 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-06-14T22:48:53+00:00Added an answer on June 14, 2026 at 10:48 pm

    The reason for this behavior is quite simple, but also quite stupid. Here dotcloud folks could be more professionals and have the Perl stack better configured.

    So, in my dotcloud.yaml file I request a perl 5.14.x installation. This is done by adding a symlink in /opt/perl5/perls/current pointing to the version I want (in my case, /opt/perl5/perls/perl5.14.x/). For the Perl web stack the environment is set in a way that this perl is searched first.

    When I run perl through a cron job or through the run option for the dotcloud client, the perl that answers is the one in the system (/usr/bin/perl), that is perl version 5.10.x. Therefore, modules installed systemwide in the perl 5.14.x version are not available (and when I force them to get installed to perl5 home dir, they get available to both versions).

    The solution is to call the perl binary with the correct path, or to configure correctly the PATH environment variable for the standard shell environment (that seems to be different from the web environment).

    It would be great if the folks at dotcloud make this more transparent. One option is to document this issue, another option, is to set the shell environment to use the same perl as the web environment. that shouldn’t be so hard.

    Alberto

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

Sidebar

Related Questions

I am trying to deploy the sample-app war file that comes with PushSDK.But was
I'm trying to deploy an app on Heroku that works just fine on my
I'm trying to deploy an app that has a dependency on uuid.h. During the
I am trying to deploy one of my applications on dotcloud. However, I keep
I'm trying to deploy a node.js app to dotcloud. The instructions are found on
I'm trying to deploy a Playframework 2.0 application on dotCloud using a custom type
I'm trying to deploy to a slicehost slice using this config/deploy/production.rb file. I'm clueless
I'm trying to deploy a ruby on rails app to dotcloud. The app is
I have been trying to deploy a project that I created within eclipse but
I am trying to deploy a website that I have built in mvc3 on

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.