www.delorie.com/gnu/docs/octave/kpathsea_43.html   search  
Buy GNU books!

Kpathsea: A library for path searching

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] Empty Makefiles

On some systems (NetBSD, FreeBSD, AIX 4.1, and Mach10), configure may fail to properly create the Makefiles. Instead, you get an error which looks something like this:

prompt$ ./configure
creating Makefile
sed: 1: "\\@^ac_include make/pat ...": \ can not be used as a string delimiter

So far as I know, the bug here is in /bin/sh on these systems. I don't have access to a machine running any of them, so if someone can find a workaround that avoids the quoting bug, I'd be most grateful. (Search for ac_include in the configure script to get to the problematic code.)

It should work to run bash configure, instead of using /bin/sh. You can get Bash from ftp://prep.ai.mit.edu/pub/gnu and mirrors.

Another possible cause (reported for NeXT) is a bug in the sed command. In that case the error may look like this:

Unrecognized command: \@^ac_include make/paths.make@r make/paths.make

In this case, installing GNU sed should solve the problem. You can get GNU sed from the same places as Bash.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003