Project

General

Profile

Bug #3061

closed

NameError ins SConstruct

Added by eryretqwewrqr about 1 month ago. Updated 29 days 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'):
#1

Updated by gstrauss about 1 month ago

  • Category set to build_autotools
  • Target version changed from 1.4.x to 1.4.59

Thanks. The typo will be fixed soon.

#2

Updated by gstrauss about 1 month ago

  • Status changed from New to Patch Pending
#3

Updated by gstrauss 29 days ago

  • Status changed from Patch Pending to Fixed

Also available in: Atom