Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: installing Perl5.14 on windows

by prashantktyagi (Scribe)
on Jun 22, 2012 at 10:38 UTC ( #977818=note: print w/replies, xml ) Need Help??

in reply to Re^3: installing Perl5.14 on windows
in thread installing Perl5.14 on windows

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 blib\lib\XML\ 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 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....

Replies are listed 'Best First'.
Re^5: installing Perl5.14 on windows
by Anonymous Monk on Jun 22, 2012 at 11:10 UTC

    ... 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

      step1: Installed Active state perl 5.14.2..
      step2:Installed XML::LibXML from ppm.
      step3:I downloaded xslt library from
      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

        step2:Installed XML::LibXML from ppm.

        Where did you download this ppm from, didn't they have accompanying LibXSLT ppm? It would be weird if they didn't

        step3:I downloaded xslt library from

        What did you download? Give full url please

        step4 <tarname>/lib has .lib

        But does that .lib file have xsltLibxsltVersion and the other missing symbols?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977818]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2018-06-23 00:02 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.