Guoqiang, Module::Build is the tool used to build and install my GUI software. It is a standard perl module and should already be on your system. I am surprised that your computer is finding it necessary to try to download and reinstall it. I assume that you are at the step of installing the things I call LibPerlXray and that you mis-typed. I suspect the fault is mine. I probably should not list Module::Build in the file Bundle/LibPerlXrayBundle.pm. Try the following: 1. Check that Module::Build is indeed already on your system by typing this at the command line: perl -e "use Module::Build" If it responds with noting (i.e. no error messages), then you are fine. 2. Edit the files Bundle/LibPerlXrayBundle.pm and remove the line with Module::Build beneath the "CONTENTS" header. 3. Try again. I apologize that this is so hard. I just don't have the resources to test these things on all possible systems, so I rely on the users to complain when they run into problems. Thanks for being patient. B On Friday, April 08, 2011 08:41:54 am Guoqiang PAN wrote:
Hi,all Main trouble for the installation Artemis, athena etc. in PC Linux system (in my case is Fedora 14 ) is need to install all perl pre-requisites from CPAN. Following the install instruction I did as follows: perl -MCPAN -e 'install Bundle::XasPerlBundle' But it stopped at 'DAGOLDEN':
Warning: Prerequisite 'Module::Metadata => 1.000002' for 'DAGOLDEN/Module-Build-0.3800.tar.gz' failed when processing 'DAGOLDEN/Module-Metadata-1.000004.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'CPAN::Meta => 2.110420' for 'DAGOLDEN/Module-Build-0.3800.tar.gz' failed when processing 'DAGOLDEN/CPAN-Meta-2.110930.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'ExtUtils::CBuilder => 0.27' for 'DAGOLDEN/Module-Build-0.3800.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. Warning: Prerequisite 'Parse::CPAN::Meta => 1.4401' for 'DAGOLDEN/Module-Build-0.3800.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. Warning: Prerequisite 'version => 0.87' for 'DAGOLDEN/Module-Build-0.3800.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. Warning: Prerequisite 'ExtUtils::ParseXS => 2.21' for 'DAGOLDEN/Module-Build-0.3800.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. /usr/local/bin/perl Build --makefile_env_macros 1 Can't locate Module/Metadata.pm in @INC (@INC contains: t/lib t/bundled lib /usr/local/lib/perl5/5.10.1/i686-linux /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/i686-linux /usr/local/lib/perl5/site_perl/5.10.1 .) at lib/Module/Build/ModuleInfo.pm line 10. Compilation failed in require at lib/Module/Build/Base.pm line 23. BEGIN failed--compilation aborted at lib/Module/Build/Base.pm line 23. Compilation failed in require at lib/Module/Build.pm line 15. BEGIN failed--compilation aborted at lib/Module/Build.pm line 15. Compilation failed in require at Build line 42. BEGIN failed--compilation aborted at Build line 42. make: *** [all] Error 2 DAGOLDEN/Module-Build-0.3800.tar.gz /usr/bin/make -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
Guoqiang Pan National Synchrotron Radiation Laboratory University of Science & Technology of China
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 My homepage: http://xafs.org/BruceRavel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/