Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I need help: SCID on Mac OS X

Author: Daniel Clausen

Date: 02:03:09 03/14/02

Go up one level in this thread


On March 14, 2002 at 04:49:42, Jonas Soderberg wrote:

>Hi Sargon,
>>
>>The C++ compiler under OSX is called c++.
>
>Ok, that helped :-) but not all the way...
>
>I get the following output now:
>
>[localhost:~/Schack/scid-3.2] jonass% make
>c++  -O4 -fno-rtti -fno-exceptions -Wall   -I/sw/include -o src/tkscid.o -c
>src/tkscid.cpp
>In file included from src/tkscid.h:51,
>                 from src/tkscid.cpp:16:
>/sw/include/tk.h:83: X11/Xlib.h: No such file or directory
>make: *** [src/tkscid.o] Error 1
>

It seems that "X11/Xlib.h" is not installed where the compiler looks by default
(places like /usr/include, /usr/local/include etc) and also not in /sw/include
since otherwise it would find it, since you specified "-I/sw/include".

I suggest that you search for the file using "find / -name 'Xlib.h' -print" or
something like that. When the file is found at for example "/a/b/X11/Xlib.h",
just add a "-I/a/b" to the compiler flags. (at the same place where /sw/include
is added)

I've also seen systems where the X11-related header files are not in a directory
called X11 but in the parent directory. In such cases, creating a softlink (ie
with ln -s . X11) usually solves this problem.

Hope this helps.

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.