Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^12: how to install perlmodules in windowsXP

by veeruch (Sexton)
on Mar 08, 2007 at 05:29 UTC ( [id://603765]=note: print w/replies, xml ) Need Help??


in reply to Re^11: how to install perlmodules in windowsXP
in thread how to install perlmodules in windowsXP

Hi Rob,
What is startup directory?
dmake error output :
gcc -o ..\blib\arch\auto\Tk\Scrollbar\Scrollbar.dll -Wl,--base-file -W +l,dll.base -mdll Scrollbar.o -Wl,--image-base,0x3f0f0000 ../pTk/libpTk.lib C:\Perl\lib\CORE\perl58.lib -lkernel32 -luser32 -lg +di32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 + -lodbccp32 -lmsvcrt dll.exp dlltool --def Scrollbar.def --base-file dll.base --output-exp dll.exp gcc -o ..\blib\arch\auto\Tk\Scrollbar\Scrollbar.dll -mdll Scrollbar.o +-Wl,--image-base,0x3f0f0000 ../pTk/libpTk.lib C:\Perl\li b\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -l +advapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\blib\arch\aut +o\Tk\Scrollbar\Scrollbar.dll No root path(s) specified at C:/Perl/lib/ExtUtils/Command.pm line 105 C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Scrollbar.bs ..\blib\ar +ch\auto\Tk\Scrollbar\Scrollbar.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\blib\arch\aut +o\Tk\Scrollbar\Scrollbar.bs cp Scale.pm ..\blib\lib\Tk\Scale.pm AutoSplitting ..\blib\lib\Tk\Scale.pm (..\blib\lib\auto\Tk\Scale) C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib +\ExtUtils\typemap -typemap C:/Tk-804.027_500/Tk/typemap Scale.xs > Scale.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e m +v Scale.xsc Scale.c gcc -c -I.. -I../pTk/mTk/xlib -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRIC +T -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE - DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_ +READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVE RSION=\"804.0275\" -DXS_VERSION=\"804.0275\" "-IC:\Perl\lib\CORE +" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D_ _USE_FIXED_PROTOTYPES__ Scale.c Scale.c: In function `boot_Tk__Scale': Scale.c:55: warning: unknown conversion type character `_' in format Scale.c:55: warning: too many arguments for format Running Mkbootstrap for Tk::Scale () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Scale.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Tk::Scale\", 'DLBASE' => 'Scale', 'DL_FU +NCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_V ARS' => []);" Set up gcc environment - 3.4.2 (mingw-special) dlltool --def Scale.def --output-exp dll.exp gcc -o ..\blib\arch\auto\Tk\Scale\Scale.dll -Wl,--base-file -Wl,dll.ba +se -mdll Scale.o -Wl,--image-base,0x364d0000 ../pTk/libp Tk.lib C:\Perl\lib\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwinsp +ool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 - lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 +-lmsvcrt dll.exp dlltool --def Scale.def --base-file dll.base --output-exp dll.exp gcc -o ..\blib\arch\auto\Tk\Scale\Scale.dll -mdll Scale.o -Wl,--image- +base,0x364d0000 ../pTk/libpTk.lib C:\Perl\lib\CORE\perl5 8.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -ls +hell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lm pr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\blib\arch\aut +o\Tk\Scale\Scale.dll No root path(s) specified at C:/Perl/lib/ExtUtils/Command.pm line 105 C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Scale.bs ..\blib\arch\a +uto\Tk\Scale\Scale.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\blib\arch\aut +o\Tk\Scale\Scale.bs cp PNG.pm ..\blib\lib\Tk\PNG.pm cd zlib && dmake -S -S libz.lib "CC=gcc " [ ar rcs libz.lib rm -f ] C:\Tk-804.027_500\PNG\zlib>ar rcs libz.lib C:\Tk-804.027_500\PNG\zlib>rm -f Usage: rm [-firRv] [-d|-s] file ... dmake: Error code 130, while making 'libz.lib' dmake: 'libz.lib' removed. dmake: Error code 255, while making 'zlib\libz.lib' dmake: Error code 255, while making 'subdirs'
dmake test
C:\Tk-804.027_500>dmake test cd pTk && dmake -S DEFINE="" C:\Perl\bin\perl.exe -MExtUtils::Command -e cp widget ..\blib\script\w +idget pl2bat.bat ..\blib\script\widget cd zlib && dmake -S -S libz.lib "CC=gcc " [ ar rcs libz.lib rm -f ] C:\Tk-804.027_500\PNG\zlib>ar rcs libz.lib C:\Tk-804.027_500\PNG\zlib>rm -f Usage: rm [-firRv] [-d|-s] file ... dmake: Error code 130, while making 'libz.lib' dmake: 'libz.lib' removed. dmake: Error code 255, while making 'zlib\libz.lib' dmake: Error code 255, while making 'subdirs'

Replies are listed 'Best First'.
Re^13: how to install perlmodules in windowsXP
by syphilis (Archbishop) on Mar 08, 2007 at 06:42 UTC
    What is startup directory?

    You should find it in the zip file (http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/dmake-4.7-20061120-SHAY.zip). From the 'Readme.txt' that ships with that zip package:
    DMAKE needs a set of startup files that are located in a subdirectory +called "startup" where DMAKE.EXE lives, or in a directory specified by a DMAK +EROOT environment variable. So, to install it, just copy DMAKE.EXE and the +startup subdirectory to some location on your path.
    I don't know if that's the problem.

    Cheers,
    Rob
      Hi Rob,
      That is not problem .Bcoz that startup Directory is already there in dmake folder.
      perldevkit is from Active state.
      if i install Strawberry Perl .Will Active state perldevkit work?.
        Will Active state perldevkit work?

        I don't know. If it doesn't work with Strawberry Perl, you could still use Strawberry Perl to build Tk-804.027_500 for use with ActivePerl. Assuming that your ActivePerl is in C:\Perl, you would just run:
        C:\strawberry-perl\perl\bin\perl Makefile.PL PREFIX=C:/Perl/site C:\strawberry-perl\dmake\bin\dmake test C:\strawberry-perl\dmake\bin\dmake install
        That should build and install Tk-804.027_500 into ActivePerl - from where you can use it with PDK.

        However, I'm still a little puzzled as to why you're getting that build failure with ActivePerl. Which version of 'dmake' are you using ? I get:
        C:\_32>dmake -V dmake - Version 4.7-20061120-SHAY (Windows / MS Visual C++) Copyright (c) 1990,...,1997 by WTI Corp. Default Configuration: MAXLINELENGTH := 32766 MAXPROCESSLIMIT := 4 MAXPROCESS := 1 .IMPORT .IGNORE: DMAKEROOT .MAKEFILES : makefile.mk makefile .SOURCE : .NULL DMAKEROOT *= $(ABSMAKECMD:d)startup MAKESTARTUP := $(DMAKEROOT)\startup.mk
        I've also used versions 4.4 and 4.5 without any problems.

        Cheers,
        Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found