dick freebird - 2023-03-20

There are system-specific issues with gaw
which xschem-gaw has inherited, in the
compile setup. Below is advice from The Man
(with my leading questions) about getting
past them. Note that hygiene recommends
deletion of existing gaw binary and any git
close residue (fresh pull).

checking for glib-2.0 >= 2.28.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'

The steps to do in the top directory of the gaw source are:

if you are lucky:
    ./configure
    make
    sudo make install
if above fails:
    aclocal && automake --add-missing && autoconf
    repeat step 1.

 ** <At this point I got to the next error, 
  as discussed below>**


Still no success? I got this error:
make[2]: Entering directory '/home/schippes/gaw_git/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.20**

What you need to do in this case is:
    edit  po/Makefile.in.in and locate the following line:
    GETTEXT_MACRO_VERSION = 0.xx
    and change the version number to the one shown in the error message (in example above 0.20)
    Repeat step 2.

At the bottom of it all, I had to do the
GETTEXT update (to 0.19, not 2.0, am I
already stale?) after using the autoconf
command to get ./configure pointed
straight, and after the usual sequence
there is a new gaw in my /usr/local/bin!