Boost logo

Boost-Build :

From: Daniel James (daniel_at_[hidden])
Date: 2004-11-28 04:58:07


gmu wrote:
> * rule gcc.init ( version ? : command * : options * )
> * called with: ( 3.2 g++-3.2 : : : : : : : )
> * extra argument g++-3.2

> /etc/site-config.jam:23: in modules.load

> I installed bjam using 'apt-get install bjam' and I installed
> boost-build by using dpkg-buildpackage to create the package from
> bbv2-m10. I'm calling bjam with 'bjam --v2'

I think your problem is with the boost build package, it installs the
file /etc/site-config.jam. If you look at that, it includes the line:

using gcc : 3.2 g++-3.2 ;

The correct syntax is:

using gcc : 3.2 : g++-3.2 ;

But you don't really want the line at all, so you might want to comment
it out, or even remove it completely.

Then again, I don't think the boost build package is ready for use (or
is it, Vladmir?). I don't think it currently offers any real advantage
over just using it straight from the source so it might be best to just
remove the package.

Vladmir, I've attached a patch for this.

I also think the debian version numbers need to be updated. Or is that
now the responsibility of Steve Robbins, as the debian maintainer? If
so, should the debian files be removed from the boost sources?

Daniel

 --------------050600040907070204090400 Content-Type: text/plain;
name="build-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="build-patch"

Index: user-config.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/user-config.jam,v
retrieving revision 1.13
diff -u -r1.13 user-config.jam
--- user-config.jam 11 Aug 2004 09:51:16 -0000 1.13
+++ user-config.jam 28 Nov 2004 00:16:29 -0000
@@ -20,7 +20,7 @@
# using gcc ;

# Configure specific gcc version, giving alternative name to use
-# using gcc : 3.2 g++-3.2 ;
+# using gcc : 3.2 : g++-3.2 ;

# MSVC configuration

Index: debian/rules
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/debian/rules,v
retrieving revision 1.1
diff -u -r1.1 rules
--- debian/rules 17 Dec 2003 14:32:14 -0000 1.1
+++ debian/rules 28 Nov 2004 00:16:30 -0000
@@ -26,7 +26,7 @@

(tar --exclude make --exclude CVS -cpf - example/* ) | ( cd `pwd`/debian/tmp/usr/share/doc/boost-build && tar xpf - )

- sed 's/# using gcc/using gcc/' user-config.jam > `pwd`/debian/tmp/etc/site-config.jam
+ sed 's/# using gcc ;/using gcc ;/' user-config.jam > `pwd`/debian/tmp/etc/site-config.jam

# dh_install
# dh_installmenu

 --------------050600040907070204090400--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk