Re: [PDCurses] Curses boot problem in Win32 build

2002-06-27 Thread LM

On Thu, 27 Jun 2002, Chris DAlessio wrote:

> I just successfully built Curses for Win32 this week.  You can build with
> PDCurses.  You need to have stock perl 5.6.x, the ActiveState version will
> simply not work.  After building PDCurses, you then need to build the Curses
> CPAN module.  This will give you the version of curses.dll (with curses.exp
> needed on win32) that can be installed and bootstrapped in Perl.

I know I'm starting to get off topic here with Perl questions, but I would
love to know how to get PDCurses running with Perl.  What did you use to
compile the stock version of Perl?  Can it be done with mingw32 or the
Borland or Watcom compilers or do you have to use a distribution like
cygwin to compile?

Thanks.

Laura Michaels
http://www.distasis.com





Re: [PDCurses] Curses boot problem in Win32 build

2002-06-27 Thread Chris DAlessio

I just successfully built Curses for Win32 this week.  You can build with
PDCurses.  You need to have stock perl 5.6.x, the ActiveState version will
simply not work.  After building PDCurses, you then need to build the Curses
CPAN module.  This will give you the version of curses.dll (with curses.exp
needed on win32) that can be installed and bootstrapped in Perl.


- Original Message -
From: "Jeremy Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 8:33 PM
Subject: Re: [PDCurses] Curses boot problem in Win32 build


> Mark Hessling wrote:
>
> > > Looking at the Win32 DLL, there is none of the boot functionality
linked
> > > in! Is this an oversight, or do I have to do something else?
> >
> > There is no such symbol of 'boot_Curses' in PDCurses. My guess is that
your
> > Perl module has been linked with ncurses, and expects ncurses.  You
would
> > need to rebuild the Perl module and link with the PDCurses import
library.
>
> Hi, thanks for the help!
>
> Now that I know what the problem is, I got Ncurses for Cygwin (which I
have), which
> is probably easier than rebuilding (I don't know how to rebuild a module).
I'll get
> this sorted out! Do you know where I could get a Perl module for PDCurses?
>
> BTW, just FYI, why I asked about it, I'm working on porting Zigzag (by Ted
Nelson)
> from Perl into C, and it uses Curses. It'll make debugging things a lot
easier if I
> can run things under Windows.
>
> Regards,
>
> Jeremy.
> --
> From June, my new e-mail address will be: [EMAIL PROTECTED]
>
>
>




Re: [PDCurses] Curses boot problem in Win32 build

2002-06-26 Thread Jeremy Smith

Mark Hessling wrote:

> > Looking at the Win32 DLL, there is none of the boot functionality linked
> > in! Is this an oversight, or do I have to do something else?
>
> There is no such symbol of 'boot_Curses' in PDCurses. My guess is that your
> Perl module has been linked with ncurses, and expects ncurses.  You would
> need to rebuild the Perl module and link with the PDCurses import library.

Hi, thanks for the help!

Now that I know what the problem is, I got Ncurses for Cygwin (which I have), which
is probably easier than rebuilding (I don't know how to rebuild a module). I'll get
this sorted out! Do you know where I could get a Perl module for PDCurses?

BTW, just FYI, why I asked about it, I'm working on porting Zigzag (by Ted Nelson)
from Perl into C, and it uses Curses. It'll make debugging things a lot easier if I
can run things under Windows.

Regards,

Jeremy.
--
>From June, my new e-mail address will be: [EMAIL PROTECTED]





Re: [PDCurses] Curses boot problem in Win32 build

2002-06-26 Thread Mark Hessling

On Wed, 26 Jun 2002, Jeremy Smith wrote:

Hi Jeremy,

> Hi everyone!
> 
> I am trying to get Curses to work with Perl in Windows. I have put the
> curses.dll file in the same folder as the Perl program that uses Curses.
> It throws up an error:
> 
> "Can't find 'boot_Curses' symbol in ./Curses.dll"
> 
> Looking at the Win32 DLL, there is none of the boot functionality linked
> in! Is this an oversight, or do I have to do something else?

There is no such symbol of 'boot_Curses' in PDCurses. My guess is that your
Perl module has been linked with ncurses, and expects ncurses.  You would
need to rebuild the Perl module and link with the PDCurses import library.

> 
> Any help *really* appreciated.
> 
> Thanks,
> 
> Jeremy.
> --
> >From June, my new e-mail address will be: [EMAIL PROTECTED]
> 
> 

Cheers, Mark
---
* Mark Hessling,  [EMAIL PROTECTED]  http://www.lightlink.com/hessling/
* Author of THE; a Free XEDIT/KEDIT editor, Rexx/SQL, Rexx/Curses, Rexx/Wrapper
* Maintainer of PDCurses: Public Domain Curses and, Regina Rexx interpreter
* Use Rexx? join the Rexx Language Association: http://www.rexxla.org