I'm installing BLT module (among others) in my directories - not as a root user. The installation of Tcl and Tk went fine(that means that all of my system variables like PREFIX are set correctly), but when I try to install BLT i get this error message with make:
(cd src; make all)
make[1]: Entering directory `/usr/OpenFOAM/ext/src/tcl/blt2.4z/src'
gcc -c -Wall -m64 -fPIC -I. -I. -I/usr/OpenFOAM/ext/Linux/include bltAlloc.c
In file included from bltInt.h:80,
from bltAlloc.c:1:
bltNsUtil.h:50: error: conflicting types for ‘Tcl_FindComman d’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3125 : error: previous declaration of ‘Tcl_FindComman d’ was here
bltNsUtil.h:67: error: conflicting types for ‘Tcl_CreateName space’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3070 : error: previous declaration of ‘Tcl_CreateName space’ was here
bltNsUtil.h:72: error: conflicting types for ‘Tcl_FindNamesp ace’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3118 : error: previous declaration of ‘Tcl_FindNamesp ace’ was here
bltNsUtil.h:75: error: conflicting types for ‘Tcl_Export’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3088 : error: previous declaration of ‘Tcl_Export’ was here
make[1]: *** [bltAlloc.o] Error 1
make[1]: Leaving directory `/usr/OpenFOAM/ext/src/tcl/blt2.4z/src'
make: *** [all] Error 2
Please help, I'm eager to start learning Python (i bought 2 books from Amazon :), but I need to get it working. Thank You!
(cd src; make all)
make[1]: Entering directory `/usr/OpenFOAM/ext/src/tcl/blt2.4z/src'
gcc -c -Wall -m64 -fPIC -I. -I. -I/usr/OpenFOAM/ext/Linux/include bltAlloc.c
In file included from bltInt.h:80,
from bltAlloc.c:1:
bltNsUtil.h:50: error: conflicting types for ‘Tcl_FindComman d’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3125 : error: previous declaration of ‘Tcl_FindComman d’ was here
bltNsUtil.h:67: error: conflicting types for ‘Tcl_CreateName space’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3070 : error: previous declaration of ‘Tcl_CreateName space’ was here
bltNsUtil.h:72: error: conflicting types for ‘Tcl_FindNamesp ace’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3118 : error: previous declaration of ‘Tcl_FindNamesp ace’ was here
bltNsUtil.h:75: error: conflicting types for ‘Tcl_Export’
/usr/OpenFOAM/ext/Linux/include/tclDecls.h:3088 : error: previous declaration of ‘Tcl_Export’ was here
make[1]: *** [bltAlloc.o] Error 1
make[1]: Leaving directory `/usr/OpenFOAM/ext/src/tcl/blt2.4z/src'
make: *** [all] Error 2
Please help, I'm eager to start learning Python (i bought 2 books from Amazon :), but I need to get it working. Thank You!
Comment