help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: [help-GIFT] Can't locate XML.pm in @INC]


From: Neil Dombrowski
Subject: [Fwd: [help-GIFT] Can't locate XML.pm in @INC]
Date: Wed, 28 Jan 2009 15:26:04 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

I think I tracked the issue down to this test.pl script, where it says "use XML;" It looks like a multiple perl modules have an XML.pm, but which is the right one for this usage?

Is this script used by the other modules, or is it just a test to see if the modules are in place?


Would it matter if I just removed that script?


Thanks,
        Neil


address@hidden XML-Handler-EasyTree-Traversal]$ more test.pl
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'

######################### We start with some black magic to print on failure.

# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)

BEGIN { $| = 1; print "1..1\n"; }
END {print "not ok 1\n" unless $loaded;}
use XML;
$loaded = 1;
print "ok 1\n";

######################### End of black magic.

# Insert your test code below (better if it prints "ok 13"
# (correspondingly "not ok 13") depending on the success of chunk 13
# of the test code):



-------- Original Message --------
Subject: [help-GIFT] Can't locate XML.pm in @INC
Date: Wed, 28 Jan 2009 11:52:48 -0600
From: Neil Dombrowski <address@hidden>
To: address@hidden

Hi again,
     I'm getting through the gift-prerequisites, trying to find or
build rpms for all the perl modules listed inside. Right now I'm trying
to use a tool called cpanflute2  to make an rpm of
perl-XML-Handler-EasyTree-Traversal. I have pretty much all the other
perl modules installed on this server, except for perl-XML-Handler-Trees
and MRML. As you can see below, I'm getting an error that XML.pm can't
be found. A search on the system found it in
/usr/local/lib/perl588/lib64/AI/Categorizer/Document/XML.pm

Is this the correct perl module I need? Which perl module does it come
in? How can I make cpanflute2 see it?  I tried adding it's path to
PERL5LIB, but that didn't seem to make a difference.

I know this isn't a perl-help list, but since this might be related to
this project I'm hoping you have experience with this already.

Thanks,
        Neil

...
++ cat perl-XML-Handler-EasyTree-Traversal-0.01-20090128-filelist
+ '[' '/usr/share/man/man3/XML::Handler::EasyTree::Traversal.3pm.gz
/usr/share/man/man3/XML::Handler::EasyTree::Visitor.3pm.gz
/usr/lib/perl5/site_perl/5.8.8/XML/Handler/EasyTree/WriteVisitor.pm
/usr/lib/perl5/site_perl/5.8.8/XML/Handler/EasyTree/Traversal.pm
/usr/lib/perl5/site_perl/5.8.8/XML/Handler/EasyTree/Visitor.pm
/usr/lib/perl5/site_perl/5.8.8/XML/Handler/EasyTree/Builder.pm
/usr/lib/perl5/site_perl/5.8.8/XML/Handler/EasyTree/Writer.pm
%dir /usr/lib/perl5/site_perl/5.8.8/XML
%dir /usr/lib/perl5/site_perl/5.8.8/XML/Handler
%dir /usr/lib/perl5/site_perl/5.8.8/XML/Handler/EasyTreeX' = X ']'
+ /usr/lib/rpm/find-debuginfo.sh
/tmp/00xKSkIdSL/XML-Handler-EasyTree-Traversal
0 blocks
find:
/home/neil/redhat/tmp/perl-XML-Handler-EasyTree-Traversal-0.01-20090128-root/usr/lib/debug:
No such file or directory
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Executing(%check): /bin/sh -e /home/neil/redhat/tmp/rpm-tmp.31874
+ umask 022
+ cd /tmp/00xKSkIdSL
+ cd XML-Handler-EasyTree-Traversal
+ export PERL5LIB=/home/neil/perl588/lib64
+ PERL5LIB=/home/neil/perl588/lib64
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
Can't locate XML.pm in @INC (@INC contains: blib/lib blib/arch
/home/neil/perl588/lib64/x86_64-linux-thread-multi
/home/neil/perl588/lib64
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at test.pl line 11.
BEGIN failed--compilation aborted at test.pl line 11.
not ok 1
make: *** [test_dynamic] Error 2
error: Bad exit status from /home/neil/redhat/tmp/rpm-tmp.31874 (%check)


RPM build errors:
    Bad exit status from /home/neil/redhat/tmp/rpm-tmp.31874 (%check)
RPM building failed!



--
   |------------------------|
   | Neil Dombrowski        |
   | Systems Administration |
   | Pricegrabber.com       |
   | 5150 Goldleaf Circle   |
   | 2nd Floor              |
   | Los Angeles, CA 90056  |
   | Ph 608.215.6183        |
   |------------------------|


_______________________________________________
help-GIFT mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gift

--
   |------------------------|
   | Neil Dombrowski        |
   | Systems Administration |
   | Pricegrabber.com       |
   | 5150 Goldleaf Circle   |
   | 2nd Floor              |
   | Los Angeles, CA 90056  |
   | Ph 608.215.6183        |
   |------------------------|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]