Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16452

(IMPORTANT/URGENT) Regarding Missing Files in bash source code?

From Humanities Clinic <humanitiesclinic@gmail.com>
Newsgroups gnu.bash.bug
Subject (IMPORTANT/URGENT) Regarding Missing Files in bash source code?
Date 2020-06-24 13:09 +0800
Message-ID <mailman.368.1592991753.2574.bug-bash@gnu.org> (permalink)
References <CAFoojOo6BXD77zTSMr+jRS5=FoxiuDZ57u4F-FqK3vVcMZmvJA@mail.gmail.com>

Show all headers | View raw


Dear Person-in-Charge

I am facing problems trying to compile Bash 3.2.57 for Mac OS. I am
choosing to compile this because that's the default version of my Bash
executable that was shipped with my OS.

All the problems have got to do with missing includes. Please see:

gcc  -DPROGRAM=bash -DCONF_HOSTTYPE=i386 -DCONF_OSTYPE=darwin17.7.0
-DCONF_MACHTYPE=i386-apple-darwin17.7.0 -DCONF_VENDOR=apple
-DLOCALEDIR=/usr/local/share/locale -DPACKAGE=bash -DSHELL -DHAVE_CONFIG_H
-DMACOSX   -I.  -I. -I./include -I./lib -I./lib/intl
-I/Volumes/Untitled-2-bigger/zzDEVELOP/bash/bash-3.2.57-BUILD/lib/intl  -g
-O2 -c version.c
version.c:27:10: fatal error: 'version.h' file not found
#include "version.h"

gcc  -DPROGRAM=bash -DCONF_HOSTTYPE=i386 -DCONF_OSTYPE=darwin17.7.0
-DCONF_MACHTYPE=i386-apple-darwin17.7.0 -DCONF_VENDOR=apple
-DLOCALEDIR=/usr/local/share/locale -DPACKAGE=bash -DSHELL -DHAVE_CONFIG_H
-DMACOSX   -I.  -I. -I./include -I./lib -I./lib/intl
-I/Volumes/Untitled-2-bigger/zzDEVELOP/bash/bash-3.2.57-BUILD/lib/intl  -g
-O2 -c jobs.c
jobs.c:72:10: fatal error: 'builtins/builtext.h' file not found
#include "builtins/builtext.h"

I double-checked the original folder in
http://ftp.gnu.org/gnu/bash/bash-3.2.57.tar.gz. It's true these files are
missing.

May I know why is this so, and how this can be rectified?

I see there is folder of patches. However I am new to do this and not sure
how to make use of the patch. Is there a guide on how to do this, if
patches is the solution?

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

(IMPORTANT/URGENT) Regarding Missing Files in bash source code? Humanities Clinic <humanitiesclinic@gmail.com> - 2020-06-24 13:09 +0800

csiph-web