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

This is one of those boring installation/configuration questions and not programming, so please redirect me if I've posted in the wrong place. It has come time for me to leave my familiar environment and build an exe of my efforts for friends without my dev environment. I've had great success with PAR::Packer; the problem is dependency on the ncurses library. Pdcurses provides equivalent functionality in Windows, and I have successfully compiled some test programs with dev-cpp and pdcurses. I'm having lots of trouble installing the Curses module from CPAN, though. Neither by default does Makefile.PL find my pdcurses installation (the .lib, .h, and .dll in c:\pdcurses) nor with CURSES_CFLAGS and CURSES_LDFLAGS set to the appropriate -Ic:\pdcurses values. I've combed through the relevant hints/ files and build instructions, mimicking the INSTALL file's steps, but to no avail. Thus I turn to Perlmonks -- is my pdcurses installation in the wrong place, or is the problem with my configuration of Curses.pm installation? This may be more of a question for Cygwin's mailing list, but has anybody successfully built Par::Packer with the cygwin-packaged perl? If I could get this to work, would pp produce a binary exe since I'm on Win32 or another elf executable?

Replies are listed 'Best First'.
Re: Installing Curses module under Win32
by rodinski (Novice) on Apr 16, 2020 at 12:39 UTC
    Did you ever get this to work? I'm having the exactly the same issue. I would like to spends some time on a solution that uses Curses::UI and be able to compile (or pack) it for a Windows 10 machine. I too have gotten demos of PDCurses to run on Windows but have not been able to get Curses:UI to build. I have Strawberry Perl on said Windows machine.

      Note the post you're replying to is 11 years old and the Monk you're writing to was last seen at that time as well. You'll probably have more luck posting a new question in SoPW and following the guidelines in How do I post a question effectively?, that is, showing some short example code that you're having problems with so that people wanting to help can try and reproduce the issue for themselves. Also, if you're having trouble installing Curses::UI, perhaps show the error messages from the build (with enough context) - CPAN Testers appears to show that the module has built successfully on Win32 in the past.