[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] [platform-testers] Pre-release recutils 1.7.91 in alp
From: |
Bruno Haible |
Subject: |
Re: [bug-recutils] [platform-testers] Pre-release recutils 1.7.91 in alpha.gnu.org |
Date: |
Tue, 20 Mar 2018 12:07:14 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-116-generic; KDE/5.18.0; x86_64; ; ) |
On mingw, even after fixing the euidaccess problem, the build fails:
libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../bash
-I../src -I../lib -I../../lib -I../../src -DHAVE_CONFIG_H -I/usr/include/bash
-I/usr/include/bash/lib -I/usr/include/bash/builtins
-I/usr/include/bash/include -I/usr/local/mingw32/include -Wall -g -O2 -MT
readrec.lo -MD -MP -MF .deps/readrec.Tpo -c ../../bash/readrec.c -DDLL_EXPORT
-DPIC -o .libs/readrec.o
../../bash/readrec.c:28:25: fatal error: bash/config.h: No such file or
directory
#include <bash/config.h>
^
compilation terminated.
Find attached the log files.
There is only one config.h file: src/config.h.
There is a file /usr/include/bash/config.h, but it is from the Cygwin
environment (the host environment, in which I build for mingw). My
configure command is:
../configure --host=i686-w64-mingw32 --prefix=/usr/local/mingw32 \
CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ \
CPPFLAGS="-I/usr/local/mingw32/include -Wall" \
LDFLAGS="-L/usr/local/mingw32/lib"
I think the problem comes from configure.ac, which tests whether
/usr/include/bash/config.h exists. It should better use an
AC_CHECK_HEADERS([bash/config.h])
invocation; this would work in cross-compilation environments.
Bruno
log1
Description: Text document
log2
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-recutils] [platform-testers] Pre-release recutils 1.7.91 in alpha.gnu.org,
Bruno Haible <=