Re: How to declare header location?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 15 Feb 2003 19:28:09 +0100, M. Fioretti wrote:

> configure:1238: checking for X

What paths does "configure" print out for X headers and X libs?
It should locate X headers and libs automatically.

> configure:1552: checking for dnet_ntoa in -ldnet

This is unrelated.

> The detailed log about xpm.h is:
> 
> configure:4121: checking for X11/xpm.h
> configure:4131: gcc -E -I../intl   -I/usr/X11R6/include
> -I/usr/local/include conftest.c >/dev/null 2>conftest.out
> cpp0: warning: changing search order for system directory
> "/usr/local/include"
> cpp0: warning:   as it has already been specified as a non-system
> directory
> configure: failed program was:
> #line 4126 "configure"
> #include "confdefs.h"
> #include <X11/xpm.h>
> 
> and this is how I launched configure:
> 
> ./configure --x-includes=/usr/X11R6/include/X11 \
> --x-libraries=/usr/X11R6/lib/

But above it uses /usr/X11R6/include which is correct.

At this point I took a look at the package. It's the GCC3 header
search order warning that confuses the configure script. Apply
attached patch and it works.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Tpgj0iMVcrivHFQRAqD0AJ9hejEMZ9RgCG00XleH2i45dRJebgCgiNms
jJkKvJgI1B0nJ9Jzkt1Atpk=
=WmbF
-----END PGP SIGNATURE-----

Attachment: configure.patch
Description: Binary data


[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux