Actions
Bug #3061
closedNameError ins SConstruct
ASK QUESTIONS IN Forums:
No
Description
I stumbled upon an error while trying to build lighttpd (version 1.4.58) using scons:
scons --jobs="$(nproc)" build_fullstatic=1 build_dynamic=0 prefix=/usr/local with_all=yes install
Error:
NameError: name 'self' is not defined: File "/root/src/lighttpd/SConstruct", line 524: if env['with_fam'] and not self.CheckCHeader('sys/inotify.h'):
It seems that changing "self" to "autoconf" fixes the problem:
if env['with_fam'] and not autoconf.CheckCHeader('sys/inotify.h'):
Updated by gstrauss almost 4 years ago
- Category set to build_autotools
- Target version changed from 1.4.x to 1.4.59
Thanks. The typo will be fixed soon.
Updated by gstrauss almost 4 years ago
- Status changed from Patch Pending to Fixed
Applied in changeset f885498b466697b35c915830371aa8c51cd5e00a.
Actions
Also available in: Atom