[Scons-users] Installation of scons-2.3.3/4 fails but SCons-2-3.0 works proper
Gary Oberbrunner
garyo at oberbrunner.com
Mon Nov 10 09:28:33 EST 2014
What version of python do you have on that Solaris machine?
On Mon, Nov 10, 2014 at 8:59 AM, <Christopher.Korr at t-systems.com> wrote:
> Dear Scons users,
>
> I try to install SCons-2.3.4 on a Solaris 10 box, it works fine for 2.3.0
> but not for 2.3.3 and 2.3.4.
>
> In case of 2.3.0 I did successfully
>
> root at q4de3qsy126 /install/SCons-2.3.0
> # python setup.py install
> running install
> running build
> running build_py
> running build_scripts
> running install_lib
> running install_scripts
> copying script/scons -> /usr/bin/scons-2.3.0
> copying script/scons -> /usr/bin
> copying script/sconsign -> /usr/bin/sconsign-2.3.0
> copying script/sconsign -> /usr/bin
> copying script/scons-time -> /usr/bin/scons-time-2.3.0
> copying script/scons-time -> /usr/bin
> running install_data
> Installed SCons library modules into /usr/lib/scons-2.3.0
> Installed SCons scripts into /usr/bin
> Installed SCons man pages into /usr/man/man1
>
> and this installation seems to work fine, but is a very short list compared
> to 2.3.4.
> NOTE: This download was fetched as a trial from
> https://pypi.python.org/pypi/SCons/2.3.0, so this might be considered to
> compare with the below used download.
>
> If I try to do the same for version 2.3.4 I get
>
> root at q4de3qsy126 /install/scons-2.3.4
> # python setup.py install
> running install
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/SCons
> copying engine/SCons/Subst.py -> build/lib/SCons
> copying engine/SCons/Job.py -> build/lib/SCons
> copying engine/SCons/Action.py -> build/lib/SCons
> copying engine/SCons/Conftest.py -> build/lib/SCons
> copying engine/SCons/Defaults.py -> build/lib/SCons
> copying engine/SCons/Executor.py -> build/lib/SCons
> copying engine/SCons/SConsign.py -> build/lib/SCons
> copying engine/SCons/Sig.py -> build/lib/SCons
> copying engine/SCons/Warnings.py -> build/lib/SCons
> copying engine/SCons/Memoize.py -> build/lib/SCons
> copying engine/SCons/cpp.py -> build/lib/SCons
> copying engine/SCons/dblite.py -> build/lib/SCons
> copying engine/SCons/PathList.py -> build/lib/SCons
> copying engine/SCons/__init__.py -> build/lib/SCons
> copying engine/SCons/Taskmaster.py -> build/lib/SCons
> copying engine/SCons/SConf.py -> build/lib/SCons
> copying engine/SCons/exitfuncs.py -> build/lib/SCons
> copying engine/SCons/Util.py -> build/lib/SCons
> copying engine/SCons/CacheDir.py -> build/lib/SCons
> copying engine/SCons/Debug.py -> build/lib/SCons
> copying engine/SCons/Environment.py -> build/lib/SCons
> copying engine/SCons/Builder.py -> build/lib/SCons
> copying engine/SCons/Errors.py -> build/lib/SCons
> creating build/lib/SCons/compat
> copying engine/SCons/compat/_scons_sets.py -> build/lib/SCons/compat
> copying engine/SCons/compat/_scons_collections.py -> build/lib/SCons/compat
> copying engine/SCons/compat/_scons_hashlib.py -> build/lib/SCons/compat
> copying engine/SCons/compat/_scons_io.py -> build/lib/SCons/compat
> copying engine/SCons/compat/__init__.py -> build/lib/SCons/compat
> copying engine/SCons/compat/_scons_builtins.py -> build/lib/SCons/compat
> copying engine/SCons/compat/_scons_dbm.py -> build/lib/SCons/compat
> copying engine/SCons/compat/_scons_subprocess.py -> build/lib/SCons/compat
> creating build/lib/SCons/Node
> copying engine/SCons/Node/FS.py -> build/lib/SCons/Node
> copying engine/SCons/Node/Python.py -> build/lib/SCons/Node
> copying engine/SCons/Node/Alias.py -> build/lib/SCons/Node
> copying engine/SCons/Node/__init__.py -> build/lib/SCons/Node
> creating build/lib/SCons/Options
> copying engine/SCons/Options/PackageOption.py -> build/lib/SCons/Options
> copying engine/SCons/Options/BoolOption.py -> build/lib/SCons/Options
> copying engine/SCons/Options/__init__.py -> build/lib/SCons/Options
> copying engine/SCons/Options/EnumOption.py -> build/lib/SCons/Options
> copying engine/SCons/Options/PathOption.py -> build/lib/SCons/Options
> copying engine/SCons/Options/ListOption.py -> build/lib/SCons/Options
> creating build/lib/SCons/Platform
> copying engine/SCons/Platform/posix.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/os2.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/sunos.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/darwin.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/hpux.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/win32.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/__init__.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/cygwin.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/irix.py -> build/lib/SCons/Platform
> copying engine/SCons/Platform/aix.py -> build/lib/SCons/Platform
> creating build/lib/SCons/Scanner
> copying engine/SCons/Scanner/__init__.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/C.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/IDL.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/D.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/Dir.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/Fortran.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/LaTeX.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/RC.py -> build/lib/SCons/Scanner
> copying engine/SCons/Scanner/Prog.py -> build/lib/SCons/Scanner
> creating build/lib/SCons/Script
> copying engine/SCons/Script/Interactive.py -> build/lib/SCons/Script
> copying engine/SCons/Script/Main.py -> build/lib/SCons/Script
> copying engine/SCons/Script/__init__.py -> build/lib/SCons/Script
> copying engine/SCons/Script/SConsOptions.py -> build/lib/SCons/Script
> copying engine/SCons/Script/SConscript.py -> build/lib/SCons/Script
> creating build/lib/SCons/Tool
> copying engine/SCons/Tool/pdflatex.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/masm.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/dvipdf.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/link.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ilink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/SCCS.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/aixcc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/386asm.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/dvi.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gnulink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/yacc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sgiar.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/default.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/cvf.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/msgmerge.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/lex.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/mslink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/rmic.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/DCommon.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/rpmutils.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ilink32.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/mslib.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/rpcgen.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/icl.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gfortran.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sunc++.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/JavaCommon.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/pdftex.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/Perforce.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gettext.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/wix.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/msgfmt.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/qt.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/tex.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/PharLapCommon.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sgic++.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/dvips.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/cc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/latex.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/javah.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/fortran.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/g++.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/tar.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/aixf77.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/nasm.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gdc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gcc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/BitKeeper.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/c++.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sunar.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gas.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/applelink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sunf77.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/mingw.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/mwcc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sgilink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/mwld.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/msvc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/linkloc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ifl.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/icc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/dmd.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/FortranCommon.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/filesystem.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/msginit.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/suncc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/midl.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/tlib.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/f90.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/Subversion.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/hpcc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ipkg.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/g77.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/as.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/textfile.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/javac.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/hpc++.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/bcc32.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/f03.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sunf95.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ar.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/rpm.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/__init__.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/GettextCommon.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/hplink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/jar.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/f77.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/msvs.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/swig.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/CVS.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/aixlink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/aixc++.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sunf90.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/mssdk.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/cyglink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/RCS.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/m4.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ifort.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/gs.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/f95.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/xgettext.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sunlink.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/intelc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/install.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/ldc.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/pdf.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/zip.py -> build/lib/SCons/Tool
> copying engine/SCons/Tool/sgicc.py -> build/lib/SCons/Tool
> creating build/lib/SCons/Tool/docbook
> copying engine/SCons/Tool/docbook/__init__.py ->
> build/lib/SCons/Tool/docbook
> creating build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/common.py ->
> build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/sdk.py -> build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/vs.py -> build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/netframework.py ->
> build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/vc.py -> build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/__init__.py ->
> build/lib/SCons/Tool/MSCommon
> copying engine/SCons/Tool/MSCommon/arch.py -> build/lib/SCons/Tool/MSCommon
> creating build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/zip.py -> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/msi.py -> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/src_zip.py ->
> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/rpm.py -> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/src_tarbz2.py ->
> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/__init__.py ->
> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/targz.py ->
> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/tarbz2.py ->
> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/src_targz.py ->
> build/lib/SCons/Tool/packaging
> copying engine/SCons/Tool/packaging/ipk.py -> build/lib/SCons/Tool/packaging
> creating build/lib/SCons/Variables
> copying engine/SCons/Variables/ListVariable.py -> build/lib/SCons/Variables
> copying engine/SCons/Variables/PackageVariable.py ->
> build/lib/SCons/Variables
> copying engine/SCons/Variables/PathVariable.py -> build/lib/SCons/Variables
> copying engine/SCons/Variables/EnumVariable.py -> build/lib/SCons/Variables
> copying engine/SCons/Variables/__init__.py -> build/lib/SCons/Variables
> copying engine/SCons/Variables/BoolVariable.py -> build/lib/SCons/Variables
> running build_scripts
> creating build/scripts
> copying and adjusting script/scons -> build/scripts
> copying and adjusting script/sconsign -> build/scripts
> copying and adjusting script/scons-time -> build/scripts
> copying script/scons.bat -> build/scripts
> changing mode of build/scripts/scons from 644 to 755
> changing mode of build/scripts/sconsign from 644 to 755
> changing mode of build/scripts/scons-time from 644 to 755
> changing mode of build/scripts/scons.bat from 664 to 775
> running install_lib
> byte-compiling /usr/lib/scons-2.3.4/SCons/SConf.py to SConf.pyc
> File "/usr/lib/scons-2.3.4/SCons/SConf.py", line 199
> except TypeError as e:
> ^
> SyntaxError: invalid syntax
> byte-compiling /usr/lib/scons-2.3.4/SCons/cpp.py to cpp.pyc
> File "/usr/lib/scons-2.3.4/SCons/cpp.py", line 398
> p = self.stack[-1] if self.stack else self.default_table
> ^
> SyntaxError: invalid syntax
> byte-compiling /usr/lib/scons-2.3.4/SCons/Tool/ldc.py to ldc.pyc
> File "/usr/lib/scons-2.3.4/SCons/Tool/ldc.py", line 107
> env['DLIBLINKPREFIX'] = '' if env['PLATFORM'] == 'win32' else '-L-l'
> ^
> SyntaxError: invalid syntax
> byte-compiling /usr/lib/scons-2.3.4/SCons/Tool/rpmutils.py to rpmutils.pyc
> File "/usr/lib/scons-2.3.4/SCons/Tool/rpmutils.py", line 446
> except Exception as e:
> ^
> SyntaxError: invalid syntax
> byte-compiling /usr/lib/scons-2.3.4/SCons/Tool/dmd.py to dmd.pyc
> File "/usr/lib/scons-2.3.4/SCons/Tool/dmd.py", line 119
> env['DLIBLINKPREFIX'] = '' if env['PLATFORM'] == 'win32' else '-L-l'
> ^
> SyntaxError: invalid syntax
> byte-compiling /usr/lib/scons-2.3.4/SCons/Tool/gdc.py to gdc.pyc
> File "/usr/lib/scons-2.3.4/SCons/Tool/gdc.py", line 102
> env['DLIB'] = 'lib' if env['PLATFORM'] == 'win32' else 'ar cr'
> ^
> SyntaxError: invalid syntax
> running install_scripts
> copying script/scons -> /usr/bin/scons-2.3.4
> copying script/scons -> /usr/bin
> copying script/sconsign -> /usr/bin/sconsign-2.3.4
> copying script/sconsign -> /usr/bin
> copying script/scons-time -> /usr/bin/scons-time-2.3.4
> copying script/scons-time -> /usr/bin
> running install_data
> Installed SCons library modules into /usr/lib/scons-2.3.4
> Installed SCons scripts into /usr/bin
> Installed SCons man pages into /usr/man/man1
>
> I really don’ have an idea how to solve that. I tried to find information in
> the IN but nothing was found.
>
> If I need to supply further information, please let me know.
>
> Background:
> I came to this problem since I try to compile Subversion from source. There
> is a library libserf-1.so needed as a prerequisites and this uses SCons to
> be installed. Now I become nosy about it and like to give it a trial in
> other context.
>
>
> Kind regards,
>
> Christopher
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
--
Gary
More information about the Scons-users
mailing list