Subject: | Multiple gd.h warning |
Trying to build GD 2.44 the following warning was displayed:
** WARNING: found gd.h header file in /usr/X11R6/includegd.h, but it is
expected at /usr/local/include/gd.h. This may cause compile errors! **
First, there's probably a slash missing in /usr/X11R6/includegd.h.
But in this case both gd.h are actually the same file. Comparing the
inode numbers shows:
$ ls -1i /usr/X11R6/include/gd.h /usr/local/include/gd.h
2212950 /usr/X11R6/include/gd.h
2212950 /usr/local/include/gd.h
In my case there's a symlink from /usr/X11R6 to /usr/local. I don't
think that such symlink is unusual, because it's created automatically
at some Xorg upgrade. Probably GD's Makefile.Pl can check if it's really
a different file by checking the stat dev and ino numbers.
Regards,
Slaven