[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70867: sed fails to compile on AIX and MSVC
From: |
Bruno Haible |
Subject: |
bug#70867: sed fails to compile on AIX and MSVC |
Date: |
Fri, 10 May 2024 23:06:58 +0200 |
Hi,
On AIX 7.3.1, GNU sed fails to compile:
CC sed/sed-sed.o
../sed/sed.c:20:10: fatal error: getopt.h: No such file or directory
20 | #include <getopt.h>
| ^~~~~~~~~~
compilation terminated.
make: 1254-004 The error code from the last command is 1.
Likewise on native Windows, with the MSVC compiler:
sed\sed.c(20): fatal error C1083: Cannot open include file: 'getopt.h': No such
file or directory
make[2]: *** [Makefile:6034: sed/sed-sed.obj] Error 2
This patch fixes it, by using the Gnulib module 'getopt-gnu', as documented in
https://www.gnu.org/software/gnulib/manual/html_node/getopt_002eh.html
0001-build-Fix-FTBFS-on-AIX-and-MSVC.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#70867: sed fails to compile on AIX and MSVC,
Bruno Haible <=