No idea about compiling under linux, but what you need to change:
change zone/spdat.h
To load spells from the spells_us.txt:
Code:
#define NEW_LoadSPDat
//#define DB_LoadSPDat
to load spells from the database:
Code:
//#define NEW_LoadSPDat
#define DB_LoadSPDat