[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Whiteglass cursor HOWTO ?



On Thu, 2004-01-08 at 14:01, Branden Robinson wrote:
> On Mon, Jan 05, 2004 at 12:18:40PM +0100, Xavier Bestel wrote:
> > Le lun 05/01/2004 à 12:10, Michel Dänzer a écrit :
> > > On Sun, 2004-01-04 at 22:10, Xavier Bestel wrote: 
> > > > Le dim 04/01/2004 à 16:20, Jean-Christophe Dubacq a écrit :
> > > > > At one point, it was necessary to have also libxcursor1-dev installed.
> > > > 
> > > > Bingo ! That was it, the /usr/lib/libXcursor.so -> libXcursor.so.1.0.1
> > > > symlink is in libxcursor-dev instead of libxcursor1. I wonder why ?
> > > 
> > > See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204358, fixed in
> > > libx11-6 4.3.0-0pre1v5.
> > 
> > Not really. I already had libx11-6 4.3.0-0pre1v5 installed, and I still
> > *had* to install libxcursor-dev to see the themed cursors.
> > Maybe it'll be fixed in a later version, but it's not now.
> 
> Could someone take a look at the attached file and tell me what's wrong
> with it?

Notice that

#ifndef LIBXCURSOR
#define LIBXCURSOR "libXcursor.so.1"
#endif

only has an effect if LIBXCURSOR isn't already defined, but in
lib/X11/Imakefile there's

#if BuildLoadableXlibXcursor
XCURSOR_DEFINES = -DUSE_DYNAMIC_XCURSOR
-DLIBXCURSOR=\"libXcursor.so.$(SOXCURSORREV)\"
#endif

and I don't see SOXCURSORREV being assigned anywhere, so LIBXCURSOR
probably ends up defined to "libXcursor.so.", which is consistent with
the strace output (but you can verify it in a build log):

open("/lib/libXcursor.so.", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("/usr/lib/libXcursor.so.", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libXcursor.so", O_RDONLY) = 4


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Software libre enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



Reply to: