XML::LibXML::Common does not install Common.pm

XML::LibXML::Common does not install Common.pm

am 28.11.2007 05:21:06 von jimhallsun

Hi,

I am trying to install XML::LibXML and I am failing to install because
I think XML::LibXML::Common is not copying the files into the
locations it is claiming in its' output. I was wondering if I could
have some help troubleshooting this. Output of the install is below.
The build environment is Solaris 10 on a PC laptop.

The lines starting with "Installing" are telling me that (for example)
Common.pm is being copied to a directory, but I go to that directory
and nothing is there. Simple as that.

I wonder if there is a way to prove that files are being copy or
enhancing debug output during the install.

Any help would be appreciated.

JIM

cpan> install XML::LibXML::Common
CPAN: Storable loaded ok
Going to read /local/home/jhall/.cpan/Metadata
Database was generated on Tue, 27 Nov 2007 00:36:49 GMT
Running install for module XML::LibXML::Common
Running make for P/PH/PHISH/XML-LibXML-Common-0.13.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/local/home/jhall/.cpan/sources/authors/id/P/PH/PHISH/XML-Li bXML-
Common-0.13
..tar.gz ok
Scanning cache /local/home/jhall/.cpan/build for sizes
x XML-LibXML-Common-0.13, 0 bytes, 0 tape blocks
x XML-LibXML-Common-0.13/ppport.h, 12662 bytes, 25 tape blocks
x XML-LibXML-Common-0.13/test.pl, 1994 bytes, 4 tape blocks
x XML-LibXML-Common-0.13/Common.pm, 11988 bytes, 24 tape blocks
x XML-LibXML-Common-0.13/Changes, 627 bytes, 2 tape blocks
x XML-LibXML-Common-0.13/MANIFEST, 89 bytes, 1 tape blocks
x XML-LibXML-Common-0.13/typemap, 41 bytes, 1 tape blocks
x XML-LibXML-Common-0.13/Common.xs, 6784 bytes, 14 tape blocks
x XML-LibXML-Common-0.13/LICENSE, 174 bytes, 1 tape blocks
x XML-LibXML-Common-0.13/Makefile.PL, 8130 bytes, 16 tape blocks
x XML-LibXML-Common-0.13/README, 1207 bytes, 3 tape blocks
Removing previously used
/local/home/jhall/.cpan/build/XML-LibXML-Common-0.13

CPAN.pm: Going to build P/PH/PHISH/XML-LibXML-Common-0.13.tar.gz

enable native perl UTF8
running xml2-config... ok
looking for -lxml2... yes
Checking if your kit is complete...
Looks good
Writing Makefile for XML::LibXML::Common
cp Common.pm blib/lib/XML/LibXML/Common.pm
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Common.xs >
Common.xsc && mv Common.xsc Common.c
cc -c -I/usr/include/libxml2 -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64
-D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"0.13\"
-DXS_VERSION=\"0.13\" -KPIC
"-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -DHAVE_UTF8 -
DHAVE_BLANK
Common.c
"Common.xs", line 58: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"Common.xs", line 100: warning: argument #2 is incompatible with
prototype:
prototype: pointer to const char :
"/usr/include/libxml2/libxml/tree.h", line 610
argument : pointer to unsigned char
"Common.xs", line 155: warning: assignment type mismatch:
pointer to unsigned char "=" pointer to char
"Common.xs", line 193: warning: argument #2 is incompatible with
prototype:
prototype: pointer to const char :
"/usr/include/libxml2/libxml/tree.h", line 610
argument : pointer to unsigned char
"Common.xs", line 196: warning: argument #1 is incompatible with
prototype:
prototype: pointer to const char :
"/usr/include/libxml2/libxml/xmlstring.h", line 46
argument : pointer to const unsigned char
Running Mkbootstrap for XML::LibXML::Common ()
chmod 644 Common.bs
rm -f blib/arch/auto/XML/LibXML/Common/Common.so
LD_RUN_PATH="/usr/lib" cc -G Common.o -o
blib/arch/auto/XML/LibXML/Common/Common.so -L/usr/lib -R/usr/lib -
lxml2
-lz -lpthread -lm -lsocket -lnsl
chmod 755 blib/arch/auto/XML/LibXML/Common/Common.so
cp Common.bs blib/arch/auto/XML/LibXML/Common/Common.bs
chmod 644 blib/arch/auto/XML/LibXML/Common/Common.bs
Manifying blib/man3/XML::LibXML::Common.3
/usr/xpg4/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..8
# Running under perl version 5.008004 for solaris
# Current time local: Tue Nov 27 17:20:07 2007
# Current time GMT: Tue Nov 27 22:20:07 2007
# Using Test.pm version 1.24
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
`test' is updated.
/usr/xpg4/bin/make test -- OK
Running make install
Installing
~/lib/perl5/lib/site_perl/5.8.4/i86pc-solaris-64int/auto/XML /LibXML/
Common/C
ommon.so
Installing
~/lib/perl5/lib/site_perl/5.8.4/i86pc-solaris-64int/auto/XML /LibXML/
Common/C
ommon.bs
Files found in blib/arch: installing files in blib/lib into
architecture
dependent library tree
Installing
~/lib/perl5/lib/site_perl/5.8.4/i86pc-solaris-64int/XML/LibX ML/
Common.pm
Installing ~/lib/perl5/man/man3/XML::LibXML::Common.3
Writing
~/lib/perl5/lib/site_perl/5.8.4/i86pc-solaris-64int/auto/XML /LibXML/
Common/.
packlist
Appending installation info to
~/lib/perl5/lib/i86pc-solaris-64int/perllocal.pod`install' is updated.
/usr/xpg4/bin/make install -- OK

cpan>

Re: XML::LibXML::Common does not install Common.pm

am 28.11.2007 18:43:15 von Mark Clements

jimhallsun wrote:
> Hi,
>
> I am trying to install XML::LibXML and I am failing to install because
> I think XML::LibXML::Common is not copying the files into the
> locations it is claiming in its' output. I was wondering if I could
> have some help troubleshooting this. Output of the install is below.
> The build environment is Solaris 10 on a PC laptop.
>
> The lines starting with "Installing" are telling me that (for example)
> Common.pm is being copied to a directory, but I go to that directory
> and nothing is there. Simple as that.
>
> I wonder if there is a way to prove that files are being copy or
> enhancing debug output during the install.
>

> architecture
> dependent library tree
> Installing
> ~/lib/perl5/lib/site_perl/5.8.4/i86pc-solaris-64int/XML/LibX ML/
> Common.pm
> Installing ~/lib/perl5/man/man3/XML::LibXML::Common.3
> Writing
> ~/lib/perl5/lib/site_perl/5.8.4/i86pc-solaris-64int/auto/XML /LibXML/
> Common/.
> packlist
> Appending installation info to
> ~/lib/perl5/lib/i86pc-solaris-64int/perllocal.pod`install' is updated.

Are you sure that ~ is expanded properly? You may find that it has
installed to ~ relative to the module build dir.

Mark