Is there a typo? It should be g++-4.9and not g++4.9.