[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-recutils] building: recutils bash builtins/readrec.so; "howto" some
From: |
recutils |
Subject: |
[bug-recutils] building: recutils bash builtins/readrec.so; "howto" somewhere? |
Date: |
Fri, 03 Nov 2017 10:34:32 -0500 |
Greetings:
I'm on fedora 26. The fedora recutils package does not have recutils bash
builtins,
like readrec, so
"enable readrec.so readrec"
fails.
In order to build recutils from the tarball, I need to set up several bash
header directories.
I got started on this by untarring bash source code, and made some progress, but
punted after about 1 hour - I really do not know what I am doing.
Is there a "how to" build recutils with 'bash builtins' somewhere?
--
thanks/regards
--
--snip/I created dir /usr/include/bash and copied in bash headers as needed;
honestly "in dark/unclear w/r to my process" ... Here is last, example fail:
Making all in utils
make[1]: Entering directory '/usr/local/src/recutils-1.7/utils'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/local/src/recutils-1.7/utils'
Making all in bash
make[1]: Entering directory '/usr/local/src/recutils-1.7/bash'
depbase=`echo readrec.lo | sed 's|[^/]*$|.deps/&|;s|\.[^.]*$||'` && \
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../src
-I../src -DHAVE_CONFIG_H -I/usr/include/bash -I/usr/include/bash/lib
-I/usr/include/bash/builtins -g -O2 -MT readrec.lo -MD -MP -MF $depbase.Tpo
-c -o readrec.lo readrec.c && \
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src -I../src -DHAVE_CONFIG_H
-I/usr/include/bash -I/usr/include/bash/lib -I/usr/include/bash/builtins -g -O2
-MT readrec.lo -MD -MP -MF .deps/readrec.Tpo -c readrec.c -fPIC -DPIC -o
.libs/readrec.o
In file included from /usr/include/bash/shell.h:25:0,
from readrec.c:33:
/usr/include/bash/bashjmp.h:24:22: fatal error: posixjmp.h: No such file or
directory
#include "posixjmp.h"
^
compilation terminated.
Makefile:1611: recipe for target 'readrec.lo' failed
make[1]: *** [readrec.lo] Error 1
make[1]: Leaving directory '/usr/local/src/recutils-1.7/bash'
Makefile:1553: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
- [bug-recutils] building: recutils bash builtins/readrec.so; "howto" somewhere?,
recutils <=