On 5 Feb 2003, Martin Rowe wrote:
>
> It is a month older than that, so I checked out tn5250 to build, but get
> undefined macro errors for that.
[SNIP - macro errors]

I updated the macros for compatibility with RedHat 8.0 a few months ago.
Unfortunately, the new autoconf/automake (i forget which) is not backwards
compatible.   At the time, I decided it would be better to support newer
things rather than older things...

If you upgrade autoconf to version 2.53, and automake to 1.5 (or later)
the problem should go away.

automake 1.6 is actually what it works best with, although 1.5 works, it
generates strange warning messages that don't seem to affect anything,
such as:
configure.in:23: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:235: warning: do not use m4_regexp: use regexp or m4_bregexp

(and since automake tells it which m4 macros to use, not me, I blame
automake for the warnings...)  but 1.5 does work... it just generates
those messages when you do ./autogen.sh

>
> I'll try with a .deb of tn5250 to see if I can get the gnome-5250
> compiled, but I normally tweak cursesterm.c to get blue instead of cyan
> on my screen, so like to build from source.
>

You can just put "blue=blue" in your tn5250rc file... no need to change
the source.

for example:

test {
   host=as400.example.com
   env.DEVNAME=DSP04
   blue=blue
}

xt5250 test
or
gtk-5250 test
or
gnome-5250 test
or
tn5250 test


Or, of course, you can do this instead:

xt5250 blue=blue env.DEVNAME=DSP04 as400.example~com



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].