Subject: Re: XCursorGen
To: Juan RP <jrp@hispabsd.org>
From: Nicholas Ricketts <nightshade@phreaker.net>
List: tech-x11
Date: 08/17/2003 00:05:20
I tried to install xcursorgen from pkgsrc and got these errors. Any idea on 
how to install this? I really need to so I can build some custom cursors. 
Thanks.

# cd pkgsrc/x11/xcursorgen
# make
===> *** No /usr/pkgsrc/distfiles/vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for xcursorgen-4.3.0.tar.bz2.
===> Extracting for xcursorgen-4.3.0
===> Required installed package png>=1.2.4: png-1.2.5nb2 found
===> Required installed package x11-links>=0.12: x11-links-0.12 found
===> Patching for xcursorgen-4.3.0
===> Applying pkgsrc patches for xcursorgen-4.3.0
===> Overriding tools for xcursorgen-4.3.0
===> Buildlinking for xcursorgen-4.3.0
===> Configuring for xcursorgen-4.3.0
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
making Makefiles in redglass...
making Makefiles in whiteglass...
making Makefiles in handhelds...
make includes
including in ./redglass...
including in ./whiteglass...
including in ./handhelds...
make depend
rm -f .depend
gccmakedep -f-  --   -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15 
-DNARROWPROTO      -- xcursorgen.c > .depend
xcursorgen.c:33: X11/Xcursor/Xcursor.h: No such file or directory
depending in ./redglass...
depending in ./whiteglass...
depending in ./handhelds...
===> 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

Stop.
make: stopped in /usr/pkgsrc/x11/xcursorgen/work/xcursorgen
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xcursorgen
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xcursorgen


On Saturday 16 August 2003 04:05 pm, you wrote:
> On Sat, 16 Aug 2003 13:36:52 +0000
>
> Nicholas Ricketts <nightshade@phreaker.net> wrote:
> > I would do that execpt that I always update my x11 using xsrc. So whats
> > going to happen if I use the package to install xcursorgen then they fix
> > the xsrc so that xcursorgen builds by default. Then I will have a
> > problem. I will have 2 different verions installed in the same place. I
> > have png-1.2.5nb2 installed can I use this to compile xcursorgen under
> > xsrc. I really need it to compile from xsrc. If the package works why not
> > under work under xsrc. Is there a way  to force it to make xcursorgen
> > from xsrc?
>
> Try to add these lines to xsrc/xc/config/NetBSD.cf:
>
> #define ExtraLoadFlags -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
> #define BuildXcursorgen YES
>
> BTW, if you are using -current you can try the XFree86 packages, they are
> on pkgsrc-wip (http://pkgsrc-wip.sf.net), with xcursorgen and its themes.