perl -MCPAN -e shell question - need a howto

Andy Firman andy at firman.us
Fri Jan 14 07:02:34 PST 2005


On Fri, Jan 14, 2005 at 09:42:06AM -0500, Bryan Fullerton wrote:
> On Fri, 14 Jan 2005 04:34:33 -0900, Andy Firman <andy at firman.us> wrote:
> > 
> > Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports.
> > 
> > su-2.05b# perl -v
> > This is perl, v5.8.5 built for i386-freebsd-64int
> > 
> > When using perl -MCPAN -e shell, I can install the bundle fine,
> > but the when I try to install XML::DOM, or Text::Aspell, they fail.
> 
> What are the errors when they fail?

Trying to install the XML::DOM I get this:

cpan> install XML::DOM

<snip lots>

Manifying blib/man3/XML::DOM::Parser.3
Manifying blib/man3/XML::DOM::Comment.3
Manifying blib/man3/XML::DOM::Element.3
Manifying blib/man3/XML::DOM::XMLDecl.3
Manifying blib/man3/XML::DOM::CDATASection.3
Manifying blib/man3/XML::DOM::Node.3
Manifying blib/man3/XML::DOM::ElementDecl.3
Manifying blib/man3/XML::DOM::DOMImplementation.3
Manifying blib/man3/XML::DOM::EntityReference.3
Manifying blib/man3/XML::DOM::AttDef.3
Manifying blib/man3/XML::DOM::Text.3
Manifying blib/man3/XML::DOM::NodeList.3
Manifying blib/man3/XML::DOM::CharacterData.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/build_dom...........ok
t/dom_astress.........ok
t/dom_attr............ok
t/dom_cdata...........ok
t/dom_documenttype....ok
t/dom_encode..........ok
t/dom_example.........ok
t/dom_extent..........ok
t/dom_jp_astress......ok
t/dom_jp_attr.........FAILED tests 3, 9, 12, 14, 19, 22
        Failed 6/23 tests, 73.91% okay
t/dom_jp_cdata........FAILED test 3
        Failed 1/3 tests, 66.67% okay
t/dom_jp_example......ok
t/dom_jp_minus........FAILED test 2
        Failed 1/2 tests, 50.00% okay
t/dom_jp_modify.......FAILED test 16
        Failed 1/16 tests, 93.75% okay
t/dom_jp_print........FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
t/dom_minus...........ok
t/dom_modify..........ok
t/dom_noexpand........ok
t/dom_print...........ok
t/dom_template........ok
t/dom_text............ok
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/dom_jp_attr.t                 23    6  26.09%  3 9 12 14 19 22
t/dom_jp_cdata.t                 3    1  33.33%  3
t/dom_jp_minus.t                 2    1  50.00%  2
t/dom_jp_modify.t               16    1   6.25%  16
t/dom_jp_print.t                 3    2  66.67%  2-3
Failed 5/21 test scripts, 76.19% okay. 11/129 subtests failed, 91.47% okay.
*** Error code 2

Stop in /root/.cpan/build/XML-DOM-1.43.
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

#####################################################################



Then with installing Text::Aspell I get this:

cpan> install Text::Aspell
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 13 Jan 2005 09:50:06 GMT
Running install for module Text::Aspell
Running make for H/HA/HANK/Text-Aspell-0.04.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/H/HA/HANK/Text-Aspell-0.04.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Text-Aspell-0.04/
Text-Aspell-0.04/t/
Text-Aspell-0.04/t/test.t
Text-Aspell-0.04/MANIFEST
Text-Aspell-0.04/typemap
Text-Aspell-0.04/Aspell.xs
Text-Aspell-0.04/META.yml
Text-Aspell-0.04/Aspell.pm
Text-Aspell-0.04/Changes
Text-Aspell-0.04/Makefile.PL
Text-Aspell-0.04/README
Removing previously used /root/.cpan/build/Text-Aspell-0.04

  CPAN.pm: Going to build H/HA/HANK/Text-Aspell-0.04.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Text::Aspell
cp Aspell.pm blib/lib/Text/Aspell.pm
/usr/local/bin/perl5.8.5 /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -noprototypes -typemap
/usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c
cc -c    -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include -O -pipe    -DVERSION=\"0.04\"  -DXS_VERSION=\"0.04\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE"
Aspell.c
Aspell.c: In function `XS_Text__Aspell_DESTROY':
Aspell.c:98: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_create_speller':
Aspell.c:125: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_print_config':
Aspell.c:158: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_set_option':
Aspell.c:194: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_remove_option':
Aspell.c:230: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_get_option':
Aspell.c:266: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_get_option_as_list':
Aspell.c:309: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_errstr':
Aspell.c:353: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_errnum':
Aspell.c:378: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_check':
Aspell.c:404: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_suggest':
Aspell.c:448: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_add_to_personal':
Aspell.c:497: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_add_to_session':
Aspell.c:536: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_store_replacement':
Aspell.c:576: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_save_all_word_lists':
Aspell.c:614: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_clear_session':
Aspell.c:652: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_list_dictionaries':
Aspell.c:696: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_dictionary_info':
Aspell.c:753: warning: cast to pointer from integer of different size
Aspell.c: In function `XS_Text__Aspell_fetch_option_keys':
Aspell.c:813: warning: cast to pointer from integer of different size
Running Mkbootstrap for Text::Aspell ()
chmod 644 Aspell.bs
rm -f blib/arch/auto/Text/Aspell/Aspell.so
LD_RUN_PATH="/usr/local/lib" cc  -shared  -L/usr/local/lib Aspell.o  -o blib/arch/auto/Text/Aspell/Aspell.so   -laspell
chmod 755 blib/arch/auto/Text/Aspell/Aspell.so
cp Aspell.bs blib/arch/auto/Text/Aspell/Aspell.bs
chmod 644 blib/arch/auto/Text/Aspell/Aspell.bs
Manifying blib/man3/Text::Aspell.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test....FAILED tests 16-17, 20
        Failed 3/21 tests, 85.71% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/test.t                  21    3  14.29%  16-17 20
Failed 1/1 test scripts, 0.00% okay. 3/21 subtests failed, 85.71% okay.
*** Error code 2

Stop in /root/.cpan/build/Text-Aspell-0.04.
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force




More information about the freebsd-questions mailing list