Re: Linux - xboard - Duck chess

Tim Mann <[email protected]> Tue, 28 Feb 2023 12:21:17 -0800
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <CA+2-M12JonYihD0xaBHQvN2jf54TpnchqBbp1Ky6Bi33nW9UWA@mail.gmail.com>
--00000000000034d7ae05f5c857cc
Content-Type: text/plain; charset="UTF-8"

The person (Arun Persaud) who used to update the "official" xboard source
on savannah.gnu.org by merging in HGM's work mostly left the project
several years ago, and I haven't been active in the project for many years
other than to do occasional administrative things when needed. So I assume
HGM's source is quite a ways ahead of what's on Savannah. Looking at the
git log, I see the source on Savannah has not changed much since v4.9.1.
was tagged.

I actually don't know how to git clone HGM's source. I'm not sure if he has
a git server or only gitweb. I wasn't able to guess the right URL to clone
from via git:// or http://. HGM, if you're tuned in, can you answer that?

To clone the Savannah source, see these pages:
https://savannah.gnu.org/maintenance/UsingGit/ and
https://savannah.gnu.org/projects/xboard/. Getting a read-only clone may be
fine to start with, but if you are going to work on the code, I encourage
you to sign up for a membership on Savannah (it's free, of course), and I
can add you as an official project member there. I will have to review how
to do that, but I used to know.  :-)

I see the compile instructions in the README are out of date for starting
from a git clone. They are missing the initial step of running
./autogen.sh. I tried the following on my current Ubuntu 22.04 system,
which I think is more or less correct.

   ./autogen.sh
   ./configure
   make

However, the current git source at the head of the master branch ultimately
fails to link with lots of "multiple definition" errors on ics_type and
currPvInfo. Maybe an incompatibility with the current gcc.

You may not even get that far if you don't have enough packages installed
on your Linux. On Ubuntu, "apt get build-essential" helps, but there are
more developer packages needed that build-essential doesn't pull in.



On Tue, Feb 28, 2023 at 11:32 AM Tim Mann <[email protected]> wrote:

> Thanks for letting me know. I get so many requests to post or join the
> mailing list from spambots that I needed to make sure you were a real human
> wanting to join!
>
> I haven't compiled the source for a while, but it was pretty
> straightforward last time I did. I'll see if there are any hints, and of
> course you can ask on the list.
>
> On Mon, Feb 27, 2023 at 2:32 PM Rick Groszkiewicz <[email protected]>
> wrote:
>
>> I have been working with HGM on this project:
>>
>> https://talkchess.com/forum3/viewtopic.php?f=7&t=80829&sid=e69a2860788f0963c60097ec4e9b1f88&start=160
>>
>> I was hoping for guidance on compiling the xboard source - either the
>> official code, or HGM's latest:
>>
>> https://git.savannah.gnu.org/cgit/xboard.git/tag/?h=v4.9.1
>>
>> http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=xboard.git;a=shortlog;h=refs/heads/v4.9.x
>>
>> Rick Groszkiewicz
>>
>

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

<div dir=3D"ltr"><div>The person (Arun Persaud) who used to update the &quo=
t;official&quot; xboard source on <a href=3D"http://savannah.gnu.org">savan=
nah.gnu.org</a> by merging in HGM&#39;s work mostly left the project severa=
l years ago, and I haven&#39;t been active in the project for many years ot=
her than to do occasional administrative things when needed. So I assume HG=
M&#39;s source is quite a ways ahead of what&#39;s on Savannah. Looking at =
the git log, I see the source on Savannah has not changed much since v4.9.1=
. was tagged.</div><div><br></div><div>I actually don&#39;t know how to git=
 clone HGM&#39;s source. I&#39;m not sure if he has a git server or only gi=
tweb. I wasn&#39;t able to guess the right URL to clone from via git:// or =
http://. HGM, if you&#39;re tuned in, can you answer that?</div><div><br></=
div><div>To clone the Savannah source, see these pages: <a href=3D"https://=
savannah.gnu.org/maintenance/UsingGit/">https://savannah.gnu.org/maintenanc=
e/UsingGit/</a> and <a href=3D"https://savannah.gnu.org/projects/xboard/">h=
ttps://savannah.gnu.org/projects/xboard/</a>. Getting a read-only clone may=
 be fine to start with, but if you are going to work on the code, I encoura=
ge you to sign up for a membership on Savannah (it&#39;s free, of course), =
and I can add you as an official project member there. I will have to revie=
w how to do that, but I used to know.=C2=A0 :-)</div><div><br></div><div>I =
see the compile instructions in the README are out of date for starting fro=
m a git clone. They are missing the initial step of running ./autogen.sh. I=
 tried the following on my current Ubuntu 22.04 system, which I think is mo=
re or less correct.<br></div><div><br></div><div>=C2=A0=C2=A0 ./autogen.sh<=
/div><div>=C2=A0=C2=A0 ./configure</div><div>=C2=A0=C2=A0 make</div><div><b=
r></div><div> However, the current git source at the head of the master bra=
nch ultimately fails to link with lots of &quot;multiple definition&quot; e=
rrors on ics_type and currPvInfo. Maybe an incompatibility with the current=
 gcc.</div><div><br></div><div>You may not even get that far if you don&#39=
;t have enough packages installed on your Linux. On Ubuntu, &quot;apt get b=
uild-essential&quot; helps, but there are more developer packages needed th=
at build-essential doesn&#39;t pull in.<br></div><div><br></div><div><br></=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Tue, Feb 28, 2023 at 11:32 AM Tim Mann &lt;<a href=3D"mailto:tim@tim=
-mann.org">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex"><div dir=3D"ltr"><div>Thanks for letting me know=
. I get so many requests to post or join the mailing list from spambots tha=
t I needed to make sure you were a real human wanting to join!</div><div><b=
r></div><div>I haven&#39;t compiled the source for a while, but it was pret=
ty straightforward last time I did. I&#39;ll see if there are any hints, an=
d of course you can ask on the list.<br></div></div><br><div class=3D"gmail=
_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Feb 27, 2023 at 2:32 =
PM Rick Groszkiewicz &lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"ltr">I have been working with HGM on this p=
roject:<div><a href=3D"https://talkchess.com/forum3/viewtopic.php?f=3D7&amp=
;t=3D80829&amp;sid=3De69a2860788f0963c60097ec4e9b1f88&amp;start=3D160" targ=
et=3D"_blank">https://talkchess.com/forum3/viewtopic.php?f=3D7&amp;t=3D8082=
9&amp;sid=3De69a2860788f0963c60097ec4e9b1f88&amp;start=3D160</a><br></div><=
div><br></div><div>I was hoping for guidance on compiling the xboard source=
 - either the official code, or HGM&#39;s latest:</div><div><br></div><div>=
<a href=3D"https://git.savannah.gnu.org/cgit/xboard.git/tag/?h=3Dv4.9.1" ta=
rget=3D"_blank">https://git.savannah.gnu.org/cgit/xboard.git/tag/?h=3Dv4.9.=
1</a><br></div><div><a href=3D"http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=
=3Dxboard.git;a=3Dshortlog;h=3Drefs/heads/v4.9.x" target=3D"_blank">http://=
hgm.nubati.net/cgi-bin/gitweb.cgi?p=3Dxboard.git;a=3Dshortlog;h=3Drefs/head=
s/v4.9.x</a><br></div><div><br></div><div>Rick Groszkiewicz</div></div>
</blockquote></div>
</blockquote></div>

--00000000000034d7ae05f5c857cc--