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-tp20765691p... Sent from the Boost - Users mailing list archive at Nabble.com.
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, Ian McCulloch
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 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, Ian McCulloch
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/.-configure%3A-Permission-denied-%28Mac%29-tp20765691p... Sent from the Boost - Users mailing list archive at Nabble.com.
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
Hi Markus! I was downloading it from the following link: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041 Earlier I downloaded this file: boost_1_37_0.7z Now I downloaded boost_1_37_0.tar.bz2 It seems to be compiling as I write this. Thanks for the help to all!!! Markus Schöpflin wrote:
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/.-configure%3A-Permission-denied-%28Mac%29-tp20765691p... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (3)
-
framebuffer
-
Ian McCulloch
-
Markus Schöpflin