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

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to