The data loader should compile very simple.
cd postgis-0.5/loader make
The loader is called "shp2pgsql" and converts ESRI Shape files into SQL suitable for loading in PostGIS/PostgreSQL.