Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Compile and install of Curses v1.14 under Win32 mingw

by cosimo (Hermit)
on Sep 22, 2006 at 12:04 UTC ( [id://574360]=perlquestion: print w/replies, xml ) Need Help??

cosimo has asked for the wisdom of the Perl Monks concerning the following question:

Hello fellow monks,

the task I'm facing is clear: installing Curses to a CamelPack perl on Win32. CamelPack (but Strawberry Perl is the same) uses mingw, or gcc if you prefer.

To correctly find the libraries, I had to customize the Makefile.PL with a "gcc" flavour of Win32 install. The problem is in the compile process. It bombs out with a long list of "invalid operands for binary -" errors. Surely I can also post the complete error messages, if anyone got a clue of what is happening...

I suspect this has to do with some compiler differences between MSVC, Borland C++ and gcc. I tried to fiddle with dXSARGS and dITEMS macro expansions in XSUB.h, but with no luck.

I searched for other people's experiences. On perlmonks, it seems that [id://crazyinsomniac] and [id://PodMaster] managed to do something, but both (momentarily?) are out of reach..
I also tried to apply magic ppport.h code suggestions, but this led to no progress...

So... has anyone ever managed to install Curses on Win32?
Some tips? Thank you.

Replies are listed 'Best First'.
Re: Compile and install of Curses v1.14 under Win32 mingw
by xdg (Monsignor) on Sep 22, 2006 at 13:48 UTC

    Please consider also posting this issue to Vanilla Perl Problem Modules - External Dependencies (at win32.perl.org). It will help us keep track of it and several intrepid adventurers are regularly checking there for things that need fixing.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found