Subject: Re: XCursorGen
To: Nicholas Ricketts <nightshade@phreaker.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 08/17/2003 09:51:54
On Sun, 17 Aug 2003, Nicholas Ricketts wrote:

> ===> Building for xcursorgen-4.3.0
> gcc -O2      -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15
> -DNARROWPROTO       -I/usr/pkg/include -I/usr/X11R6/include -c xcursorgen.c
> xcursorgen.c:33: X11/Xcursor/Xcursor.h: No such file or directory
> *** Error code 1

I guess you have "/usr/X11R6/include/X11/Xcursor/Xcursor.h", since you
said earlier that you'd just rebuilt and installed xsrc 4.3.0? You
never said what platform you're running, though. Some of the ports are
still running XFree86 3.3.*.

If you are running 4.3.0, here are the magic incantantions to build in
"/usr/xsrc/xfree/xc/programs/xcursorgen", and install:

  xmkmf -a -DHasLibpng=YES -DLibpngDir=/usr/pkg -DLdPostLib=-Wl,-R/usr/pkg/lib
  make XCURSORGEN=../xcursorgen
  su #...
  make install
  make install.man

Tested on NetBSD-1.6.1/i386. Hope that helps.

Frederick