I use Debian 5. I was building GN. I followed the instruction provided [here](https://gn.googlesource.com/gn/).
 I was executing these commands:

```
git clone https://gn.googlesource.com/gn
cd gn
python build/gen.py
ninja -C out

```

While executing `ninja -C out/` I receive this message:

```
ninja: Entering directory `out/'   
[1/238] CXX tools/gn/input_file.o  
FAILED: tools/gn/input_file.o   
clang++ -MMD -MF tools/gn/input_file.o.d  -I/home/us/WebRTCBuild/gn -I/home/us/WebRTCBuild/gn/out -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -std=c++14 -Wno-c++11-narrowing -c /home/us/WebRTCBuild/gn/tools/gn/input_file.cc -o tools/gn/input_file.o    
/bin/sh: clang++: command not found
[2/238] CXX base/callback_internal.o     
FAILED: base/callback_internal.o    
clang++ -MMD -MF base/callback_internal.o.d  -I/home/us/WebRTCBuild/gn -I/home/us/WebRTCBuild/gn/out -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -std=c++14 -Wno-c++11-narrowing -c /home/us/WebRTCBuild/gn/base/callback_internal.cc -o  
base/callback_internal.o       
/bin/sh: clang++: command not found        
ninja: build stopped: subcommand failed.  

```

As far as I understand problem shown in this message:

> 
> /bin/sh: clang++: command not found
> 
> 
> 

I already installed llvm. But it didn't work. 
I also read that it may be caused by absence of g++. But g++ installed. 

Result of executing `echo $PATH`: 

> 
> /usr/local/bin:/usr/bin:/bin:/usr/games:/opt/gcc49/bin
> 
> 
>