Re: Installing Perl/Tk on Win32
Andrew Bowman wrote: > I didn't put the MS nmake in the perl\bin dir (this doesn't > strike me as significant). When I ran it it chuntered away > happily on the Tk makefile for a while, and then stopped, > looking for a program called 'cl' - presumably a c linker. It's Microsoft's "compiler and linker driver" (or some such) -- the front end to the preprocessor, compiler, and linker processes (and who knows what else; maybe an intermediate optimizer or two?). Basically, it's the equivalent of 'cc' or 'gcc' which will also call cc0, cc1, and ld for your (or whatever the programs are called). Borland calls its front ends tcc and bcc; Microsoft calls its cl. I believe it's been cl.exe since the beginning, regardless of whether it was called Microsoft C or Visual C++. > There are 25 xs files in the Tk distribution, so I guess > this is where that approach went wrong. Er yes, XS files do tend to require a C compiler of some description to be useful :) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> All opinions are my own, not my employer's. If you're not part of the solution, you're part of the precipitate.
RE: Installing Perl/Tk on Win32
> From: Barbie [SMTP:[EMAIL PROTECTED]] > > Installing CPAN modules requires that you have Microsoft DevStudio or > nmake.exe installed. If you are installing modules that contain xs files, > then you need DevStudio, otherwise you only need nmake.exe. > > You can download nmake from > http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe > . Run the self-extracting exe and copy nmake.exeto the perl\bin directory. > Thanks for the tip. I tried this before bothering the list with my query (which was itself rendered redundant with the helpful suggestion of ActiveState's ppm's). I didn't put the MS nmake in the perl\bin dir (this doesn't strike me as significant). When I ran it it chuntered away happily on the Tk makefile for a while, and then stopped, looking for a program called 'cl' - presumably a c linker. There are 25 xs files in the Tk distribution, so I guess this is where that approach went wrong. Thanks again all, Andrew.
Re: Installing Perl/Tk on Win32
From: "Andrew Bowman" <[EMAIL PROTECTED]> > I'm trying to install the Tk module on a Win32 system (I realise this is > where my mistake lies, however, leaving that aside...). The docs say to: > > perl Makefile.PL > nmake > nmake test > nmake install_perl here's one I tried earlier :) Installing CPAN modules requires that you have Microsoft DevStudio or nmake.exe installed. If you are installing modules that contain xs files, then you need DevStudio, otherwise you only need nmake.exe. You can download nmake from http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe . Run the self-extracting exe and copy nmake.exeto the perl\bin directory. HTH Barbie.
RE: Installing Perl/Tk on Win32
> From: Robert Shiels [SMTP:[EMAIL PROTECTED]] > Also, if you have any firewall problems, or a fast link at work and a > slow dialup at home Thanks again - I got it installed okay (no firewall probs). The laughable thing is that I have a fast link at home[1] and a slow ISDN at work (soon to be upgraded to a 128Kbps leased line I hear - woohoo! ;-) The upside of working beyond the reach of ADSL (out at Harleyford, near Marlow) is the beautiful countryside, with lunchtime walks by the Thames and through the woods (although the FMD outbreak hasn't helped this). This and the perpetually uplifting birdsong just outside the office. Andrew. [1] Did I tell you how fast ADSL is Greg? :-)
Re: Installing Perl/Tk on Win32
From: "Andrew Bowman" <[EMAIL PROTECTED]> > > From: Dean [SMTP:[EMAIL PROTECTED]] > > If you don't really need to compile it yourself how's about: > > ppm install Tk? > > Good idea - I can see PPM being useful if I have to persist with Win32 > stuff! > Also, if you have any firewall problems, or a fast link at work and a slow dialup at home, go to: http://www.activestate.com/PPMPackages/zips/6xx-builds-only/ where you can get the ppm files yourself and install them locally instead of installing over the net. hth /robert
RE: Installing Perl/Tk on Win32
> From: Dean [SMTP:[EMAIL PROTECTED]] > If you don't really need to compile it yourself how's about: > ppm install Tk? Good idea - I can see PPM being useful if I have to persist with Win32 stuff! Thanks for the pointer James & Dean. Andrew.
Re: Installing Perl/Tk on Win32
On Tue, Apr 10, 2001 at 04:45:40PM +0100, Andrew Bowman wrote: > I'm trying to install the Tk module on a Win32 system (I realise this is > where my mistake lies, however, leaving that aside...). The docs say to: If you don't really need to compile it yourself how's about: ppm install Tk? Dean -- Profanity is the one language all programmers understand --- Anon
Re: Installing Perl/Tk on Win32
The activestate ppm files are best for this sort of thing. On Tue, Apr 10, 2001 at 04:45:40PM +0100, Andrew Bowman wrote: > I'm trying to install the Tk module on a Win32 system (I realise this is > where my mistake lies, however, leaving that aside...). The docs say to: > > perl Makefile.PL > nmake > nmake test > nmake install_perl > > Which seems to presume the presence of nmake as part of either an MS C or > Borland C compiler setup. There's also mention of it being possible to build > it with MinGW (a Minimalist GCC type setup for Windows), however this > doesn't come with nmake (and it's own make barfs on the TK makefile). > > I haven't had much luck Googling for docs on how to install Tk on Win32 > using MinGW (or any other approach that involves having a commercial Windows > C compiler), other than a fleeting reference to 'head scratching' - so any > help or pointers or insights you can offer will be appreciated. > > Andrew. PGP signature
Installing Perl/Tk on Win32
I'm trying to install the Tk module on a Win32 system (I realise this is where my mistake lies, however, leaving that aside...). The docs say to: perl Makefile.PL nmake nmake test nmake install_perl Which seems to presume the presence of nmake as part of either an MS C or Borland C compiler setup. There's also mention of it being possible to build it with MinGW (a Minimalist GCC type setup for Windows), however this doesn't come with nmake (and it's own make barfs on the TK makefile). I haven't had much luck Googling for docs on how to install Tk on Win32 using MinGW (or any other approach that involves having a commercial Windows C compiler), other than a fleeting reference to 'head scratching' - so any help or pointers or insights you can offer will be appreciated. Andrew.