CPAN::Forum
XML-LibXML - Unable to install the XML-LibXML package
| Posted on Mon May 5 19:57:41 2008 by anshumansrivastava |
| Unable to install the XML-LibXML package |
|
Hi,
Is there any other way to install this package with all its dependencies in one go
As when I try to install the download package , it gives error it didnot find the iconv.h file
C:\XML-LibXML-1.66 > perl Makefile.PL
Set up gcc environment - 3.2.3 (mingw special 20030504-1)
enable native perl UTF8
looking for -lxml2... yes
Warning: prerequisite XML::LibXML::Common 0.13 not found.
Note (probably harmless): No library found for -llibxml2
Note (probably harmless): No library found for -lzlib
Note (probably harmless): No library found for -lzlib
Writing Makefile for XML::LibXML
When I try to install the XML::LibXml::Common
like this :
C:\XML-LibXML-Common-0.13 > perl Makefile.PL
Set up gcc environment - 3.2.3 (mingw special 20030504-1)
enable native perl UTF8
looking for -lxml2... yes
Note (probably harmless): No library found for -llibxml2
Note (probably harmless): No library found for -lzlib
Writing Makefile for XML::LibXML::Common
When it install the XML-LibXML-Common it shows the following:
C:\XML-LibXML-Common-0.13 > nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO
_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DP
ERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-a
liasing -O2 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" "-IC:\Perl\lib\CORE"
-DHAVE_UTF8 -DHAVE_BLANK Common.c
In file included from Common.xs:9:
ppport.h:360:1: warning: "PERL_UNUSED_DECL" redefined
In file included from Common.xs:7:
C:/Perl/lib/CORE/perl.h:188:1: warning: this is the location of the previous def
inition
In file included from C:/MinGW/include/libxml/parser.h:796,
from Common.xs:11:
C:/MinGW/include/libxml/encoding.h:28:19: iconv.h: No such file or directory
In file included from C:/MinGW/include/libxml/parser.h:796,
from Common.xs:11:
C:/MinGW/include/libxml/encoding.h:136: parse error before "iconv_t"
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
It shows that it is unable to find the iconv.h.
Please help me to install the package
Thanks and regards
|
| Write a response |
(9)
]