Libraries use .h and .cpp, never .ino
PORTH is Mega-specific so perhaps you had the wrong board type selected.