The problem was I using the purbasic directory named as purebasic(3)
The (3) part of the directory name was causing a token error
All good now.
Edit: I have had a good play around with my updated Ubuntu now with PB 4.6 running a few of my Windows based codes such as a couple of network samples, etc & I must say things seem to be so much smoother now than they were in the past. Apart from a couple of small things such as missing color constants,(#Red,#Green,#Blue, etc) everything just works... Don't know whether it is Ubuntu maturing or PB maturing, but it is a really pleasant surprise to find everything working so well now.
Even better to know that a lot of what I am writing will generally x compile so long as I can remember to try & keep the Win API out of it as much as possible.