Jump to content

Recommended Posts

Posted

Getting this compile error when I attempt to run make with mangos-zero on CentOS.

Scanning dependencies of target genrev

[ 0%] Building CXX object CMakeFiles/genrev.dir/src/tools/genrevision/genrevisi

on.cpp.o

Linking CXX executable genrev

[ 0%] Built target genrev

Scanning dependencies of target revision.h

[ 0%] Built target revision.h

Scanning dependencies of target TBB_Project

[ 0%] Creating directories for 'TBB_Project'

[ 0%] No download step for 'TBB_Project'

[ 0%] No patch step for 'TBB_Project'

[ 0%] No update step for 'TBB_Project'

[ 0%] No configure step for 'TBB_Project'

[ 0%] Performing build step for 'TBB_Project'

: command not founde_tbbvars.sh: line 28:

: command not founde_tbbvars.sh: line 28:

: command not found_info_linux.sh: line 28:

: command not founde_tbbvars.sh: line 28:

: command not found_info_linux.sh: line 28:

: command not founde_tbbvars.sh: line 28:

[ 0%] Performing install step for 'TBB_Project'

[ 0%] Completed 'TBB_Project'

[ 2%] Built target TBB_Project

Scanning dependencies of target ACE_Project

[ 2%] Creating directories for 'ACE_Project'

[ 2%] No download step for 'ACE_Project'

[ 2%] No patch step for 'ACE_Project'

[ 2%] No update step for 'ACE_Project'

[ 2%] Performing configure step for 'ACE_Project'

/bin/sh: /home/xxx/mangos-zero/source/dep/ACE_wrappers/configure: /bin/sh^M

: bad interpreter: No such file or directory

make[2]: *** [dep/ACE_wrappers/ACE_Project-prefix/src/ACE_Project-stamp/ACE_Proj

ect-configure] Error 126

make[1]: *** [dep/ACE_wrappers/CMakeFiles/ACE_Project.dir/all] Error 2

make: *** [all] Error 2

This is everything that make spits out.

Posted

"/bin/sh^M" o.O

According to Wikipedia, "^M" stands for Carriage return...i guess the script somehow got converted to windows line endings, and your shell doesn't like that...

Posted

Ugh, I'd love to know who's brilliant idea it was to use a different line ending format on their OS, so I can end their line. Them being invisible in most text editors doesn't help much either.

I really hate line endings right now.

Posted

Windows: CRLF

Unix, Linux and OSX: LF

Older Apples: CR

CRLF was 1st, but it takes twice the space to store compared to LF. Go figure witch is better and should be adopted by all others, because LF is smaller, but CRLF got backward compatibility.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use