chmod +x build_detect_platform

make -f makefile.unix USE_UPNP=- USE_IPV6=-
Building LevelDB ...
/bin/sh: 1: ./build_detect_platform: Permission denied