laleh-poly has asked for the wisdom of the Perl Monks concerning the following question:
I have read a solution posted on: http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/3687924. But as I mentioned I have already installed libxml2 and gcc. The typemap file is in the directory "c/Perl/lib/XML-LibXML-1.70" and I cannot understand why it cannot find it. Even when I try to install XML::LibXML::Common 0.13 I get exactly the same error as above regarding typemap. I read on the following page: http://www.brandonhutchinson.com/installing_perl_modules.html that “Note: you should use the same compiler to build Perl modules that you used to build Perl. For example, if you are building Perl modules with gcc and are using a version of Perl that was supplied with your distribution (ex. Solaris 8 includes Perl 5.005_03), you may run into errors.” Could this be related to me? If yes how can I solve it. Thanks, Lalehgcc -c -I/usr/include/libxml2 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI_ +_ -fno-str ict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION +=\"1.70\" -DXS_VERSION=\"1.70\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" -DHAV +E_UTF8 -DH AVE_BLANK Av_CharPtrPtr.c /usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp -typemap /usr/l +ib/perl5/5 .10/ExtUtils/typemap -typemap typemap LibXML.xs > LibXML.xsc && mv Li +bXML.xsc L ibXML.c Can't find typemap in /cygdrive/c/Perl/lib/XML-LibXML-1.70 make: *** [LibXML.c] Error 255
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::LibXML installation problem
by syphilis (Archbishop) on Dec 24, 2009 at 23:07 UTC | |
|
Re: XML::LibXML installation problem
by laleh-poly (Novice) on Dec 24, 2009 at 23:48 UTC | |
by syphilis (Archbishop) on Dec 25, 2009 at 09:58 UTC | |
by laleh-poly (Novice) on Dec 25, 2009 at 00:44 UTC |