Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 10:24:27 +0300 (EET DST)
From:      "Andrew V. Stesin" <stesin@elvisti.kiev.ua>
To:        William_Setzer@ncsu.edu
Cc:        hackers@freebsd.org
Subject:   Did any FreeBSD hacker succeed in building Perl5 "Curses"-a8 ext?
Message-ID:  <199509210724.KAA21228@office.elvisti.kiev.ua>

next in thread | raw e-mail | index | archive | help
Hello,

if the answer is "yes", can you share knowlege with me?

The system I'm working on is straight 2.0.5-R out of the CD.
Perl5.001 and it's dynamical exts are working fine.
The c-config.h is as follows:

- - - -
# include <ncurses.h>

# define C_LONGNAME
# define C_LONG0ARGS
# undef  C_LONG2ARGS

# define C_TOUCHLINE
# define C_TOUCH3ARGS
# undef  C_TOUCH4ARGS
- - - -

I dropped the Curses module directory into .../perl5.001/ext
subdir, with perl5 itself already compiled, installed and
tested. First of all, I tried to build the thing "standalone",
using the sequence described in it's install notes.
Except of a small gotcha (modern FreeBSD make doesn't like lines
with only spaces in them) at line 394 of generated Makefile,
things went smooth. I typed `./demo`... and the DynaLoader told me
that it could't resolve some symbols while using libncurses.so.3.0,
and 'dlerror is not implemented' on the system.
But the function is _certainly_ there, as `nm` command tells me!
So -- some kind of mistery.

Two or three attempts... no success. I rebuild the whole Perl5, and told
Configure script to peek Curses and libncurses.a in the overall process.
Things went a bit better; now I'm getting somewhat more 'civilized' error
message, from the Perl (not C) part of the module:

Curses function 'initscr' is not defined by your vendor at ./demo line 6.

But again, 'initscr' is certainly there!
Help! I _really_ want it working!

-- 

	With best regards -- Andrew Stesin.

	+380 (44) 2760188	+380 (44) 2713457	+380 (44) 2713560




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509210724.KAA21228>