[OS X TeX] Re: Leopard, MacTeX2007 and gv

Martin Costabel costabel at wanadoo.fr
Sun Jun 29 04:02:09 EDT 2008


Eric van der Oord wrote:
[]
> [sdpp-01:~/Desktop/gv/gv-3.6.4] ericvand% make
> Making all in lib
> make  all-am
> make[2]: Nothing to be done for `all-am'.
> Making all in src
> make  all-am
> gcc -DHAVE_CONFIG_H -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE 
> -DGV_LIBDIR=\"/usr/local/lib/gv\" -I../lib -I../lib -g  
> -I/usr/X11R6/include -g -O2 -MT Aaa.o -MD -MP -MF .deps/Aaa.Tpo -c -o 
> Aaa.o Aaa.c
> In file included from Aaa.c:48:
> Aaa_intern.h:49:28: error: X11/Xlib.h: No such file or directory
> Aaa_intern.h:50:33: error: X11/Xresource.h: No such file or directory
> Aaa_intern.h:51:34: error: X11/IntrinsicP.h: No such file or directory
> Aaa_intern.h:52:34: error: X11/cursorfont.h: No such file or directory

Since the gcc command line does contain the flag "-I/usr/X11R6/include", 
this error message seems to say that you do not have the file
/usr/X11R6/include/X11/Xlib.h, nor the other 3 *.h files. If this is the 
case, your X11 installation is incomplete.

I see 2 possibilities for this to arrive:

1. You somehow managed not to install the X11SDK.pkg from the xcode 
tools installation, although on Leopard this is now standard, and the 
macosforge/xquartz update packages install its content, too, or

2. you do have /usr/X11/include/X11/Xlib.h, but the symlink
/usr/X11R6 -> X11 got destroyed by the installation of libXaw3d.

Please look at the output of

ls -l /usr/X11R6
ls -l /usr/X11/include/X11/Xlib.h
ls -l /usr/X11R6/include/X11/Xlib.h

The first should show the symlink, and the last two should show the same 
file.

-- 
Martin





More information about the MacOSX-TeX mailing list