Walt Mankowski on Mon, 7 Apr 2003 23:18:33 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Installing Modules on Wintel


You couldn't be.  pm files are Perl code; xs files are C code that
must be compiled into object code (probably a DLL on Windows) to be
used.

I'm sending this back to the list in case someone else can help.

Walt

On Mon, Apr 07, 2003 at 08:09:22PM -0400, Barry Dancis wrote:
> Interesting question. I don't know - maybe there is a command-line compiler
> with 98 and not 2000. How would I know if it is using the compiled version
> or just the pm file.
> 
> Thanks,
> 
> Barry
> 
> ----- Original Message -----
> From: "Walt Mankowski" <waltman@pobox.com>
> To: "Barry Dancis" <bdancis@comcast.net>
> Sent: Monday, April 07, 2003 12:45 PM
> Subject: Re: Installing Modules on Wintel
> 
> 
> > I've never built xs modules on Windows, so I don't know how it's
> > configured.  cl used to be the name of the Microsoft C command-line
> > compiler.  I don't know if it's still part of Visual C, and I don't
> > have access to a Windows box where it's installed to check.
> >
> > How are you building Time::Piece on those win98 boxes without a C
> > compiler?
> >
> > Walt
> >
> > On Mon, Apr 07, 2003 at 12:14:25PM -0400, Barry Dancis wrote:
> > > Walt,
> > >
> > >     I have perl installed on two other Wintel machines (but 98, not
> 2000)
> > > where it seems to be working fine. I searched both machines for cl.* and
> > > found nothing.  If the compile is used, where is the output placed
> > > (perl\bin?) and what is its extension (*.obj?, *.xs).  I found Piece.xs
> in
> > > the .cpan tree but not in the perl tree.
> > >
> > > Thanks
> > >
> > > Barry
> > >
> > > ----- Original Message -----
> > > From: "Walt Mankowski" <waltman@pobox.com>
> > > To: <phl@lists.pm.org>
> > > Sent: Monday, April 07, 2003 10:16 AM
> > > Subject: Re: Installing Modules on Wintel
> > >
> > >
> > > > On Mon, Apr 07, 2003 at 10:05:10AM -0400, Barry Dancis wrote:
> > > > > They don't. Could the error be caused by lack of a c compiler?
> > > >
> > > > Oh, you don't have a C compiler?  That's your problem then.
> > > >
> > > > >
> > >
> cl -c    -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE-DNO_STRICT
> > > >
> > >
> > -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS-DUSE_PERLIO
> > > >
> > >
> RL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"1.08\"-DXS_VERSION
> > > > > =\
> > > > > "1.08\"  "-IC:\Perl\lib\CORE"   Piece.c
> > > > > 'cl' is not recognized as an internal or external command, operable
> > > program
> > > > > or batch file.
> > > >
> > > > "cl" is the name of the C compiler.  It's trying to compile Piece.c.
> > > >
> > > > I suppose you could try installing the ppm for Time::Piece and
> > > > continue on from there...
> > > >
> > > > Walt
> > > > -
> > > > **Majordomo list services provided by PANIX
> <URL:http://www.panix.com>**
> > > > **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
> > > >
> > >
> > >
> >
> 
> 
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**