he nervously glanced at a building nearby and , indeed , he saw the dogs staring at him from the shade of the building , attached to wooden posts by long pieces of rope , but they werent interested in him anymore .