Preparing environment modules for building - abrodkin/modules GitHub Wiki

Run autotools

aclocal
autoheader
autopoint
automake --add-missing
autoreconf

Configure

Work-around for the folowing problem:

cmdModule.c: In function 'Execute_TclFile':
cmdModule.c:643:35: error: 'Tcl_Interp' has no member named 'errorLine'
cmdModule.c:644:15: error: 'Tcl_Interp' has no member named 'errorLine'

See this http://sourceforge.net/p/modules/bugs/62/

CPPFLAGS="-DUSE_INTERP_ERRORLINE" ./configure