> On 5/15/07, Bryan R Harris <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> I'd love to use the Curses module for an upcoming script, but I don't have
>> root on the machines it will be used on.  Is it possible to use the module
>> without installing it?
>> 
>> If so, how is it done?
> snip
> 
> No, you must install a module to use it; however, any user can install
> modules into their home directory.  Either use CPAN
> 
> perl -MCPAN -e install Curses

This does nothing, just takes me back to the prompt.


> or download the module from CPAN, decompress it, change directory into
> it, and type
> perl Makefile.pl --prefix=/home/user/perl
> make
> make test
> make install

This is Curses 1.15...

**************************************
ralph 2195% ls
Artistic      CursesBoot.c  HISTORY       README        demo.menu*
list.syms     testtyp.c
Copying       CursesCon.c   INSTALL       blib/         demo.panel*
pm_to_blib
Curses.bs     CursesDef.h   MAINTENANCE   c-config.h    demo2*        t/
Curses.c      CursesFun.c   MANIFEST      cdemo.c       gdc*
test.syms*
Curses.o      CursesTyp.h   Makefile      demo*         gen/
testint.c
Curses.pm     CursesVar.c   Makefile.PL*  demo.form*    hints/
testsym.c
ralph 2196% perl Makefile.pl --prefix=/home/user/perl
GEN    function:  not applicable
PANELS functions: not enabled
MENUS  functions: not enabled
FORMS  functions: not enabled

Making a guess for $inc and/or $libs...
Guesses:  includes '', libs '-lcurses' Curses type irrelevant
'--PREFIX' is not a known MakeMaker parameter name.
Writing Makefile for Curses
**************************************

Doesn't seem to know what "--prefix" is...  What could I be doing wrong?

I tried the rest of the steps, but it doesn't install.

- B

Reply via email to