bloodshed
Guest
проблемы с установкой tcl8.3.4
после команды
./configure --disable-shared --prefix=/home/.../.../daemon
выводит в конце:
checking how to build libraries... static
creating ./config.status
creating Makefile
creating tclConfig.sh
после команды make выводит:
cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -fno-inline -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DNO_ERRNO_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DNO_FD_SET=1 -DTM_IN_SYS_TIME=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNO_GETTOD=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1 -DSTATIC_BUILD=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/
../generic/regcomp.c:143: error: syntax error before "FILE"
../generic/regcomp.c:149: error: syntax error before "FILE"
../generic/regcomp.c:158: error: syntax error before "FILE"
../generic/regcomp.c:165: error: syntax error before "FILE"
../generic/regcomp.c: In function `TclReComp':
../generic/regcomp.c:295: error: `FILE' undeclared (first use in this function)
../generic/regcomp.c:295: error: (Each undeclared identifier is reported only once
../generic/regcomp.c:295: error: for each function it appears in.)
../generic/regcomp.c:295: error: `debug' undeclared (first use in f `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2098: warning: implicit declaration of function `fflush'
../generic/regcomp.c: In function `stdump':
../generic/regcomp.c:2108: error: syntax error before "FILE"
../generic/regcomp.c:2113: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2115: warning: passing arg 1 of `fprintf' mg arg 1 of `fprintf' makes pointer from integer without a cast
`fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2143: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c: In function `stid':
icit declaration of function `sprintf'
In file included from ../generic/regcomp.c:2173:
../generic/regc_nfa.c: In function `optimize':
../generic/regc_nfa.c:711: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `fixempties':
../generic/regc_nfa.c:1033: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpnfa':
../generic/regc_nfa.c:1343: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpcnfa':
../generic/regc_nfa.c:1511: error: syntax error before "FILE"
make: *** [regcomp.o] Error 1
после команды make install выводит:
cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -fno-inline -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DNO_ERRNO_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DNO_FD_SET=1 -DTM_IN_SYS_TIME=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNO_GETTOD=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1 -DSTATIC_BUILD=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
In file included from ../generic/regcustom.h:30,
from ../generic/regguts.h:38,
from ../generic/regcomp.c:33:
../generic/tclInt.h:30:19: stdio.h: No such file or directory
In file included from ../generic/tclInt.h:33,
from ../generic/regcustom.h:30,
from ../generic/regguts.h:38,
../generic/tclIntDecls.h:94: error: syntax error before '*' token
../generic/tclIntDecls.h:572: error: syntax error before '*' token
In file incILE"
../generic/regcomp.c:75: error: syntax error before "FILE"
../generic/regcomp.c:140: error: syntax error before "FILE"
../generic/regcomp.c:141: error: syntax error before "FILE"
"FILE"
../generic/regcomp.c: In function `TclReComp':
../generic/regcomp.c:295: error: `FILE' undeclared (first use in this function)
../generic/regcomp.c:295: error: (Each undeclared identifier is reported only once
../generic/regcomp.c:295: error: for each function it appears in.)
../generic/regcomp.c:295: error: `debug' undeclared (first use in this function)
../generic/regcomp.c:295: error: `stdout' undeclared (first use in this function)
../generic/regcomp.c:295: error: syntax error before ')' token
../generic/regcomp.c:373: warning: implicit declaration of function `assert'
../generic/regcomp.c:381: warning: implicit declaration of function `fprintf'
../generic/regcomp.c:2047: error: syntax error before "FILE"
../generic/regcomp.c: In function `dumpst':
../generic/regcomp.c:2091: error: syntax error before "FILE"
../generic/regcomp.c:2095: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2098: warning: implicit declaration of function `fflush'
../generic/regcomp.c: In function `stdump':
../generic/regcomp.c:2108: error: syntax error before "FILE"
../generic/regcomp.c:2113: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2131: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2132: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
makes pointer from integer without a cast
../generic/regcomp.c: In function `stid':
../generic/regcomp.c:2165: warning: implicit declaration of function `sprintf'
In file included from ../generic/regcomp.c:2173:
../generic/regc_nfa.c: In function `optimize':
../generic/regc_nfa.c:711: error: syntax error before "FILE"
../generic/regc_nfa.c:1033: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpnfa':
../generic/regc_nfa.c:1343: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpcnfa':
../generic/regc_nfa.c:1511: error: syntax error before "FILE"
make: *** [regcomp.o] Error 1
и нечего не устонавливается, в чём ошибка? Что делать?
после команды
./configure --disable-shared --prefix=/home/.../.../daemon
выводит в конце:
checking how to build libraries... static
creating ./config.status
creating Makefile
creating tclConfig.sh
после команды make выводит:
cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -fno-inline -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DNO_ERRNO_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DNO_FD_SET=1 -DTM_IN_SYS_TIME=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNO_GETTOD=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1 -DSTATIC_BUILD=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/
../generic/regcomp.c:143: error: syntax error before "FILE"
../generic/regcomp.c:149: error: syntax error before "FILE"
../generic/regcomp.c:158: error: syntax error before "FILE"
../generic/regcomp.c:165: error: syntax error before "FILE"
../generic/regcomp.c: In function `TclReComp':
../generic/regcomp.c:295: error: `FILE' undeclared (first use in this function)
../generic/regcomp.c:295: error: (Each undeclared identifier is reported only once
../generic/regcomp.c:295: error: for each function it appears in.)
../generic/regcomp.c:295: error: `debug' undeclared (first use in f `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2098: warning: implicit declaration of function `fflush'
../generic/regcomp.c: In function `stdump':
../generic/regcomp.c:2108: error: syntax error before "FILE"
../generic/regcomp.c:2113: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2115: warning: passing arg 1 of `fprintf' mg arg 1 of `fprintf' makes pointer from integer without a cast
`fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2143: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c: In function `stid':
icit declaration of function `sprintf'
In file included from ../generic/regcomp.c:2173:
../generic/regc_nfa.c: In function `optimize':
../generic/regc_nfa.c:711: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `fixempties':
../generic/regc_nfa.c:1033: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpnfa':
../generic/regc_nfa.c:1343: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpcnfa':
../generic/regc_nfa.c:1511: error: syntax error before "FILE"
make: *** [regcomp.o] Error 1
после команды make install выводит:
cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -fno-inline -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DNO_ERRNO_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DNO_FD_SET=1 -DTM_IN_SYS_TIME=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNO_GETTOD=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1 -DSTATIC_BUILD=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
In file included from ../generic/regcustom.h:30,
from ../generic/regguts.h:38,
from ../generic/regcomp.c:33:
../generic/tclInt.h:30:19: stdio.h: No such file or directory
In file included from ../generic/tclInt.h:33,
from ../generic/regcustom.h:30,
from ../generic/regguts.h:38,
../generic/tclIntDecls.h:94: error: syntax error before '*' token
../generic/tclIntDecls.h:572: error: syntax error before '*' token
In file incILE"
../generic/regcomp.c:75: error: syntax error before "FILE"
../generic/regcomp.c:140: error: syntax error before "FILE"
../generic/regcomp.c:141: error: syntax error before "FILE"
"FILE"
../generic/regcomp.c: In function `TclReComp':
../generic/regcomp.c:295: error: `FILE' undeclared (first use in this function)
../generic/regcomp.c:295: error: (Each undeclared identifier is reported only once
../generic/regcomp.c:295: error: for each function it appears in.)
../generic/regcomp.c:295: error: `debug' undeclared (first use in this function)
../generic/regcomp.c:295: error: `stdout' undeclared (first use in this function)
../generic/regcomp.c:295: error: syntax error before ')' token
../generic/regcomp.c:373: warning: implicit declaration of function `assert'
../generic/regcomp.c:381: warning: implicit declaration of function `fprintf'
../generic/regcomp.c:2047: error: syntax error before "FILE"
../generic/regcomp.c: In function `dumpst':
../generic/regcomp.c:2091: error: syntax error before "FILE"
../generic/regcomp.c:2095: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2098: warning: implicit declaration of function `fflush'
../generic/regcomp.c: In function `stdump':
../generic/regcomp.c:2108: error: syntax error before "FILE"
../generic/regcomp.c:2113: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2131: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
../generic/regcomp.c:2132: warning: passing arg 1 of `fprintf' makes pointer from integer without a cast
makes pointer from integer without a cast
../generic/regcomp.c: In function `stid':
../generic/regcomp.c:2165: warning: implicit declaration of function `sprintf'
In file included from ../generic/regcomp.c:2173:
../generic/regc_nfa.c: In function `optimize':
../generic/regc_nfa.c:711: error: syntax error before "FILE"
../generic/regc_nfa.c:1033: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpnfa':
../generic/regc_nfa.c:1343: error: syntax error before "FILE"
../generic/regc_nfa.c: In function `dumpcnfa':
../generic/regc_nfa.c:1511: error: syntax error before "FILE"
make: *** [regcomp.o] Error 1
и нечего не устонавливается, в чём ошибка? Что делать?