installation-error

Asked by Sachin Jain

student@student-desktop:~$ cd Downloads/
student@student-desktop:~/Downloads$ cd tk8.6.4/
student@student-desktop:~/Downloads/tk8.6.4$ cd unix/
student@student-desktop:~/Downloads/tk8.6.4/unix$ ./config
bash: ./config: No such file or directory
student@student-desktop:~/Downloads/tk8.6.4/unix$ ./configure
checking for Tcl configuration... found /home/student/Downloads/tcl8.6.4/unix/tclConfig.sh
checking for existence of /home/student/Downloads/tcl8.6.4/unix/tclConfig.sh... loading
checking for tclsh... /usr/local/bin/tclsh8.6
checking for tclsh in Tcl build directory... /home/student/Downloads/tcl8.6.4/unix/tclsh
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking if the compiler understands -pipe... yes
checking for pthread_mutex_init in -lpthread... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_atfork... yes
checking for building with threads... yes (threaded core)
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking if compiler supports visibility "hidden"... yes
checking if rpath support is requested... yes
checking system version... Linux-3.13.0-62-generic
checking for dlopen in -ldl... yes
checking for ar... ar
checking for cast to union support... yes
checking for build with symbols... no
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... long long
checking for struct dirent64... yes
checking for struct stat64... yes
checking for open64... yes
checking for lseek64... yes
checking for off64_t... yes
checking whether byte ordering is bigendian... no
checking for fd_set in sys/types... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for strtod... yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking pw_gecos in struct pwd... yes
checking for X... no
checking for X11 header files... couldn't find any!
checking for X11 libraries... checking for XCreateWindow in -lXwindow... no
could not find any! Using -lX11.
checking for main in -lXbsd... no
checking whether to use xft... no
checking for X11/XKBlib.h... no
checking whether XKeycodeToKeysym is deprecated... yes
checking whether to try to use XScreenSaver... yes
checking for X11/extensions/scrnsaver.h... no
checking for XScreenSaverQueryInfo... no
checking for XScreenSaverQueryInfo in -lXext... no
checking for XScreenSaverQueryInfo in -lXss... no
checking whether char is unsigned... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tkConfig.sh
config.status: creating tk.pc
student@student-desktop:~/Downloads/tk8.6.4/unix$ make
gcc -c -O2 -pipe -Wall -fPIC -DBUILD_tk -I/home/student/Downloads/tk8.6.4/unix/../unix -I/home/student/Downloads/tk8.6.4/unix/../generic -I/home/student/Downloads/tk8.6.4/unix/../bitmaps -I/home/student/Downloads/tcl8.6.4/generic -I/home/student/Downloads/tcl8.6.4/unix -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tk\ 8.6\" -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 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -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 -DXKEYCODETOKEYSYM_IS_DEPRECATED=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /home/student/Downloads/tk8.6.4/unix/../generic/tkStubLib.c
In file included from /home/student/Downloads/tk8.6.4/unix/../generic/tkPort.h:21:0,
                 from /home/student/Downloads/tk8.6.4/unix/../generic/tkInt.h:19,
                 from /home/student/Downloads/tk8.6.4/unix/../generic/tkStubLib.c:14:
/home/student/Downloads/tk8.6.4/unix/../generic/tk.h:96:25: fatal error: X11/Xlib.h: No such file or directory
 # include <X11/Xlib.h>
                         ^
compilation terminated.
make: *** [tkStubLib.o] Error 1

Question information

Language:
English Edit question
Status:
Invalid
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Vincent Ladeuil
Solved:
Last query:
Last reply:
Revision history for this message
Sachin Jain (sachinjain-12-ec) said :
#1

Please replr ASAP

Revision history for this message
Vincent Ladeuil (vila) said :
#2

This is unrelated to bzr ;)

I'm not sure why you want to install from source either, you didn't mention which OS you are using and said OS may provide a binary package already.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

If this is an Ubuntu system, try installing the libx11-dev package.