Again, what does it says now?
readlines(`gmt --version`)[1]
Must be some remainings of previous settings/installation.