Boost logo

Boost-Build :

Subject: Re: [Boost-build] Doc build failure on release branch
From: Eric Niebler (eric_at_[hidden])
Date: 2008-10-08 19:28:22


Daniel James wrote:
> I tried using my patch to build the
> documentation, and ran into this:
>
> http://svn.boost.org/trac/boost/browser/trunk/tools/build/v2/tools/common.jam?rev=48570#L510
>

I have patched my copy of common.jam locally to work around this
problem. The diff is:

Index: tools/common.jam
===================================================================
--- tools/common.jam (revision 49130)
+++ tools/common.jam (working copy)
@@ -505,6 +505,10 @@
      {
          return "set $(variable)=$(value)$(nl)" ;
      }
+ else if [ os.name ] = CYGWIN
+ {
+ return "export $(variable)=$(value)$(nl)" ;
+ }
      else
      {
          # (todo)

It seems to work just fine for me. I'm not sure if it's the Right Fix.
Perhaps someone more knowledgeable can have a look.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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