MRM0607
October 11th, 2008, 08:21 PM
Dear Ubunutu user community,
I am new to ubuntu(linux) and I am new to Tcl/Tk as well. I need to install Tcl/Tk for another application (before its install). By mistake I uninstalled Tcl/Tk 8.5.4 from my UBUNTU machine. I installed TCL 8.5.4 from its TAR and it seems to working OK. But when I started installing Tk 8.5.4 from its TAR, make failed. I am listing first error it puts out.
mamta@requiem:~/Desktop/tk8.5.4/unix$ make
gcc -c -O2 -pipe -Wall -Wno-implicit-int -fPIC -I/home/mamta/Desktop/tk8.5.4/unix/../unix -I/home/mamta/Desktop/tk8.5.4/unix/../generic -I/home/mamta/Desktop/tk8.5.4/unix/../bitmaps -I/home/mamta/Desktop/tcl8.5.4/generic -I/home/mamta/Desktop/tcl8.5.4/unix -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /home/mamta/Desktop/tk8.5.4/unix/../generic/tk3d.c
In file included from /home/mamta/Desktop/tk8.5.4/unix/../generic/tkInt.h:21,
from /home/mamta/Desktop/tk8.5.4/unix/../generic/tk3d.c:16:
/home/mamta/Desktop/tk8.5.4/unix/../generic/tk.h:78:23: error: X11/Xlib.h: No such file or directory
after this there is along list of error.
I was wondering if somebody could help me to install Tk and guide me what the error is and how to resolve it.
If this is not the right place to ask this question please let me know where I can post this question.
Thank you.
mrm0607
I am new to ubuntu(linux) and I am new to Tcl/Tk as well. I need to install Tcl/Tk for another application (before its install). By mistake I uninstalled Tcl/Tk 8.5.4 from my UBUNTU machine. I installed TCL 8.5.4 from its TAR and it seems to working OK. But when I started installing Tk 8.5.4 from its TAR, make failed. I am listing first error it puts out.
mamta@requiem:~/Desktop/tk8.5.4/unix$ make
gcc -c -O2 -pipe -Wall -Wno-implicit-int -fPIC -I/home/mamta/Desktop/tk8.5.4/unix/../unix -I/home/mamta/Desktop/tk8.5.4/unix/../generic -I/home/mamta/Desktop/tk8.5.4/unix/../bitmaps -I/home/mamta/Desktop/tcl8.5.4/generic -I/home/mamta/Desktop/tcl8.5.4/unix -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /home/mamta/Desktop/tk8.5.4/unix/../generic/tk3d.c
In file included from /home/mamta/Desktop/tk8.5.4/unix/../generic/tkInt.h:21,
from /home/mamta/Desktop/tk8.5.4/unix/../generic/tk3d.c:16:
/home/mamta/Desktop/tk8.5.4/unix/../generic/tk.h:78:23: error: X11/Xlib.h: No such file or directory
after this there is along list of error.
I was wondering if somebody could help me to install Tk and guide me what the error is and how to resolve it.
If this is not the right place to ask this question please let me know where I can post this question.
Thank you.
mrm0607