Libya's parliament failed on Sunday to elect a new  prime minister, with frontrunner Ahmed Miitig falling short of the 120 votes needed under the constitution.