It appears to be a strange behavior of the configure process.
I wanted to install bash in a non-standard directory "/usr/cs" and
dirent.h is located in /usr/include.
After setting:
export CFLAGS="-I/usr/include"
export CPPFLAGS="-I/usr/include"
I noticed that it insisted on adding: "-I/usr/cs/include" to the
include statements. After I removed all of -I/usr/cs/include statements
from the various makefiles, the compile worked.
The one other thing I noticed is that even with --enable-static-link
set, the Makefile still attempted to link to the shared .so libraries
under INTL_LIB and LIBINTL . It was a simple fix to switch them to ".a".
Thanks for the help
-Mark
Chet Ramey wrote:
> Well, the compiler's not finding <dirent.h>, that much is clear.
>
> Chet