abhishes has asked for the wisdom of the Perl Monks concerning the following question:
I have been trying to install XML-DOM on my w2k machine for quite some days now.. but every effort to do so has failed.
I am using perl 5.8.0 from Active State.
1. Attempt 1:
I downloaded the XML-DOM.zip file from the following location
http://ppm.activestate.com/PPMPackages/zips/5xx-builds-only/
when I tried to install it, I got the error
Error: no suitable installation target found for package XML-DOM
2. Attempt 2:
Downloaded the XML-DOM.zip file from the location
http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/
and again got the error
Error: no suitable installation target found for package XML-DOM.
3. Attempt3
Downloaded the installation from
http://search.cpan.org/author/TJMATHER/XML-DOM-1.42/
and the readme told me to get dependent software for windows from http://www.zlatkovic.com/projects/libxml/index.html
Now I have a perl-xml directory on my machine and I have a bin subdirectory there I have iconv.dll, iconv.lib, iconv_a.lib, libxml2.dll, libxml2.lib, libxml2_a.lib
I have set the
INCLUDE=%INCLUDE%;c:\perl-xml\include;
LIB=%LIB%;c:\perl-xml\bin;
PATH=%PATH%;c:\perl-xml\bin;
Then I type the command perl Makefile.pl in the directory where I have unzipped the xmldom files and I get the error
enable native perl UTF8
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://xmlsoft.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
I also tried perl Makefile.pl LIB=%LIB% INC=%INCLUDE% but i still get the same error.
Has anyone tried to install XML::DOM on their w2k machine ... please tell me how can I get it installed on my w2k machine.
regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML-DOM installation on Windows
by Solo (Deacon) on Feb 23, 2003 at 18:37 UTC | |
by abhishes (Friar) on Feb 23, 2003 at 19:04 UTC | |
by Solo (Deacon) on Feb 23, 2003 at 19:12 UTC | |
by abhishes (Friar) on Feb 23, 2003 at 20:14 UTC | |
by Solo (Deacon) on Feb 23, 2003 at 21:05 UTC | |
|