Building Basemap code?

Hi

I have trying to follow the instruction to build Basemap (as per http://matplotlib.org/basemap/users/installing.html). I am running Ubuntu 13.04, with Python 2.7.4.

I work through the guide, but when I try and execute the:

python setup.py install

inside the basemap directory, I get a very very long set of messages/warnings, ending with:

collect2: error: ld returned 1 exit status

error: Command “x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/_geoslib.o -lgeos_c -lgeos -o build/lib.linux-x86_64-2.7/_geoslib.so” failed with exit status 1

And the test of:

from mpl_toolkits.basemap import Basemap

fails.

How do I proceed from here?

Thanks

Derek