Ei tunnu onnistuvan, ei. Alkaapi jo pikkuhiljaa tulla itku.
Elikkäs latasin tcl8.4.12-src.tar.gz ja tk8.4.12-src.tar.gz. Tcl:n asennus ei onnistu millään. Ohje sanoo, että purkaa paketin, menee unix-kansioon ja konsolissa
./configure
No, heittää tällasta:
[root@xxx unix]# ./configure
loading cache ./config.cache
./configure: line 1: cd: /home/joni/Uusi: No such file or directory
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... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking dirent.h... (cached)
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking if the compiler understands -pipe... yes
checking for building with threads... no (default)
checking for sin... (cached) no
checking for main in -lieee... (cached) yes
checking for main in -linet... (cached) no
checking for net/errno.h... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking how to build libraries... shared
checking for ranlib... (cached) ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.6.8.1-12mdk
checking for dlopen in -ldl... (cached) yes
checking for ar... (cached) ar
checking for build with symbols... no
checking for required early compiler flags... (cached) (cached) (cached) _LARGE
FILE64_SOURCE
checking for 64-bit integer type... (cached) long long
checking for struct dirent64... (cached) no
checking for struct stat64... (cached) yes
checking for open64... (cached) yes
checking for lseek64... (cached) yes
checking for off64_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for getcwd... (cached) yes
checking for opendir... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoll... (cached) yes
checking for strtoull... (cached) yes
checking for tmpnam... (cached) yes
checking for waitpid... (cached) yes
checking for strerror... (cached) yes
checking for getwd... (cached) yes
checking for wait3... (cached) yes
checking for uname... (cached) yes
checking for realpath... (cached) yes
checking for sys/modem.h... (cached) no
checking termios vs. termio vs. sgtty... (cached) termios
checking for fd_set in sys/types... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for tm_zone in struct tm... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking tm_tzadj in struct tm... (cached) no
checking tm_gmtoff in struct tm... (cached) yes
checking long timezone variable... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for fstatfs... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for memmove... (cached) yes
checking proper strstr implementation... yes
checking for strtoul... (cached) yes
checking for strtod... (cached) yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... (cached) ok
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... (cached) yes
checking for opendir... (cached) yes
checking union wait... (cached) yes
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... (cached) present
checking whether char is unsigned... (cached) no
checking signed char declarations... (cached) yes
checking for a putenv() that copies the buffer... (cached) no
checking for langinfo.h... (cached) yes
checking whether to use nl_langinfo... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
creating ./config.status
./config.status: line 28: kansio/tcl8.4.12/unix: No such file or directory
creating Makefile
sed: can't read /Makefile.in: No such file or directory
creating dltest/Makefile
sed: can't read /dltest/Makefile.in: No such file or directory
creating tclConfig.sh
sed: can't read /tclConfig.sh.in: No such file or directory
Sitten ohjeissa sanottiin, että kirjoita
make
No, tuleepa tällasta:
[root@xxx unix]# make
make: *** No targets. Stop.
Siinä ollaan. Onkos neuvoja? Distro on Mandrake 10.1.
Elikkäs latasin tcl8.4.12-src.tar.gz ja tk8.4.12-src.tar.gz. Tcl:n asennus ei onnistu millään. Ohje sanoo, että purkaa paketin, menee unix-kansioon ja konsolissa
./configure
No, heittää tällasta:
[root@xxx unix]# ./configure
loading cache ./config.cache
./configure: line 1: cd: /home/joni/Uusi: No such file or directory
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... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking dirent.h... (cached)
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking if the compiler understands -pipe... yes
checking for building with threads... no (default)
checking for sin... (cached) no
checking for main in -lieee... (cached) yes
checking for main in -linet... (cached) no
checking for net/errno.h... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking how to build libraries... shared
checking for ranlib... (cached) ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.6.8.1-12mdk
checking for dlopen in -ldl... (cached) yes
checking for ar... (cached) ar
checking for build with symbols... no
checking for required early compiler flags... (cached) (cached) (cached) _LARGE
FILE64_SOURCE
checking for 64-bit integer type... (cached) long long
checking for struct dirent64... (cached) no
checking for struct stat64... (cached) yes
checking for open64... (cached) yes
checking for lseek64... (cached) yes
checking for off64_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for getcwd... (cached) yes
checking for opendir... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoll... (cached) yes
checking for strtoull... (cached) yes
checking for tmpnam... (cached) yes
checking for waitpid... (cached) yes
checking for strerror... (cached) yes
checking for getwd... (cached) yes
checking for wait3... (cached) yes
checking for uname... (cached) yes
checking for realpath... (cached) yes
checking for sys/modem.h... (cached) no
checking termios vs. termio vs. sgtty... (cached) termios
checking for fd_set in sys/types... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for tm_zone in struct tm... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking tm_tzadj in struct tm... (cached) no
checking tm_gmtoff in struct tm... (cached) yes
checking long timezone variable... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for fstatfs... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for memmove... (cached) yes
checking proper strstr implementation... yes
checking for strtoul... (cached) yes
checking for strtod... (cached) yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... (cached) ok
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... (cached) yes
checking for opendir... (cached) yes
checking union wait... (cached) yes
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... (cached) present
checking whether char is unsigned... (cached) no
checking signed char declarations... (cached) yes
checking for a putenv() that copies the buffer... (cached) no
checking for langinfo.h... (cached) yes
checking whether to use nl_langinfo... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
creating ./config.status
./config.status: line 28: kansio/tcl8.4.12/unix: No such file or directory
creating Makefile
sed: can't read /Makefile.in: No such file or directory
creating dltest/Makefile
sed: can't read /dltest/Makefile.in: No such file or directory
creating tclConfig.sh
sed: can't read /tclConfig.sh.in: No such file or directory
Sitten ohjeissa sanottiin, että kirjoita
make
No, tuleepa tällasta:
[root@xxx unix]# make
make: *** No targets. Stop.
Siinä ollaan. Onkos neuvoja? Distro on Mandrake 10.1.
Vastaukset 6
Vanhimmat
joku syy olla käyttämättä jakelun omia paketteja? Oletan että tarvitsemasi paketit löytyvät mandr**** repoista.
Noita tcl:ää ja tk:ta osaisi urpmita easyurpmista?
koska en tuota mandr**** käytä. mutta eikö siinä nyt ole jonkinlainen haku olemassa? Hae nyt vaikka sanoilla tk ja tcl.
"./configure: line 1: cd: /home/joni/Uusi: No such file or directory "
poista välilyönti tuosta "Uusi jotakin" niin pitäisi toimia.
Kokeiles tuota:
http://www.activestate.com/Products/Download/Download.plex?id=ActiveTcl
Parasta olisi kuitenkin etsia rpm-paketti Mandraken sivuilta.
"Parasta olisi kuitenkin etsia rpm-paketti Mandraken sivuilta."
Öööhhh... Tcl ja tk on kyllä ihan peruskamaa joka jakelussa. Eli löytyvät todennäköisesti jo asennusmedialta (kannattaa ehkä päivittää). Eli ei noita nyt missään tapauksessa tarvitse lähteä kääntelemään mistään lähdekoodista.