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