Hi Steve,
On 11/03/2013 18:36, Steven McCoy wrote:
On 11 March 2013 12:09, Emmanuel TAUREL <[email protected]
<mailto:[email protected]>> wrote:
scons -f SConstruct.RHEL4
You probably want,
scons -f SConstruct.RHEL4 BUILD=RELEASE WITH_EXAMPLES=false
WITH_HTTP=false WITH_SNMP=false WITH_HISTOGRAMS=false
Comment out the lines in the SConstruct file to avoid the errors:
if not conf.CheckPKG('glib-2.0 >= 2.10'):
print 'glib-2.0 >= 2.10 not found.'
## Exit(1)
if not conf.CheckPKG('gthread-2.0'):
print 'gthread-2.0 not found.'
## Exit(1)
I still have troubles when running scons. Here are the console outputs:
scons -f SConstruct.RHEL4 BUILD=release WITH_EXAMPLES=false
WITH_HTTP=false WITH_SNMP=false WITH_HISTOGRAMS=false
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class
instead.
File
"/mntdirect/_users/taurel/src/libpgm-5.2.122/openpgm/pgm/SConstruct.RHEL4",
line 11, in <module>
scons: warning: The EnumOption() function is deprecated; use the
EnumVariable() function instead.
File
"/mntdirect/_users/taurel/src/libpgm-5.2.122/openpgm/pgm/SConstruct.RHEL4",
line 13, in <module>
Checking for pkg-config... yes
Checking for glib-2.0 >= 2.10... no
glib-2.0 >= 2.10 not found.
Checking for gthread-2.0... yes
Disabling Check unit tests.
Checking eventfd...no
scons: warning: BuildDir() and the build_dir keyword have been deprecated;
use VariantDir() and the variant_dir keyword instead.
File
"/mntdirect/_users/taurel/src/libpgm-5.2.122/openpgm/pgm/SConstruct.RHEL4",
line 265, in <module>
KeyError: 'GLIB_FLAGS':
File
"/mntdirect/_users/taurel/src/libpgm-5.2.122/openpgm/pgm/SConstruct.RHEL4",
line 271:
SConscript(ref_node + 'SConscript.libpgmex');
File
"/mntdirect/_users/taurel/bin/scons-2.2.0/lib/scons-2.2.0/SCons/Script/SConscript.py",
line 614:
return method(*args, **kw)
File
"/mntdirect/_users/taurel/bin/scons-2.2.0/lib/scons-2.2.0/SCons/Script/SConscript.py",
line 551:
return _SConscript(self.fs, *files, **subst_kw)
File
"/mntdirect/_users/taurel/bin/scons-2.2.0/lib/scons-2.2.0/SCons/Script/SConscript.py",
line 260:
exec _file_ in call_stack[-1].globals
File
"/mntdirect/_users/taurel/src/libpgm-5.2.122/openpgm/pgm/SConscript.libpgmex",
line 8:
e.MergeFlags(env['GLIB_FLAGS']);
File
"/mntdirect/_users/taurel/bin/scons-2.2.0/lib/scons-2.2.0/SCons/Environment.py",
line 412:
return self._dict[key]
Thank's for your help
Emmanuel
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev