dependency fixing for xorg stuff
klammer at webonaut.com
Wed Jul 7 02:52:27 PDT 2004
Eric Anholt wrote:
> On Mon, 2004-07-05 at 10:04, Jeremy Messenger wrote:
[ fluxbox lines removed ]
>>>>A question, how would you like me to deal with the libXrender? The
>>>>x11/gcursor, my port, will need the libXrender if xorg is installed. It
>>>>doesn't need this if XFree86-lib is installed. If you already have this
>>>>plan, then nevermind and I will wait.
>>>xorg-libraries provides libXrender just like XFree86-4-libraries does.
>>>USE_XLIB will cover it fine. You may be thinking of the modular x
>>>effort, which is unfortunately still some time off before it'll be
>>>releasable for general use. Because of that I'm not working on
>>>supporting it, for the moment.
>>I have tested gcursor with xorg and it will fail compile because of
>>missing xrender.pc. I didn't check nor realized that if xorg-lib already
>>has libXrender, I just ammused that it needs libXrender so it's why I
>>asked and never gave the enough detail. However, Franz has gave the
>>perfect answer with bugzilla and etc of missing xrender.pc. Thanks! :-)
>>Here's error of gcursor compile:
>> ... gnome-config: not found
>>gnome-config: not found
>>Package xrender was not found in the pkg-config search path.
>>Perhaps you should add the directory containing `xrender.pc'
>>to the PKG_CONFIG_PATH environment variable
>>Package 'xrender', required by 'Xcursor', not found
>>configure: error: Library requirements (
>> ) not met; consider adjusting the PKG_CONFIG_PATH environment
>>variable if your libraries are in a nonstandard prefix so pkg-config can
>>===> Script "configure" failed unexpectedly.
> I can't reproduce this myself:
> checking for perl... /usr/bin/perl
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for
> ... yes
> checking GCURSOR_CFLAGS... -D_REENTRANT -DORBIT2=1 -DXTHREADS
> -DXUSE_MTSAFE_API -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0
> -I/usr/local/include/orbit-2.0 -I/usr/local/include/li....
> Are you sure your gnome install isn't broken? ("... gnome-config: not
guessing that gnome-config is some sort of fallback if xrender.pc will
not be found. after i applied the patch from xorg's bugzilla i didn't
see that error message again.
isn't it possible that you have some x11/libX*-ports (at least
libXrender) installed ... maybe?
my first idea was to install libXrender but then i've seen that
all the libraries will be still installed with xorg-libraries.
the only different was the missing xrender.pc.
and if i take a look into xcursor.pc i see the following:
therefor i think this i a xorg-libraries bug.
More information about the freebsd-ports