Increasing Boost version for py2geom
Hello all,
While trying to build py2geom, I run into problems because the version of Boost that we use (1.34) does not support our compiler's version (gcc 4.4.1). Not being able to build py2geom is not a huge problem for Inkscape, but it is a big disappointment.
I read that Boost 1.37+ does support gcc 4.4.0. Boost 1.34 was released in 2007. Boost 1.37 at the end of 2008. Is that too recent for us to be able to use it?
Increasing the version of Boost for Windows is not a big problem, since we have our devlibs. For Linux, I do not know the issues involved.
Thanks, Johan
On 19/2/10 00:23, J.B.C.Engelen@...1578... wrote:
While trying to build py2geom, I run into problems because the version of Boost that we use (1.34) does not support our compiler's version (gcc 4.4.1). Not being able to build py2geom is not a huge problem for Inkscape, but it is a big disappointment.
I read that Boost 1.37+ does support gcc 4.4.0. Boost 1.34 was released in 2007. Boost 1.37 at the end of 2008. Is that too recent for us to be able to use it?
Increasing the version of Boost for Windows is not a big problem, since we have our devlibs. For Linux, I do not know the issues involved.
Don't know about Linux, but on Mac OS X 10.5 Leopard I have used Boost v1.39 - v1.42, installed via MacPorts [1] and built with gcc 4.0.1 [2], for Inkscape development snapshots (0.46+devel, 0.47+devel) - no issues except that it consumes a lot of disk space and takes nearly an hour to compile ;-).
AFAIU the same Boost version (currently 1.42) is available on the other OS X versions supported by MacPorts (Mac OS X 10.4 Tiger, Mac OS X 10.6 Snow Leopard).
I haven't tried to build py2geom itself on osx.
~suv
[1] http://trac.macports.org/browser/trunk/dports/devel/boost/Portfile http://trac.macports.org/browser/trunk/dports/devel/boost-jam/Portfile
[2] $ gcc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
Regards, Krzysztof
2010/2/19 <J.B.C.Engelen@...1578...>:
Hello all,
While trying to build py2geom, I run into problems because the version of Boost that we use (1.34) does not support our compiler's version (gcc 4.4.1). Not being able to build py2geom is not a huge problem for Inkscape, but it is a big disappointment.
I read that Boost 1.37+ does support gcc 4.4.0. Boost 1.34 was released in 2007. Boost 1.37 at the end of 2008. Is that too recent for us to be able to use it?
Increasing the version of Boost for Windows is not a big problem, since we have our devlibs. For Linux, I do not know the issues involved.
I think we can safely upgrade to some reasonably recent version, provided that it works on all platforms. 1.38 is now the default on Ubuntu Karmic, but most Boost releases are backwards compatible at the source code level. In general updating the header-only Boost libraries isn't as big of a deal as with other libraries, because they don't have any runtime dependencies.
However, we shouldn't include all the Boost packages in the devlibs. Currently we only use some of the header-only libraries and Boost.Python (for py2geom). I think updating existing boost headers and adding the Boost.Python binaries is OK, but other things (like Boost.Filesystem, Boost.Wave, etc.) should not be included.
Regards, Krzysztof
On Feb 18, 2010, at 3:23 PM, <J.B.C.Engelen@...1578...> wrote:
I read that Boost 1.37+ does support gcc 4.4.0. Boost 1.34 was released in 2007. Boost 1.37 at the end of 2008. Is that too recent for us to be able to use it?
Increasing the version of Boost for Windows is not a big problem, since we have our devlibs. For Linux, I do not know the issues involved.
You need to go over the various target distro's and see what they have supported.
Off hand, it sounds like a good idea to not make *inkscape* require newer versions of libs if we can help bit, but on any *specific* platform the newer Boost might be a dependency of the compiler or vice versa.
For instance, if an end user needs Boost 1.99 to work with their gcc 5.7 compiler, then they are free to jump all the way up to that.
See if you can run an update pass on
http://wiki.inkscape.org/wiki/index.php/Tracking_Dependencies#Libs
and
http://wiki.inkscape.org/wiki/index.php/Tracking_Dependencies#Distros
participants (4)
-
unknown@example.com
-
Jon Cruz
-
Krzysztof Kosiński
-
~suv