Hi all,
     I'm working my way through the O'Reilly Xlib book for something to do at
work
and I've hit a problem.
     If I try and build the first "basicwin.c" file using

     $gcc -g -owin basicwin.c -lXlib

I get

     ld: cannot open -lX11: No such file or directory

and if I try and build O'Reilly's example file usin imake I get a different
problem,

     Imakefile.c:13: Imake.tmpl: No such file or directory
     imake: Exit code 33.
     Stop.

Now Imake.tmpl exists in

     /usr/X11R6/lib/X11/config

and I have installed all the X development libraries I can find, so my question
is, what
haven't I set up that I need to? I assume I need to configure a library path
somewhere
for the gcc line to work but which one? Also, why doesn't the Imake work? Surely
that
should have been configured by the install script or do I need to do something
to that
too?

All suggestions gratefully received.


Reply via email to