Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: installing Perl5.14 on windows

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

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

Hi ,

It's true that XML::LibXSLT comes with Strawberry perl. But I can't use that one because I have completed 99% work in activestate perl, so I can't go back now to strawberry perl and also not recommended in my organisation.

Any way so that copies xslt from strawberry will work here in activestate perl?

I downloaded complied library from and pass to like INC and LIBS as I get to know from Readme.
perl -INC=</inc> -LIBS=</lib>
Set up gcc environment - 3.4.5 (mingw-vista special r3)
looking for -llibxslt... no
libxslt not found
Try setting LIBS and INC values on the command line
Or get libxslt and libxml2 from
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
Still same error I am getting. Am I missing something silly?
  • Comment on Re^2: installing Perl5.14 on windows

Replies are listed 'Best First'.
Re^3: installing Perl5.14 on windows
by Anonymous Monk on Jun 20, 2012 at 11:11 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 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....

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977292]
[choroba]: (well, it comes from the 14th century, so labelling it as "modern" doesn't seem appropriate)
[Your Mother]: "They" is becoming accepted but it irritates me sometimes. I tend to just pick she or he randomly or try to use "one."
LanX thinks it is appropriate here :)
[Your Mother]: They would think so.
[jdporter]: ok, I need a recipe for piping lines "through" an external program which is itself a filter
[jdporter]: without using a tmp file
[1nickt]: tobyink perl -MTypes::Standard= is_Int -Mstrict -wE 'say 1 if is_Int 1.0'
[jdporter]: so that I can use the existing expand unix util. Otherwise, I'll probably use Text::Tabs.
[1nickt]: pryrt I guess I don;t really care if user 42 logs on as 42.0 ... more of an academic question at this point.
[LanX]: jdporter: open PIPE,'-|' ?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-05-24 20:24 GMT
Find Nodes?
    Voting Booth?