Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

(crazyinsomniac) Re: Installing modules under Windows

by crazyinsomniac (Prior)
on Nov 04, 2001 at 13:01 UTC ( [id://123157]=note: print w/replies, xml ) Need Help??


in reply to Installing modules under Windows

Hiya John.

Not too long ago I used to be in the same boat (or very similar at least).

I had may problems caused by that c:\program files or c:\progra~1 thing. Some were caused due to ExtUtils::MM_Win32, which I had patched a few times (got it from the perl5 mailing list), but which I believe was included in builds after 5.60 (I'm not really sure).

Since I reinstalled ActivePerl under c:\perl, things have been going much smoother, observe (I just installed XML::Twig).

. <DIR> 11-03-01 11:31p . .. <DIR> 11-03-01 11:31p .. T <DIR> 11-03-01 11:31p t README 11,663 10-28-01 11:52p README SPEEDUP 1,750 08-09-01 2:38a speedup MAKEFILE PL 458 08-14-01 3:00p Makefile.PL TWIGPM~1 SLO 209,661 10-28-01 11:51p Twig.pm.slow TWIG PM 211,470 10-28-01 1:59a Twig.pm MANIFEST 232 08-03-01 6:57p MANIFEST 6 file(s) 435,234 bytes 3 dir(s) 550,436,864 bytes free F:\dev\xmltwig\XML-Twig-3.00>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for XML::Twig F:\dev\xmltwig\XML-Twig-3.00>dmake DMAKE.EXE: makefile: line 648: Error -- Expecting macro or rule def +n, found n either F:\dev\xmltwig\XML-Twig-3.00>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. perl speedup Twig.pm.slow > Twig.pm perl version is 5.006001 XML::Parser version is 2.27 cp Twig.pm blib\lib\XML\Twig.pm F:\dev\xmltwig\XML-Twig-3.00>nmake test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\Perl.exe -Mblib -IC:\Perl\lib -IC:\Perl\lib -e "us +e Test::Ha rness qw(&runtests $verbose); $verbose=0; runtests @ARGV;" t\is_field. +t t\test1. t t\test2.t t\test3.t t\test4.t t\test5.t Using F:/dev/xmltwig/XML-Twig-3.00/blib t\is_field..........ok t\test1.............ok t\test2.............ok t\test3.............ok t\test4.............ok t\test5.............ok All tests successful. Files=6, Tests=274, 51 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 + CPU) F:\dev\xmltwig\XML-Twig-3.00> F:\dev\xmltwig\XML-Twig-3.00>nmake install Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Installing C:\Perl\site\lib\XML\Twig.pm Writing C:\Perl\site\lib\auto\XML\Twig\.packlist Appending installation info to C:\Perl\lib/perllocal.pod F:\dev\xmltwig\XML-Twig-3.00>perl -v Summary of my perl5 (revision 5 version 6 subversion 1) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultip +licity=define useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DN +O_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S +YS -DPERL_MSVCRT_READFIX', optimize='-O1 -MD -DNDEBUG', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:\ +Perl\lib\CORE" -machine:x86' libpth="C:\Perl\lib\CORE" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib + comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netap +i32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.li +b odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool +.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib n +etapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc3 +2.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -l +ibpath:"C:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEX +T PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 628 Built under MSWin32 Compiled at Jul 4 2001 15:41:05 @INC: C:/Perl/lib C:/Perl/site/lib . F:\dev\xmltwig\XML-Twig-3.00> F:\dev\xmltwig\XML-Twig-3.00> F:\dev\xmltwig\XML-Twig-3.00> F:\dev\xmltwig\XML-Twig-3.00>perl -we"use strict;use XML::Twig;" F:\dev\xmltwig\XML-Twig-3.00>perl -we"use strict;use XML::Twig;print k +eys %::" AutoLoader::STDOUTLWP::~_<C:/Perl/site/lib/auto/HTML/Parser/Parser.dl +l_<IO.c_<C :/Perl/site/lib/auto/XML/Parser/Expat/Expat.dllWeakRef::STDIXML::DB:: +Data::HTTP ::¤Config::_<perllib.c_<dl_win32.c¶DynaLoader::fields::constant::PC +DATAARNI NG_BITSSIGExporter::_<C:/Perl/lib/auto/IO/IO.dllWin32::warnings::BEGIN +!"Symbol:: _<.\win32.c$%stdoutHTML::strict::,-./XSLoader::0123VMS::_<..\universal +.c4CDATA56 STDERR:=@Dos::Time::ARGVbase::attributes::_<..\xsutils.coverload::Cwd: +:UNIVERSAL ::<none>::SelectSaver::\stderr]INC^_URI::IO::ENV_<Parser.cvars::Text:: +stdinCarp: :EPOC::File::CORE::Unicode::_<Expat.cMIME::main::| F:\dev\xmltwig\XML-Twig-3.00> F:\dev\xmltwig\XML-Twig-3.00>perl -we"use strict;use XML::Twig;print new XML::Twig" XML::Twig=HASH(0x17b9cb8) F:\dev\xmltwig\XML-Twig-3.00> F:\dev\xmltwig\XML-Twig-3.00>echo Hiya John! Hiya John! F:\dev\xmltwig\XML-Twig-3.00>
Hopefully you will take the plunge and reinstall to c:\perl cause it can litelarlly make life easier (and I too really hate putting crap under my root, stupid unix-like crap)

update: dmake is an alternative to nmake. You can find a link in outside links.

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

Replies are listed 'Best First'.
Re: (crazyinsomniac) Re: Installing modules under Windows
by John M. Dlugosz (Monsignor) on Nov 04, 2001 at 22:40 UTC
    Hopefully you will take the plunge and reinstall to c:\perl cause it can litelarlly make life easier (and I too really hate putting crap under my root, stupid unix-like crap)

    Yea, on my previous machine the "Program Files" directory go so large that it was a pain to browse -- I think it should fit on one page. So now I use another level to the tree. I put Perl under "Program Files\Languages\Perl".

    Further in the past, I've had my program directory called "apps", because it was short. I found that many setup programs said <boot drive>\Program Files as the default anyway, rather than looking up the "special folder" location!

    Using the PROGRA~1 when installing should work. If I knew where else it was getting a name from...

    What is DMAKE?

    —John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-16 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found