Page 1 of 1

[Solved] abook installation problem

Posted: 06 Aug 2019 18:29
by bsd4me
I have gettext .20 installed, but the build is looking for gettext .19. Is there a file I can edit to fix this, or what do I do?
Here is output of build:

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/src/slapt-src/office/abook/abook-0.6.1/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make all-recursive
make[1]: Entering directory '/usr/src/slapt-src/office/abook/abook-0.6.1'
Making all in po
make[2]: Entering directory '/usr/src/slapt-src/office/abook/abook-0.6.1/po'
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20
make[2]: *** [Makefile:158: check-macro-version] Error 1
make[2]: Leaving directory '/usr/src/slapt-src/office/abook/abook-0.6.1/po'
make[1]: *** [Makefile:540: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/slapt-src/office/abook/abook-0.6.1'
make: *** [Makefile:387: all] Error 2
fakeroot -- sh abook.SlackBuild Failed

Thanks for help.

Re: abook installation problem

Posted: 06 Aug 2019 21:42
by djemos
cd /usr/src/slapt-src/office/abook/
edit abook.SlackBuild

Code: Select all

sudo geany abook.SlackBuild 
and change the line 78 from

Code: Select all

sed 's/0.18/0.19/g' -i po/Makefile.in.in
to

Code: Select all

sed 's/0.18/0.20/g' -i po/Makefile.in.in
Then

Code: Select all

sudo sh abook.SlackBuild
or
Download all files from
can build package for 32bit also with

Code: Select all

fakeroot slkbuild -X

Re: [Solved] abook installation problem

Posted: 07 Aug 2019 18:56
by bsd4me
Thank you. Fixed it.
I saw that file and that line. I grepped "19" to find it, but didn't know if it was ok to change it, so I asked to make sure :)