Project

General

Profile

Actions

Bug #3061

closed

NameError ins SConstruct

Added by eryretqwewrqr about 3 years ago. Updated about 3 years ago.

Status:
Fixed
Priority:
Normal
Category:
build_autotools
Target version:
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'):
Actions #1

Updated by gstrauss about 3 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.

Actions #2

Updated by gstrauss about 3 years ago

  • Status changed from New to Patch Pending
Actions #3

Updated by gstrauss about 3 years ago

  • Status changed from Patch Pending to Fixed
Actions

Also available in: Atom