Re: trn-4.0-test77 can't find terminfo

Peter Trei <[email protected]> Fri, 8 Apr 2022 22:20:38 -0400
Newsgroups gmane.network.trn.general
Message-ID <CAC9sZLc2rF41QU6ENb9sp3HwXZ3OrungoNmw0m4UZa-udBHEkA@mail.gmail.com>
--===============2237459660636472008==
Content-Type: multipart/alternative; boundary="000000000000193aa205dc2f5cfb"

--000000000000193aa205dc2f5cfb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 7, 2022 at 8:42 PM B. Elijah Griffin <
[email protected]> wrote:

> On Wed, 6 Apr 2022, Mike Van Pelt <[email protected]> wrote:
> > Since the shell account I've been using for years is going away, I'm
> > trying to build trn 4.0 on Windows Subsystem for Linux (yeah, I
> > know...) and I'm getting this error on the make:
>
> Just FYI I'm preferring the acli trn fork, which has much better MIME
> charset support. Unicode just works.
>
> https://github.com/acli/trn
>
> But I don't know if that has ever been compiled on WSL.  Traditional trn
> is probably more portable _if_ you know 1990s era porting tricks.
>
> > -------------------------------------------
> > # make
> > cc -c -O -I/usr/local/include  addng.c
> > In file included from addng.c:20:
> > term.h:171:1: error: expected identifier or =E2=80=98(=E2=80=99 before =
=E2=80=98...=E2=80=99 token
> >   171 | ..."Don't know how to define the term macros!"
> >       | ^~~
>
> When you ran Configure, it couldn't find your terminfo library. I belive
> it checks -lcurses and -lterminfo on C library path. You may need to add
> an additional directory to the path or change the library name. I've
> seen it sometimes available as -lncurses, but I'm guessing WSL may have
> differenr directories than regular Unix.
>
> Figure out what files that terminfo package installed and you should get
> past this. You'll need to rerun Configure with the new config.
>
> Elijah


I will check what I have in my build, but it will take booting an old box I
haven't used in quite some time.

Peter


>
>

--000000000000193aa205dc2f5cfb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Thu, Apr 7, 2022 at 8:42 PM B. Elijah Griffin &lt;<a hre=
f=3D"mailto:[email protected]">[email protected]=
m</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-le=
ft:1ex;border-left-color:rgb(204,204,204)">On Wed, 6 Apr 2022, Mike Van Pel=
t &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">mike.vanp=
[email protected]</a>&gt; wrote:<br>
&gt; Since the shell account I&#39;ve been using for years is going away, I=
&#39;m<br>
&gt; trying to build trn 4.0 on Windows Subsystem for Linux (yeah, I<br>
&gt; know...) and I&#39;m getting this error on the make:<br>
<br>
Just FYI I&#39;m preferring the acli trn fork, which has much better MIME<b=
r>
charset support. Unicode just works.<br>
<br>
<a href=3D"https://github.com/acli/trn" rel=3D"noreferrer" target=3D"_blank=
">https://github.com/acli/trn</a><br>
<br>
But I don&#39;t know if that has ever been compiled on WSL.=C2=A0 Tradition=
al trn<br>
is probably more portable _if_ you know 1990s era porting tricks.<br>
<br>
&gt; -------------------------------------------<br>
&gt; # make<br>
&gt; cc -c -O -I/usr/local/include=C2=A0 addng.c<br>
&gt; In file included from addng.c:20:<br>
&gt; term.h:171:1: error: expected identifier or =E2=80=98(=E2=80=99 before=
 =E2=80=98...=E2=80=99 token<br>
&gt;=C2=A0 =C2=A0171 | ...&quot;Don&#39;t know how to define the term macro=
s!&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0| ^~~<br>
<br>
When you ran Configure, it couldn&#39;t find your terminfo library. I beliv=
e<br>
it checks -lcurses and -lterminfo on C library path. You may need to add<br=
>
an additional directory to the path or change the library name. I&#39;ve<br=
>
seen it sometimes available as -lncurses, but I&#39;m guessing WSL may have=
<br>
differenr directories than regular Unix.<br>
<br>
Figure out what files that terminfo package installed and you should get<br=
>
past this. You&#39;ll need to rerun Configure with the new config.<br>
<br>
Elijah</blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">I will che=
ck what I have in my build, but it will take booting an old box I haven&#39=
;t used in quite some time.</div><div dir=3D"auto"><br></div><div dir=3D"au=
to">Peter</div><div dir=3D"auto"><br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style=
:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir=3D"auto"><b=
r>
<br>
</blockquote></div></div>

--000000000000193aa205dc2f5cfb--


--===============2237459660636472008==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2237459660636472008==--