Adding that results in
scons: Reading SConscript files ...
File "/home/vincent/src/sphere/sphere/SConstruct", line 134
base_env.Prepend(LINKFLAGS ' -lz ')
^
SyntaxError: invalid syntax
Changing the lines to
base_env.Prepend(LINKFLAGS = ' -lz ')
base_env.Append(LINKFLAGS = ' -lz ')
but I don't know if that's the right thing to do or not. In any case, it resulted in this:
scons: Reading SConscript files ...
os.name: posix
Using compiler: linux
Found sdl-config: /usr/bin/sdl-config
Using subsystem: unix
Found sdl-config: /usr/bin/sdl-config
Found wx-config: /usr/bin/wx-config
Found sdl-config: /usr/bin/sdl-config
Found sdl-config: /usr/bin/sdl-config
scons: done reading SConscript files.
scons: Building targets ...
g++ -o source/util/spktest/spktest -lz -lz source/util/spktest/spktest.o -Lsource/common -lz -lcommon -lcorona
source/common/libcommon.a(PackageFile.o): In function `CPackageFile::Close()':
PackageFile.cpp:(.text+0x38): undefined reference to `inflateEnd'
source/common/libcommon.a(PackageFile.o): In function `CPackageFile::Read(void*, int)':
PackageFile.cpp:(.text+0x165): undefined reference to `inflate'
source/common/libcommon.a(PackageFile.o): In function `CPackageFile::Seek(int)':
PackageFile.cpp:(.text+0x395): undefined reference to `inflateEnd'
PackageFile.cpp:(.text+0x3d8): undefined reference to `inflateInit_'
source/common/libcommon.a(PackageFile.o): In function `CPackageFile::CPackageFile(_IO_FILE*, int, int, int)':
PackageFile.cpp:(.text+0x517): undefined reference to `inflateInit_'
collect2: error: ld returned 1 exit status
scons: *** [source/util/spktest/spktest] Error 1
scons: building terminated because of errors.
It seems to error less than before, but maybe it didn't make a difference since it's stumbling on the same issue.