[Gambas-user] how to override opengl pkg-config requirements??? building gambas from trunk

Benoît Minisini gambas at ...1...
Sat Jun 28 17:29:54 CEST 2014


Le 26/06/2014 20:53, PICCORO McKAY Lenz a écrit :
> i already compiled gambas 3.2 opengl module for lenny xorg 7.4 in
> past, but now in 3.5 trunk seems gambas need pkg-config files to find
> opengl requirements..
>
> i mean, if i have opengl and xorg on a custom setup as example...
>
> how can i override configure script to supply the opengl requirements?
> due i got this on debian lenny (venenux 0.8):
>
> configure: WARNING: Unable to met pkg-config requirement: gl
> configure: WARNING: gb.opengl is disabled
> no
> configure: WARNING: Unable to met pkg-config requirement: gl
> configure: WARNING: gb.opengl.glsl is disabled
> no
> configure: WARNING: Unable to met pkg-config requirement: glu
> configure: WARNING: gb.opengl.glu is disabled
> no
> configure: WARNING: Unable to met pkg-config requirement: gl
> configure: WARNING: gb.opengl.sge is disabled
>
> ||
> || Unable to met pkg-config requirement: gl
> || gb.opengl is disabled
> || Unable to met pkg-config requirement: gl
> || gb.opengl.glsl is disabled
> || Unable to met pkg-config requirement: glu
> || gb.opengl.glu is disabled
> || Unable to met pkg-config requirement: gl
> || gb.opengl.sge is disabled
> ||
>

This is actually foreseen, but the 'configure.ac' file of the 
'gb.opengl' components must be modified to explicitely use the 
'GB_COMPONENT_SEARCH' macro instead of 'GB_COMPONENT_PKG_CONFIG'.

That macro just uses 'GB_COMPONENT_PKG_CONFIG' first, and if it fails, 
uses the 'GB_COMPONENT' macro that browses the file system.

Regards,

-- 
Benoît Minisini




More information about the User mailing list