Grace installation Ubuntu 8.10 - Motif error

Hi,

I am trying to install Grace version 5.1.22.
The configuration script gives the error below:

checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found

I had lesstif2 and lesstif2-dev installed when I first encountered the error. I installed libmotif3 and libmotif3-dev, but still getting the same error.

Any ideas? How can I sort this out?

Many thanks...

apprentice