Menu

#101 DEC ULTRIX: needs TERMINFO==0

open
5
2003-06-07
2002-08-08
Anonymous
No

Running on a DEC RISC ULTRIX 4.3 Version 1.
It is a somewhat stripped down.
I was able to run configure with the following :

./configure
--prefix=$HOME/cscope/csc_to_build/usr/local
--with-lex --with-yacc

I then ran the make and had a problem in 'command.c'
with #if TERMINFO and the statements
'case: KEY_XXXXXX'
so at the beginning of 'command.c' , I entered
#define TERMINFO 0.
So far so good.
The next problem is in 'find.c' at #include <regex.h>.
This file is not on our system. How can I get this and
what can I substitute for this? I am guessing that the
static regex_t is located therein.

Discussion

  • Jason Duell

    Jason Duell - 2002-08-10

    Logged In: YES
    user_id=125727

    regex.h is the header for Posix regular expressions--it's
    standard on most new systems nowadays, but I don't believe
    DEC has been putting out too many new machines recently...

    You should go out and grab one of the several free regex
    libraries out there. Try the Spencer implementation at

    ftp://ftp.zoo.toronto.edu/pub/regex.shar

    and/or the packages at

    http://unixtools.sourceforge.net/

    I'd be most curious to know how your mileage varies with
    these two, so we can know which one to recommend in the
    future. If neither works (which is unlikely), check out
    this page, which lists several others:

    http://www.unixpapa.com/incnote/regex.html

     
  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517

    Lack of <regex.h> is an issue already handled by another bug
    report, so let's set that aside for this one.

    Which leaves us with the TERMINFO stuff. The #if that tries
    to distinguish whether the OS has a curses implementation
    that supports TERMINFO stuff is growing seriously out of
    hand. An autoconf-time test is desperately needed there, I
    think.

     
  • Hans-Bernhard Broeker

    • labels: --> Curses interface
    • summary: build fails on #include <regex.h> --> DEC ULTRIX: needs TERMINFO==0
     
  • Hans-Bernhard Broeker

    • assigned_to: nobody --> broeker
     

Log in to post a comment.