bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-recutils] bash 4.4 is the culpit when trying to (was recutils f


From: Charles Millar
Subject: Re: [bug-recutils] bash 4.4 is the culpit when trying to (was recutils fails to build amd-64 debian buster 4-13 (was recutils fails to build mad debian buster 4-13))
Date: Tue, 2 Jan 2018 16:14:34 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

OK. I finally figured out that bash version 4.4 is the reason why I could not make recutils with readrec. I also searched the net after working on this and found the same problem has been addressed in GUIX.

I tried ./ configure --with-bash-headers=/usr/include/bash, which was OK except that "make" resulted in the error mentioned in my first post.

With  ./configure --with-bash-headers=/usr/include/bash/include  the final message was readrec would not be compiled.

Also tried some combinations, such as "./configure --with-bash-heaers=/usr/include/bash --with-bash-heaers=/usr/include/bash/include" of the above with no luck.

I finally searched for the location of stdc.h. and discovered that it was now located in the "new" /usr/include/bash/include directory. My solution (if it can be called that) was to save a copy of /usr/include/bash to /usr/include/bash-orig and then copy the contents of /usr/include/bash/include to  /usr/include/bash.

I was then able to configure, make, make install recutils and enable the readrec bash builtin.

So a couple questions:

Is there a patch that takes care of this? I am using the version from the git repository; I pulled and updated yesterday.

If not, is there a combination I should use when running ./configure --with-bash-headers=??????

Charlie Millar


On 12/11/17 10:18, Charles Millar wrote:

Just to correct the subject line


On 12/11/2017 08:07, Charles Millar wrote:

Jose,

I attempted to build recutils 1.7 (pulled from the repository)  in Debian buster, kernel 4-13. the result I received was 

In file included from /usr/include/unistd.h:873:0,
                   from readrec.c:27:
  /usr/include/bash/builtins/getopt.h:26:18: fatal error: stdc.h: No such file or directory
   #include "stdc.h"
                    ^

Debian maintainers in this thread (Sep - Nov 2016)

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838624

reported that it was fixed in recutils.

Best,

Charlie Millar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]