473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Can't locate Module/Build.pm in @INC

4
Hi

I'm installing "po4a" and met the following error.

~ # perl Build.PL
Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/armv5tejl-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/armv5tejl-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .). at Build.PL line 3.

So I surveyed it and I think this is because Module::Build is not installed.
Perl is installed. I ran this:

~ # perl -MModule::Build -e 'print "installed!\n"'
Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/armv5tejl-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/armv5tejl-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .).

I think something is missing in Perl packages.
Please let me know how to solve it.

P.S.
Distro : Not debian nor fedora nor any distro. (so I cannot use the package manager like apt or rpm)
CPU : ARM9
Oct 4 '07 #1
3 30092
First check whether your Module is properly installed or not by command,

perl -e 'print "$Module::Build::Version";' (check the format of command)

If yes, try to find out where Module/Build.pm is getting created. If it is getting created on one of the paths provided in @INC then you should not get this error. If your module is getting created at other location then you can include that path in @INC by using "-I" command line option.

e.g.: perl -I /home/rahateka print.pl
Oct 4 '07 #2
numberwhun
3,509 Expert Mod 2GB
Hi

I'm installing "po4a" and met the following error.

~ # perl Build.PL
Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/armv5tejl-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/armv5tejl-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .). at Build.PL line 3.

So I surveyed it and I think this is because Module::Build is not installed.
Perl is installed. I ran this:

~ # perl -MModule::Build -e 'print "installed!\n"'
Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/armv5tejl-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/armv5tejl-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .).

I think something is missing in Perl packages.
Please let me know how to solve it.

P.S.
Distro : Not debian nor fedora nor any distro. (so I cannot use the package manager like apt or rpm)
CPU : ARM9
Well, since you seem to need the module, why not do this:

Expand|Select|Wrap|Line Numbers
  1. perl -MCPAN -e 'install Module::Build';
  2.  
Regards,

Jeff
Oct 4 '07 #3
you
4
Thanks a lot rahatekarabhijeet and Jeff

very helpful!
Oct 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: pptran | last post by:
Hi, I am trying to rebuild our XS module using the newly installed Perl 5.8.4 with Dynamic Loading and 64-bit Integers enabled. During the XS make process, I ran into the following error...
1
by: smsabu2002 | last post by:
Hi, I am facing the build problem while installing the DBD-MySql perl module (ver 2.9008) using both GCC and CC compilers in HP-UX machine. For the Build using GCC, the compiler error is...
0
by: Ubergeek | last post by:
I noticed this bug ever since I installed VC7.1 on the same machine as VC6. Sometimes when I am working with VC6, when I do a build, after the build finishes, the various menu items/toolbars remain...
1
by: Rich | last post by:
Hello, I need to change the font size of a datagridview to accommodate a screen resolution of 800x600. I know how to set the fontsize at runtime datagridview1.Font = New Font("arial", 8,...
1
by: bg_ie | last post by:
Hi, I have downloaded the source for PyXML-0.8.4, which has no binaries available for Python 2.5. Therefore I built it myself doing something like this - python2.5 setup.py build python2.5...
1
by: krsna | last post by:
Hi all, Kindly help me wit tis. i tried to run an "index.cgi" in my IE. It is repeatedly throwing the following error. "Can't locate /GOM/GOMNET/lib/ in @INC (@INC contains: C:/perl/site/lib...
5
by: eranshuman | last post by:
Hi, I m very new to perl I m running an API which have the Buil.pl When Im compiling using perl Build.pl I was getting error : Can't locate Module/Build.pm in @INC (@INC contains:...
10
by: zcabeli | last post by:
Hello, i've a script that uses WIN32::OLE which i downloaded from CPAN and installed it by unzipping... i've also added to the script the inclusion lines to @INC in BEGIN phase. BEGIN{ ...
1
by: tsajuc | last post by:
Hi, I am getting an error Can't locate Preref.pm in @INC (@INC contains: /appleng/stage/preref/bin/../.. /appleng/stage/preref/bin /usr/local/oracle/perl/5.8.1/lib...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.