[blfs-support] [Clfs-support] Hexchat problems

Roger Koehler roger.o.koehler at gmail.com
Wed Dec 28 09:29:26 PST 2016


On Tue, Dec 27, 2016 at 9:58 PM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
> Roger Koehler wrote:
>>
>> On Tue, Dec 27, 2016 at 9:13 PM, Bruce Dubbs <bruce.dubbs at gmail.com>
>> wrote:
>>>
>>> Roger Koehler wrote:
>>>>
>>>> I'll cc blfs-support. From BLFS book change log:
>>>>
>>>> * December 12th, 2016
>>>>             + [bdubbs] - Update to hexchat-2.12.4. Fixes #8635.
>>>>
>>>> Does not work for me using the latest development version of LFS
>>>> (vmlinuz-4.9-lfs-SVN-20161221) with all required and recommended BLFS
>>>> dependencies.
>>>
>>> hexchat is pretty simple.  I do not know why you are using a patch.  All
>>> you should need is:
>>>
>>> ./configure --prefix=/usr
>>> make
>>> (as root) make install
>>>
>>> I put my log at
>>> http://anduin.linuxfromscratch.org/~bdubbs/files/hexchat-2.12.4.log.  See
>>> if you can spot any differences from what you have.
>>
>> 259,267c260,889
>> < make[1]: Entering directory '/sources/hexchat/hexchat-2.12.4'
>> < CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
>> /sources/hexchat/hexchat-2.12.4/build-aux/missing aclocal-1.15 -I m4
>> < configure.ac:19: error: macro AX_APPEND_COMPILE_FLAGS is not
>> defined. Is autoconf-archive installed?
>> < configure.ac:17: HEX_CHECK_MACRO is expanded from...
>> < configure.ac:19: the top level
>> < autom4te: /usr/bin/m4 failed with exit status: 1
>> < aclocal-1.15: error: echo failed with exit status: 1
>> < make[1]: *** [Makefile:464: aclocal.m4] Error 1
>> < make[1]: Leaving directory '/sources/hexchat/hexchat-2.12.4'
>> ---
>>>
>>> (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
>>> /tmp/hexchat/hexchat-2.12.4/build-aux/missing autoheader)
>>> rm -f stamp-h1
>>> touch config.h.in
>>> cd . && /bin/sh ./config.status config.h
>>> config.status: creating config.h
>
> I just got back from a trip and have not set up all my systems yet.  I can
> do that tomorrow, but in the meantime, I see AX_APPEND_COMPILE_FLAGS is
> defined in hexchat-2.12.4/aclocal.m4:
>
> AC_DEFUN([AX_APPEND_COMPILE_FLAGS],
> [AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
> AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
> for flag in $1; do
>   AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3],
> [$4])
> done
> ])dnl AX_APPEND_COMPILE_FLAGS
>
> But why is autoreconf called at all?  It should not be needed.  I admit
> autoreconf fails for me as above.  It looks like the problem is with
> hexchat's configure.ac as AX_APPEND_COMPILE_FLAGS is used before it is
> defined.  It does look like they want autoconf-archive to be installed:
>
> HEX_CHECK_MACRO([AX_APPEND_COMPILE_FLAGS], [autoconf-archive])
>
> BLFS does not need autoconf-archive, so we don't install it.
>
> http://mirror.easthsia.com/gnu/autoconf-archive/autoconf-archive-2016.09.16.tar.xz

Thanks, Bruce. Installing autoconf-archive in /usr fixed it. (I tried
the default, /usr/local first, but I guess I'm set up wrong for that
right now.)


More information about the blfs-support mailing list