[Gllug] Problem compiling slackware pkg

Nix nix at esperi.org.uk
Wed Jul 12 19:45:55 UTC 2006

On Mon, 10 Jul 2006, Mike Brodbelt moaned:
> Then you'll need "./configure --includedir=/usr/include/" - it all

To be quite pedantic, that exact line is always useless (for a time
GCC even warned about it, but that was removed because it was too
annoying and led to autoconf tests failing when they shouldn't).

Non-cross-compiler GCC's always, *always* search /usr/include.

> depends on how the source file references the header. Also, the test
> that configure is using will be using a temporary source file generated
> by the autotools, which makes it harder to track down exactly what's
> going on.

Have a look at config.log. When tests fail the *entire* failed source
file is dumped in there, and all the compilation error and warning

`She *is*, however, one of the few sf authors with a last name ending in O,
 which adds some extra appeal to those of us who obsess about things like
 having a book review of an author for each letter in the alphabet.' -- rra
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list