Jayad / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

build_web_perl FAIL and Installing the dependencies failed: Module 'Moose' is not installed #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using install script on fresh install of Ubuntu 12.04

What is the expected output? What do you see instead?

I expect a successful install but Instead I receive build_web_perl FAIL
and  Installing the dependencies failed: Module 'Moose' is not installed

What version of the product are you using? On what operating system?

Ubuntu 12.04

Please provide any additional information below.

I have attached build.log and Class-Load-XS-0.07.tar.gz

The CPAN Moose module failed to load. I tried to install it manually with the 
command: 
sudo cpanm Moose

 I received the error: 

Building and testing Class-Load-XS-0.07 ... FAIL

I tried to load XS-0.07 but with command sudo cpan Class::Load::XS

It informed:

'YAML' not installed, will not store persistent state
Running Build test

I received many errors. The following is the first :

t/000-load.t .................... 1/? 
#   Failed test 'use Test::Class::Load;'
#   at t/000-load.t line 9.
#     Tried to use 'Test::Class::Load'.
#     Error:  Can't locate loadable object for module Class::Load::XS in @INC 
(@INC contains: t/lib 
/home/csroot/.cpan/build/Class-Load-XS-0.07-LtYOSd/blib/arch 
/home/csroot/.cpan/build/Class-Load-XS-0.07-LtYOSd/blib/lib /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at t/lib/Test/Class/Load.pm line 7.
# Compilation failed in require at t/lib/Test/Class/Load.pm line 7.
# BEGIN failed--compilation aborted at t/lib/Test/Class/Load.pm line 7.
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at (eval 8) line 2.
# Using XS implementation
# Looks like you failed 1 test of 1.
t/000-load.t .................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Here is a more complete list std out:

==> Found dependencies: Moose
! Installing the dependencies failed: Module 'Moose' is not installed
! Bailing out the installation for Data-Google-Visualization-DataSource-0.01.
Data::Google::Visualization::DataTable is up to date. (0.10)
DateTime is up to date. (1.07)
File::Slurp is up to date. (9999.19)
URI::Encode is up to date. (0.09)
Search::QueryParser::SQL is up to date. (0.009)
Module::Load::Conditional is up to date. (0.62)
Authen::Simple::Kerberos is up to date. (0.1)
Digest::MD5 is up to date. (2.53)
Hash::Merge::Simple is up to date. (0.051)
Digest::SHA is up to date. (5.86)
Archive::Extract is up to date. (0.72)
Apache::Admin::Config is up to date. (0.95)
Text::CSV is up to date. (1.32)
Log::Log4perl::Appender::Socket::UNIX is up to date. (1.04)
Plack::Middleware::XForwardedFor is up to date. (0.103060)
Try::Tiny is up to date. (0.19)
--> Working on Data::Serializable
Fetching 
http://www.cpan.org/authors/id/R/RO/ROBINS/Data-Serializable-0.41.0.tar.gz ... 
OK
Configuring Data-Serializable-0.41.0 ... OK
==> Found dependencies: Moose::Role, Moose
! Installing the dependencies failed: Module 'Moose::Role' is not installed, 
Module 'Moose' is not installed
! Bailing out the installation for Data-Serializable-0.41.0.
Retry 3
Retrieving GeoIP databases...
...done.
C API installed already via apt-get
build_web_perl FAIL

sudo cpanm Moose

==> Found dependencies: Moose
! Installing the dependencies failed: Module 'Moose' is not installed
! Bailing out the installation for Data-Google-Visualization-DataSource-0.01.
Data::Google::Visualization::DataTable is up to date. (0.10)
DateTime is up to date. (1.07)
File::Slurp is up to date. (9999.19)
URI::Encode is up to date. (0.09)
Search::QueryParser::SQL is up to date. (0.009)
Module::Load::Conditional is up to date. (0.62)
Authen::Simple::Kerberos is up to date. (0.1)
Digest::MD5 is up to date. (2.53)
Hash::Merge::Simple is up to date. (0.051)
Digest::SHA is up to date. (5.86)
Archive::Extract is up to date. (0.72)
Apache::Admin::Config is up to date. (0.95)
Text::CSV is up to date. (1.32)
Log::Log4perl::Appender::Socket::UNIX is up to date. (1.04)
Plack::Middleware::XForwardedFor is up to date. (0.103060)
Try::Tiny is up to date. (0.19)
--> Working on Data::Serializable
Fetching 
http://www.cpan.org/authors/id/R/RO/ROBINS/Data-Serializable-0.41.0.tar.gz ... 
OK
Configuring Data-Serializable-0.41.0 ... OK
==> Found dependencies: Moose::Role, Moose
! Installing the dependencies failed: Module 'Moose::Role' is not installed, 
Module 'Moose' is not installed
! Bailing out the installation for Data-Serializable-0.41.0.
Retry 3
Retrieving GeoIP databases...
...done.
C API installed already via apt-get
build_web_perl FAIL

csroot@bro2:~$ sudo cpanm Moose
[sudo] password for csroot: 
--> Working on Moose
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Moose-2.1204.tar.gz ... OK
Configuring Moose-2.1204 ... OK
==> Found dependencies: Class::Load::XS
--> Working on Class::Load::XS
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Class-Load-XS-0.07.tar.gz 
... OK
Configuring Class-Load-XS-0.07 ... OK
Building and testing Class-Load-XS-0.07 ... FAIL
! Installing Class::Load::XS failed. See 
/home/csroot/.cpanm/work/1392289989.3381/build.log for details. Retry with 
--force to force install it.
! Installing the dependencies failed: Module 'Class::Load::XS' is not installed
! Bailing out the installation for Moose-2.1204.

csroot@bro2:~$ sudo cpan Class::Load::XS

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes] 

Autoconfigured everything but 'urllist'.

Now you need to choose your CPAN mirror sites.  You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes] 
Trying to fetch a mirror list from the Internet
Fetching with LWP:
http://www.perl.org/CPAN/MIRRORED.BY

Looking for CPAN mirrors near you (please be patient)
................................... done!

New urllist
  http://noodle.portalus.net/CPAN/
  http://cpan.schatt.com/
  http://mirrors.hub.co/CPAN/

Autoconfiguration complete.

commit: wrote '/home/csroot/.cpan/CPAN/MyConfig.pm'

Original issue reported on code.google.com by jnvir...@gmail.com on 13 Feb 2014 at 11:45

Attachments:

GoogleCodeExporter commented 9 years ago
Now that Class::Load::XS is installed, does the installer work normally?

Original comment by mchol...@gmail.com on 19 Feb 2014 at 5:32

GoogleCodeExporter commented 9 years ago
Yes, It does.

On Wed, Feb 19, 2014 at 9:32 AM, <
enterprise-log-search-and-archive@googlecode.com> wrote:

Original comment by jnvir...@gmail.com on 20 Feb 2014 at 2:02

GoogleCodeExporter commented 9 years ago
Closing now since this appears to be a temporary upstream dependency problem.

Original comment by mchol...@gmail.com on 5 Mar 2014 at 3:34