Re: How to declare header location?

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

 



On Sat, Feb 15, 2003 18:19:23 at 06:19:23PM +0100, Michael Schwendt (ms0301rh@arcor.de) wrote:
> 
> There it just checks a cached value. Find out what it does to test
> presence of that header file. See whether anything useful is in
> config.log or have a look at the portion of the configure script
> which checks for xpm.h.
> 
Good point, I should have done that immediately. It first fin an error
which says:

configure:1238: checking for X
configure:1552: checking for dnet_ntoa in -ldnet
configure:1571: gcc -o conftest -g -O2   conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 1560 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }

####################################################################

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/

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

Life is what happens whilst you're busy making other plans
                                                 (John Lennon)



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[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