Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a new module using h2xs which built a module tree for me and a bunch of files.

Git as far as running make test but then make failed saying it couldnt find WWW::Curl, but I had installed Curl with Yum so I'm not sure why this is a problem!

use strict;
use warnings;

use JSON::XS;
use WWW::Curl;

Make Error:

 Error:  Can't locate WWW/ in @INC (@INC contains: dir .. dir...
share|improve this question

Perl may have been compiled with certain directories in @INC that is not where curl was installed. Try find / -type f -iname (using iname in case the capitalized C in curl turns out to be the problem) and then run your script with -I /path/to/ and see if that works.

If so, follow this helpful post to get that resolved:

share|improve this answer
up vote 0 down vote accepted

The problem was that I was using Active Perl and so I had to install with Active Perl's repository command and not yum!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.