RE: Installing Perl/Tk on Win32

2001-04-11 Thread Andrew Bowman

 From: Barbie [SMTP:[EMAIL PROTECTED]]
 quote
 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.
 /quote

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.




Installing Perl/Tk on Win32

2001-04-10 Thread Andrew Bowman

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.




Re: Installing Perl/Tk on Win32

2001-04-10 Thread jduncan

The ugh 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


Re: Installing Perl/Tk on Win32

2001-04-10 Thread Dean

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

2001-04-10 Thread Andrew Bowman

 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

2001-04-10 Thread Robert Shiels

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

2001-04-10 Thread Andrew Bowman

 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? :-)