Hartmut Kaiser | 1 Dec 02:14
Picon
Gravatar

[Review] UUID library (mini-)review ends today, November 30rd

Hi all,

the review of Andy Tompkins' UUID library ends today, November 30th.
Nevertheless, it's still possible to submit a review for at least a week, as
I'm not going to have time for the analysis of the review before Christmas.

Thanks to all of you who submitted a review.

Regards Hartmut
Review Manager
framebuffer | 1 Dec 04:52
Picon

./configure: Permission denied (Mac)


Hi!

I am trying to install boost 1.37 on Leopard 10.5.2.

I have put boost_1_37_0 in my home directory and I have successfully
compiled and executed a header only application.

I am following the following instructions:

http://www.boost.org/doc/libs/1_37_0/more/getting_started/unix-variants.html

When I try to run ./configure --help I get a permission denied error.

-bash: ./configure: Permission denied

When I say sudo: ./configure 

sudo: ./configure: command not found

The configure file is certainly there.

I have even tried to make it readable and writable by everyone.

Any ideas?
Thanks.
--

-- 
View this message in context: http://www.nabble.com/.-configure%3A-Permission-denied-%28Mac%29-tp20765691p20765691.html
Sent from the Boost - Users mailing list archive at Nabble.com.
(Continue reading)

Ian McCulloch | 1 Dec 05:26
Picon
Picon
Picon
Favicon

Re: ./configure: Permission denied (Mac)

framebuffer wrote:

> 
> Hi!
> 
> I am trying to install boost 1.37 on Leopard 10.5.2.
> 
> I have put boost_1_37_0 in my home directory and I have successfully
> compiled and executed a header only application.
> 
> I am following the following instructions:
> 
>
http://www.boost.org/doc/libs/1_37_0/more/getting_started/unix-variants.html
> 
> When I try to run ./configure --help I get a permission denied error.
> 
> -bash: ./configure: Permission denied
> 
> When I say sudo: ./configure
> 
> sudo: ./configure: command not found
> 
> The configure file is certainly there.
> 
> I have even tried to make it readable and writable by everyone.

And executable too?  That is a separate permission.

HTH,
(Continue reading)

Yang Zhang | 1 Dec 10:55
Picon
Gravatar

-Wundef warnings

When using the -Wundef flag with gcc, I get warnings like the following:

   error: "BOOST_MSVC" is not defined

At least once before this was brought up on the lists:

   http://lists.boost.org/boost-users/2006/10/22819.php

The suggested solution is to disable this warning.  However, it seems to 
make more sense to just fix this in Boost (using #if defined(...) or 
#ifdef).  Why not make this fix in Boost?
--

-- 
Yang Zhang
http://www.mit.edu/~y_z/
Picon

Re: [boost::filesystem::wpath]wpath missing in boost 1.37?

Hello,

You may wish to try tdm branch of mingw (http://www.tdragon.net/recentgcc/). Its gcc is 4.3.2 now.

> Sure, My GCC version is 3.4.x, So it does not support wide character natively . :(

> gcc-core-3.4.5-20060117-1-vista.tar.gz
> gcc-g++-3.4.5-20060117-1-vista.tar.gz
> mingw-runtime-3.14.tar.gz
>  mingw32-make-3.81-2.tar.gz
> mingw-utils-0.3.tar.gz
> w32api-3.11.tar.gz
> binutils-2.18.50-20080109.tar.gz
> gdb-6.7.50.20071127-mingw.tar.bz2

>> IIRC MinGW 3.4.x doesn't support wide character natively.  You can try
>>  to build boost with MinGW+STLPort which brings wchar_t support.  MinGW
>>  4.x might also have them.  

--

-- 
Constantin Bryzgalin
http://www.oneclicktools.com
John Maddock | 1 Dec 11:30
Picon

Re: -Wundef warnings

Yang Zhang wrote:
>> When using the -Wundef flag with gcc, I get warnings like the
>> following: 
>> 
>>   error: "BOOST_MSVC" is not defined
>> 
>> At least once before this was brought up on the lists:
>> 
>>   http://lists.boost.org/boost-users/2006/10/22819.php
>> 
>> The suggested solution is to disable this warning.  However, it
>> seems to make more sense to just fix this in Boost (using #if
>> defined(...) or #ifdef).  Why not make this fix in Boost?

Which Boost version, and which headers?

We did fix this where BOOST_WORKAROUND is used hence the question.

John.
Yang Zhang | 1 Dec 11:37
Picon
Gravatar

Re: -Wundef warnings

John Maddock wrote:
> Yang Zhang wrote:
>>> When using the -Wundef flag with gcc, I get warnings like the
>>> following:
>>>   error: "BOOST_MSVC" is not defined
>>>
>>> At least once before this was brought up on the lists:
>>>
>>>   http://lists.boost.org/boost-users/2006/10/22819.php
>>>
>>> The suggested solution is to disable this warning.  However, it
>>> seems to make more sense to just fix this in Boost (using #if
>>> defined(...) or #ifdef).  Why not make this fix in Boost?
> 
> Which Boost version, and which headers?
> 
> We did fix this where BOOST_WORKAROUND is used hence the question.
> 
> John.
> _______________________________________________
> Boost-users mailing list
> Boost-users <at> lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

boost 1.35, boost/foreach.hpp
--

-- 
Yang Zhang
http://www.mit.edu/~y_z/
framebuffer | 1 Dec 13:17
Picon

Re: ./configure: Permission denied (Mac)


Hi!

Thanks for the reply.

I did the following:

$ chmod u+x configure 
$ ./configure --help
-bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

I have checked that configure is indeed there. I even tried to double click
it to run it in the terminal but I am getting the same error.

Remember that I am on a mac (Leo 10.5.2). XCode 3.1 is installed and
configured.

Thanks,
fb.

Ian McCulloch wrote:
> 
> framebuffer wrote:
> 
>> 
>> Hi!
>> 
>> I am trying to install boost 1.37 on Leopard 10.5.2.
>> 
>> I have put boost_1_37_0 in my home directory and I have successfully
(Continue reading)

Jeff Garland | 1 Dec 13:30

[review][constrained_value] Review of Constrained Value Library begins today

Hi all,

The review of the Robert Kawulak's Constrained Value library begins today 
December 1, 2008, and will end on December 10th -- I will be the review 
manager.  Please post reviews to the developer list.

Here's the library synopsis:

The Boost Constrained Value library contains class templates useful for 
creating constrained objects. A simple example is an object representing an 
hour of a day, for which only integers from the range [0, 23] are valid values.

       bounded_int<int, 0, 23>::type hour;
       hour = 20; // OK
       hour = 26; // exception!

Behavior in case of assignment of an invalid value can be customized. The 
library has a policy-based design to allow for flexibility in defining 
constraints and behavior in case of assignment of invalid values. Policies may 
be configured at compile-time for maximum efficiency or may be changeable at 
runtime if such dynamic functionality is needed.

The library can be downloaded from the here:
http://rk.go.pl/f/constrained_value.zip

The documentation is also available online here:
http://rk.go.pl/r/constrained_value

---------------------------------------------------

(Continue reading)

Markus Schöpflin | 1 Dec 13:43
Picon
Favicon

Re: ./configure: Permission denied (Mac)

framebuffer wrote:

[...]

> $ chmod u+x configure 
> $ ./configure --help
> -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

[...]

This looks like the line endings in the configure script are DOS and not 
Unix. How did you obtain your Boost tree? From SVN or as an archive? If you 
download an archive, you need to choose the Unix variant to get correct 
line endings.

HTH, Markus

Gmane