View Revisions: Issue #522

Summary 0000522: Various build script issues for Gentoo Linux
Revision 2011-10-20 23:31 by john
Description SCons-related issues on Gentoo, from Michal Górny (via mailing list)

- ignorance of LDFLAGS,

(he wants CFLAGS and LDFLAGS to be picked up from the buildtime env, I think, so that portage is easier. We don't have to do that, but perhaps we need a way that those things can be passed in eg via command-line args)

- broken checking of swig version,

(current scons/swig.py refuses to allow SWIG 2.x. this should be easily fixed. ASCEND doesn't work with SWIG 2.x, but apparently that's not a problem for freesteam)

- creation of invalid (absolute) SONAME symlinks,

(Apparently we should avoid absolute path references in symlinks. Seems easy enough to fix)

- constant reconfiguring (a major flaw of SCons, very hard to hack
  around).

(That's not a serious problem, and it's even less of a problem for a packager than it is for a developer...)

Michal wants us to use Autotools, but supporting a flexible Windows environment seems to be quite problematic with Autotools, and I don't really like Autotools, I would rather support a Python-based build system with SCons.

Michal has written a partial Autotools build script set which he has hosted on Github.
https://github.com/mgorny/freesteam
Revision 2011-10-20 23:28 by john
Description SCons-related issues on Gentoo, from Michal Górny (via mailing list)

- ignorance of LDFLAGS,

(he wants CFLAGS and LDFLAGS to be picked up from the buildtime env, I think, so that portage is easier. We don't have to do that, but perhaps we need a way that those things can be passed in eg via command-line args)

- broken checking of swig version,

(current scons/swig.py refuses to allow SWIG 2.x. this should be easily fixed. ASCEND doesn't work with SWIG 2.x, but apparently that's not a problem for freesteam)

- creation of invalid (absolute) SONAME symlinks,

(Apparently we should avoid absolute path references in symlinks. Seems easy enough to fix)

- constant reconfiguring (a major flaw of SCons, very hard to hack
  around).

(That's not a serious problem, and it's even less of a problem for a packager than it is for a developer...)

Michal wants us to use Autotools, but supporting a flexible Windows environment seems to be quite problematic with Autotools, and I don't really like Autotools, I would rather support a Python-based build system with SCons.

Michal has written a partial Autotools build script set which he has hosted on Github.
Revision 2011-10-20 23:27 by john
Description SCons-related issues on Gentoo, from Micha? Górny (via mailing list)

- ignorance of LDFLAGS,

(he wants CFLAGS and LDFLAGS to be picked up from the buildtime env, I think, so that portage is easier. We don't have to do that, but perhaps we need a way that those things can be passed in eg via command-line args)

- broken checking of swig version,

(current scons/swig.py refuses to allow SWIG 2.x. this should be easily fixed. ASCEND doesn't work with SWIG 2.x, but apparently that's not a problem for freesteam)

- creation of invalid (absolute) SONAME symlinks,

(Apparently we should avoid absolute path references in symlinks. Seems easy enough to fix)

- constant reconfiguring (a major flaw of SCons, very hard to hack
  around).

(That's not a serious problem, and it's even less of a problem for a packager than it is for a developer...)

Michal wants us to use Autotools, but supporting a flexible Windows environment seems to be quite problematic with Autotools, and I don't really like Autotools, I would rather support a Python-based build system with SCons.

Michal has written a partial Autotools build script set which he has hosted on Github.