On Thu, 2007-12-27 at 11:06 +0000, mike wrote:
> Albert Santoni wrote:
> > On Wed, 2007-12-26 at 19:41 +0000, mike wrote:
> >   
> >> Albert Santoni wrote:
> >>     
> >>>> to: ret = context.TryAction("*export 
> >>>> PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/X11/lib64/pkgconfig:/opt/qt4/lib64/pkgconfig
> >>>>  
> >>>> &&* pkg-config --atleast-version=%s '%s'" % (version,name) )[0]
> >>>>     
> >>>>         
> >>> Why don't you just set your PKG_CONFIG_PATH env var properly before you
> >>> run SCONS in your bashrc (or whatnot)?
> >>>
> >>> Albert
> >>>
> >>>
> >>>   
> >>>       
> >> it is set, but scons ignore it. i reported this issue in this 
> >> mailinglist but nobody believes me.
> >> in someone version of svn, the sconscript take the env vars, but i see 
> >> this only one time. on all other try i must take this little hack...
> >>     
> >
> > Ah ok... I added a tiny tweak to the SConscript on the 24th I believe
> > that imports your existing environment (my bad). Does it work with
> > current SVN?
> >
> > Thanks,
> > Albert
> >
> >
> >   
> yes it works, but i can't find your tweak in sconscript 

Line 140 and 141 of the SConscript:

if platform == 'linux' or platform == 'osx':
        env = Environment(tools=['default','qt4', 'msvs'], toolpath=['../',
'./'], QTDIR=flags_qtdir, QT_LIB='', ENV = os.environ)

The last part ("ENV = os.environ") imports the existing environment.

> and why is gl.h 
> & glu.h hard coded to 
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/....?

Read carefully:

================
#Checks for OpenGL on all three platforms
def CheckOpenGL():
        if not conf.CheckLib('GL') and not conf.CheckLib('opengl32') and not
conf.CheckCHeader('/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h'):
.
.
.
========================

The first CheckLib call checks for GL on Linux, the second checks on
Win32, and the third checks on OS X. I could have made it some huge if
(platform == blah) block, but it's simpler this way (if you read the
comments).
If say, you're on Linux and the first CheckLib call fails, then you're
probably going to have bigger problems anyways.

Thanks,
Albert




> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to