Boost logo

Boost :

Subject: Re: [boost] Strict or lax build configuration
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2009-11-16 07:16:13


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On
Behalf Of
> Vladimir Prus
> Sent: Monday, November 16, 2009 9:57 AM
> To: boost_at_[hidden]
> Subject: [boost] Strict or lax build configuration
>
> I have a question how building Boost should behave when the user
> provides wrong configuration information. E.g., suppose you have this in
> user-config.jam:
>
> using python : 3.20 : /nowhere ;
>
> or alternatively, in 1.42 a user runs Boost.Build as follows:
>
> ./bjam -sZLIB_INCLUDES=/still-nowhere ...
>
> What should happen?
>
> - A hard error. After all, the user wanted that specific configuration. And
> warnings are easy to miss.
> - A warning. Autodetection will still run and possibly find a random version
> - A hard error, but also run autodetection and let user know what was found.
> For example:
>
> Could not find Python version 3.20 in /nowhere.
> There is a valid installation of 2.5 in /usr.
> Remove the 'using python' statement to use it.

 - A hard error, but also run autodetection and let user know what was found.

       Could not find Python version 3.20 in /somewhere.
       There is a valid installation of 2.5 in /usr.
       Remove the 'using python' version to use Python version 2.5 in /usr
       or install Python version 3.20 at /somewhere.

for the oligoneuronic? (mea culpa!)

(Remove the 'using python' statement means you don't want Python at all?)

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk