boost_1_30_0: cannot compile red hat gcc
I must be freakin stupid. I have the simplest config possible, gcc 2.96 with a red hat system. Downloaded boot1_30_0, unzipped it, tried to compile thread and got: bash-2.05a$ bjam "-sTOOLS=gcc" ...found 341 targets... ...updating 37 targets... MkDir1 ../../../libs/thread/build/bin-stage : command not found MkDir1 ../../../libs/thread/build/bin : command not found mkdir: cannot create directory `\r': File exists mkdir ../../../libs/thread/build/bin ...failed MkDir1 ../../../libs/thread/build/bin... Being jam ignorant, this is it, i am stuck :-(. Sigh.. Tried to run configure and got: bash-2.05a$ chmod +x configure bash-2.05a$ ./configure : bad interpreter: No such file or directory Seb.
On Mon, 2003-07-07 at 14:42, sebMarc wrote:
I must be freakin stupid. I have the simplest config possible, gcc 2.96 with a red hat system.
Downloaded boot1_30_0, unzipped it, tried to compile thread and got: bash-2.05a$ bjam "-sTOOLS=gcc" ...found 341 targets... ...updating 37 targets... MkDir1 ../../../libs/thread/build/bin-stage : command not found MkDir1 ../../../libs/thread/build/bin : command not found mkdir: cannot create directory `\r': File exists
mkdir ../../../libs/thread/build/bin
...failed MkDir1 ../../../libs/thread/build/bin...
Being jam ignorant, this is it, i am stuck :-(. Sigh..
Tried to run configure and got: bash-2.05a$ chmod +x configure bash-2.05a$ ./configure : bad interpreter: No such file or directory
That '\r' looks suspiciously like a carriage return. Have you verified that your file is using the UN*X-style line-feed ("\n") instead of the WINDOWS-style carriage-return/line-feed pair ("\r\n")? There are a number of ways to convert files between the two delimiter formats including emacs, dos2unix, unix2dos, etc. See "man dos2unix" for more details. Ed -- Edward H. Hill III, PhD http://paoc.mit.edu/paoc/people/person.asp?position=Postdoc&who=edhill office: Room 54-1424; MIT Dept. of EAPS; 77 Massachusetts Ave. Cambridge, MA 02139-4307 email: eh3@mit.edu, ed@eh3.com phone: 617-253-0098 fax: 617-253-4464 [Non-text portions of this message have been removed]
On Mon, 2003-07-07 at 14:42, sebMarc wrote:
I must be freakin stupid. I have the simplest config possible, gcc 2.96 with a red hat system.
Downloaded boot1_30_0, unzipped it, tried to compile thread and got: bash-2.05a$ bjam "-sTOOLS=gcc" ...found 341 targets... ...updating 37 targets... MkDir1 ../../../libs/thread/build/bin-stage : command not found MkDir1 ../../../libs/thread/build/bin : command not found mkdir: cannot create directory `\r': File exists
mkdir ../../../libs/thread/build/bin
...failed MkDir1 ../../../libs/thread/build/bin...
Being jam ignorant, this is it, i am stuck :-(. Sigh..
Tried to run configure and got: bash-2.05a$ chmod +x configure bash-2.05a$ ./configure : bad interpreter: No such file or directory
That '\r' looks suspiciously like a carriage return. Have you verified that your file is using the UN*X-style line-feed ("\n") instead of
WINDOWS-style carriage-return/line-feed pair ("\r\n")?
There are a number of ways to convert files between the two delimiter formats including emacs, dos2unix, unix2dos, etc. See "man dos2unix" for more details.
Ed
-- Edward H. Hill III, PhD http://paoc.mit.edu/paoc/people/person.asp?
What i actually downloaded the .zip version instead of the .tar.gz.
The .zip version is actually packaged for Windows users, hence the
extra line feeds.
I appreciated your answer Ed, it led me to the explanation.
Stupid me.
Seb.
--- In Boost-Users@yahoogroups.com, Ed Hill
office: Room 54-1424; MIT Dept. of EAPS; 77 Massachusetts Ave. Cambridge, MA 02139-4307 email: eh3@m..., ed@e... phone: 617-253-0098 fax: 617-253-4464
[Non-text portions of this message have been removed]
"sebMarc"
I must be freakin stupid. I have the simplest config possible, gcc 2.96 with a red hat system.
Downloaded boot1_30_0, unzipped it, tried to compile thread and got: bash-2.05a$ bjam "-sTOOLS=gcc" ...found 341 targets... ...updating 37 targets... MkDir1 ../../../libs/thread/build/bin-stage : command not found MkDir1 ../../../libs/thread/build/bin : command not found mkdir: cannot create directory `\r': File exists
mkdir ../../../libs/thread/build/bin
...failed MkDir1 ../../../libs/thread/build/bin...
Being jam ignorant, this is it, i am stuck :-(. Sigh..
Tried to run configure and got: bash-2.05a$ chmod +x configure bash-2.05a$ ./configure : bad interpreter: No such file or directory
Looks to me like you downloaded a zip archive with MS-DOS line endings instead of a .tar.gz archive as appropriate for Linux. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
David Abrahams
-
Ed Hill
-
sebMarc