[Solved] abook installation problem

You have a problem with Slackel? Post here and we'll do what we can to help.
Post Reply
bsd4me
Posts: 110
Joined: 03 Jan 2018 19:27
Location: Kenai Peninsula in Alaska

[Solved] abook installation problem

Post 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.
Last edited by bsd4me on 07 Aug 2019 18:54, edited 1 time in total.
Retired at home in Alaska for now.
djemos
Site Admin
Posts: 697
Joined: 15 Apr 2016 06:03

Re: abook installation problem

Post 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
bsd4me
Posts: 110
Joined: 03 Jan 2018 19:27
Location: Kenai Peninsula in Alaska

Re: [Solved] abook installation problem

Post 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 :)
Retired at home in Alaska for now.
Post Reply