Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: installing XML::LibXSLT.pm Perl5.14 on windows

by Anonymous Monk
on Jun 20, 2012 at 11:11 UTC ( [id://977308]=note: print w/replies, xml ) Need Help??


in reply to Re^2: installing XML::LibXSLT.pm Perl5.14 on windows
in thread installing XML::LibXSLT.pm Perl5.14 on windows

Still same error I am getting. Am I missing something silly?

yes, you're missing actual details

 </lib> </inc> don't tell us anything about what you've downloaded or what it looks like (tree) ...

See also http://win32.perl.org/wiki/index.php?title=Vanilla_Perl_and_GnuWin32, Re: Editing RPATH of Perl module XML::Parser, Re: Installing iodbc 0.1 via CPAN (or other means) on Mac OS 10.6, edit Makefile.PL and prefix :nosearch

Replies are listed 'Best First'.
Re^4: installing XML::LibXSLT.pm Perl5.14 on windows
by prashantktyagi (Scribe) on Jun 22, 2012 at 10:38 UTC
    Hi Monks,

    Resolved lib dependency but now getting some compilation issue while building XML::LibXSLT...
    here is the error:

    Building and testing XML-LibXSLT-1.77 cp LibXSLT.pm blib\lib\XML\LibXSLT.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib +\ExtUtils\typemap -typemap typemap LibXSLT.xs > LibXSLT.xsc && C:\Pe +rl\bin\perl.exe -MExtUtils::Command -e mv -- LibXSLT.xsc LibXSLT.c C:/Perl/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STR +ICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTE +XT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUT +E -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"1.77\" + -DXS_VERSION=\"1.77\" "-IC:\Perl\lib\CORE" -DHAVE_BLANK -DHAVE_BL +ANK -DHAVE_EXSLT LibXSLT.c <readmore> C:/Perl/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STR +ICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTE +XT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUT +E -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"1.77\" + -DXS_VERSION=\"1.77\" "-IC:\Perl\lib\CORE" -DHAVE_BLANK -DHAVE_BL +ANK -DHAVE_EXSLT perl-libxml-mm.c Running Mkbootstrap for XML::LibXSLT () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 LibXSLT.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"XML::LibXSLT\", 'DLBASE' => 'LibXSLT', ' +DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => +[]);" Set up gcc environment - 3.4.5 (mingw-vista special r3) dlltool --def LibXSLT.def --output-exp dll.exp C:\Perl\site\bin\g++.exe -o blib\arch\auto\XML\LibXSLT\LibXSLT.xs.dll +-Wl,--base-file -Wl,dll.base -mdll -L"C:\Perl\lib\CORE" LibXSLT.o + perl-libxml-mm.o C:\Perl\lib\CORE\perl514.lib C:\Perl\lib\CORE\lib +xslt.lib C:\Perl\lib\CORE\libxml2.lib C:\Perl\lib\CORE\zlib.lib C:\Pe +rl\lib\CORE\libexslt.lib C:\Perl\site\lib\auto\MinGW\lib\libkernel32. +a C:\Perl\site\lib\auto\MinGW\lib\libuser32.a C:\Perl\site\lib\auto\M +inGW\lib\libgdi32.a C:\Perl\site\lib\auto\MinGW\lib\libwinspool.a C:\ +Perl\site\lib\auto\MinGW\lib\libcomdlg32.a C:\Perl\site\lib\auto\MinG +W\lib\libadvapi32.a C:\Perl\site\lib\auto\MinGW\lib\libshell32.a C:\P +erl\site\lib\auto\MinGW\lib\libole32.a C:\Perl\site\lib\auto\MinGW\li +b\liboleaut32.a C:\Perl\site\lib\auto\MinGW\lib\libnetapi32.a C:\Perl +\site\lib\auto\MinGW\lib\libuuid.a C:\Perl\site\lib\auto\MinGW\lib\li +bws2_32.a C:\Perl\site\lib\auto\MinGW\lib\libmpr.a C:\Perl\site\lib\a +uto\MinGW\lib\libwinmm.a C:\Perl\site\lib\auto\MinGW\lib\libversion.a + C:\Perl\site\lib\auto\MinGW\lib\libodbc32.a C:\Perl\site\lib\auto\Mi +nGW\lib\libodbccp32.a C:\Perl\site\lib\auto\MinGW\lib\libcomctl32.a C +:\Perl\site\lib\auto\MinGW\lib\libmsvcrt.a C:\Perl\site\lib\auto\MinG +W\lib\libkernel32.a C:\Perl\site\lib\auto\MinGW\lib\libuser32.a C:\Pe +rl\site\lib\auto\MinGW\lib\libgdi32.a C:\Perl\site\lib\auto\MinGW\lib +\libwinspool.a C:\Perl\site\lib\auto\MinGW\lib\libcomdlg32.a C:\Perl\ +site\lib\auto\MinGW\lib\libadvapi32.a C:\Perl\site\lib\auto\MinGW\lib +\libshell32.a C:\Perl\site\lib\auto\MinGW\lib\libole32.a C:\Perl\site +\lib\auto\MinGW\lib\liboleaut32.a C:\Perl\site\lib\auto\MinGW\lib\lib +netapi32.a C:\Perl\site\lib\auto\MinGW\lib\libuuid.a C:\Perl\site\lib +\auto\MinGW\lib\libws2_32.a C:\Perl\site\lib\auto\MinGW\lib\libmpr.a +C:\Perl\site\lib\auto\MinGW\lib\libwinmm.a C:\Perl\site\lib\auto\MinG +W\lib\libversion.a C:\Perl\site\lib\auto\MinGW\lib\libodbc32.a C:\Per +l\site\lib\auto\MinGW\lib\libodbccp32.a C:\Perl\site\lib\auto\MinGW\l +ib\libcomctl32.a C:\Perl\site\lib\auto\MinGW\lib\libmsvcrt.a dll.exp LibXSLT.o:LibXSLT.c:(.text+0x51e4): undefined reference to `xsltLibxsl +tVersion' LibXSLT.o:LibXSLT.c:(.text+0x54d9): undefined reference to `xsltMaxDep +th' LibXSLT.o:LibXSLT.c:(.text+0x5562): undefined reference to `xsltMaxDep +th' LibXSLT.o:LibXSLT.c:(.text+0x55af): undefined reference to `xsltMaxDep +th' LibXSLT.o:LibXSLT.c:(.text+0x6835): undefined reference to `_imp__xmlM +alloc' LibXSLT.o:LibXSLT.c:(.text+0x6885): undefined reference to `_imp__xmlF +ree' LibXSLT.o:LibXSLT.c:(.text+0x6e4b): undefined reference to `_imp__xmlF +ree' LibXSLT.o:LibXSLT.c:(.text+0x7027): undefined reference to `_imp__xmlF +ree' LibXSLT.o:LibXSLT.c:(.text+0x8471): undefined reference to `xsltLibxsl +tVersion' LibXSLT.o:LibXSLT.c:(.text+0x8497): undefined reference to `xsltMaxDep +th' perl-libxml-mm.o:perl-libxml-mm.c:(.text+0x4d4): undefined reference t +o `_imp__xmlMalloc' perl-libxml-mm.o:perl-libxml-mm.c:(.text+0x4fc): undefined reference t +o `_imp__xmlMalloc' collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\XML\LibXSLT\L +ibXSLT.xs.dll' -> FAIL Installing XML::LibXSLT failed. See C:\Documents and Settings\ +SVC_OVIIDBADM_AM\.cpanm\build.log for details. </readmore>

    Any idea about this....

      ... Resolved lib dependency but now getting some compilation issue .... Any idea about this....

      It is pretty much still the same issue, you're omitting details and assuming we know what they are

      $ ack --all xsltLibxsltVersion . Binary file bin\xsltproc.exe matches include\libexslt\exslt.h 16:EXSLTPUBVAR const int exsltLibxsltVersion; include\libxslt\xslt.h 72: * xsltLibxsltVersion: 76:XSLTPUBVAR const int xsltLibxsltVersion; Binary file lib\libexslt.a matches Binary file lib\libxslt.a matches
        Details:

        step1: Installed Active state perl 5.14.2..
        step2:Installed XML::LibXML from ppm.
        step3:I downloaded xslt library from http://xmlsoft.org/XSLT/
        step4: it contains four tar files(libxml,libxslt,iconv,xsldbg, zlib).
        tar contains such structure..
        <tarname>/bin has .exe and .dll
        <tarname>/lib has .lib
        <tarname>/include .h
        untar and copied files under <tar>/include and <tar>/lib .lib and .h files into C:\Perl\lib\CORE, where was my other .h files.
        After that I copied under <tar>/bin .exe and .dll files to "C:\Perl\site\bin" where was g++.exe and dname.exe utility....
        Then I run command on cmd..
        cpanm install XML::LibXSLT
        I Think I am very much clear now...I have read all these steps on some blogs....i am just a novice in perl.. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://977308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found