You are not logged in.
Hi! I need to install staden, I've installed staden-io_lib first and then staden with yaourt, but when it is compiling gives this error:
cd eba && make -f /tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/./eba/Makefile BUILD=/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src SRC=/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/./eba SUBDIR=eba all
make[1]: Entering directory '/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/eba'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_NON_CONST -I/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/./eba -I/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/./Misc -I/usr/local/include -I/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src -o qual.o -c qual.c
qual.c: En la función ‘do_it’:
qual.c:210:22: error: ‘TT_CTF’ no se declaró aquí (primer uso en esta función)
if (r->format == TT_CTF || r->format == TT_ZTR || r->format == TT_SCF)
^
qual.c:210:22: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/./eba/../global.mk:388: recipe for target 'qual.o' failed
make[1]: *** [qual.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-victor/aur-staden/src/staden-2.0.0b9-src/eba'
Makefile:171: recipe for target 'eba' failed
make: *** [eba] Error 2
==> ERROR: Se produjo un error en build().
Cancelando...
==> ERROR: Makepkg no ha podido compilar staden.
==> Reiniciar la compilación de staden? [s/N]
==> -----------------------------------------
After that I tried to compile staden manually but it showed this error while run ./configure:
checking for Tk public headers... /usr/include
checking for Tk private include files... private headers found with public headers
checking tklib directory... no
configure: error: Abort: no tklib package found, use --with-tklib=DIR
Tklib is correctly installed, the directory is /usr/lib/tklib0.5, so I don't know why it can't found it.
Could anybody help me?
Thanks
Offline
Run
LC_ALL=C <command>to get the output in English.
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like thisWith regard to the manual compilation, have a look at the PKGBUILD: https://aur.archlinux.org/packages/st/staden/PKGBUILD
sed -i 's:/usr/local/tklib:/usr/lib/tklib0.5:g' configureOffline
I've just compiled and installed staden w/o a problem.
I used just makepkg. You might want to see if it works for you - ditch yaourt. If you get errors, post them in English.
Offline
make[1]: Entering directory '/home/victor/staden/src/staden-2.0.0b9-src/eba'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DUSE_NON_CONST -I/home/victor/staden/src/staden-2.0.0b9-src/./eba -I/home/victor/staden/src/staden-2.0.0b9-src/./Misc -I/usr/local/include -I/home/victor/staden/src/staden-2.0.0b9-src -o qual.o -c qual.c
qual.c: In function 'do_it':
qual.c:210:22: error: 'TT_CTF' undeclared (first use in this function)
if (r->format == TT_CTF || r->format == TT_ZTR || r->format == TT_SCF)
^
qual.c:210:22: note: each undeclared identifier is reported only once for each function it appears in
/home/victor/staden/src/staden-2.0.0b9-src/./eba/../global.mk:388: recipe for target 'qual.o' failed
make[1]: *** [qual.o] Error 1
make[1]: Leaving directory '/home/victor/staden/src/staden-2.0.0b9-src/eba'
Makefile:171: recipe for target 'eba' failed
make: *** [eba] Error 2 This is the error I get while compiling staden package. The problem with Tklib is solved.
Offline
Moving to AUR Issues...
Offline
do you have itcl, itk, or iwidgets installed?
Offline
Hi, sorry for re-open this threat but, I still can't get itk installed, neither by aur not source, it shows an error message:
[victor@victorarch itk3.3]$ LC_ALL=C make
gcc -pipe -DPACKAGE_NAME=\"itk\" -DPACKAGE_TARNAME=\"itk\" -DPACKAGE_VERSION=\"3.3\" -DPACKAGE_STRING=\"itk\ 3.3\" -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 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DUSE_ITCL_STUBS=1 -DITK_LIBRARY=\"/usr/lib/itk3.3\" -DUSE_NON_CONST -I"/tmp/yaourt-tmp-victor/aur-itcl/src/itcl3.4.1/generic" -I"./generic" -I/usr/include/generic -I/usr/include/unix -I/usr/include/generic -I/usr/include/unix -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/itk_cmds.c` -o itk_cmds.o
In file included from ./generic/itk_cmds.c:26:0:
./generic/itk.h:116:5: error: unknown type name 'ItclMember'
ItclMember *member; /* info about this option */
^
In file included from ./generic/itk.h:122:0,
from ./generic/itk_cmds.c:26:
./generic/itkDecls.h:35:1: warning: return type defaults to 'int' [-Wreturn-type]
TCL_EXTERN(int) Itk_Init _ANSI_ARGS_((Tcl_Interp * interp));
^
./generic/itkDecls.h: In function 'TCL_EXTERN':
./generic/itkDecls.h:35:18: error: expected declaration specifiers before 'Itk_Init'
TCL_EXTERN(int) Itk_Init _ANSI_ARGS_((Tcl_Interp * interp));
^
./generic/itkDecls.h:40:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_SafeInit _ANSI_ARGS_((Tcl_Interp * interp));
^
./generic/itkDecls.h:45:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_ConfigBodyCmd _ANSI_ARGS_((ClientData cdata,
^
./generic/itkDecls.h:52:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_UsualCmd _ANSI_ARGS_((ClientData cdata,
^
./generic/itkDecls.h:59:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_ClassOptionDefineCmd _ANSI_ARGS_((
^
./generic/itkDecls.h:66:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_ClassOptionIllegalCmd _ANSI_ARGS_((
^
./generic/itkDecls.h:73:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_ConfigClassOption _ANSI_ARGS_((
^
./generic/itkDecls.h:80:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(ItkClassOptTable*) Itk_CreateClassOptTable _ANSI_ARGS_((
^
./generic/itkDecls.h:86:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(ItkClassOptTable*) Itk_FindClassOptTable _ANSI_ARGS_((
^
./generic/itkDecls.h:93:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_CreateClassOption _ANSI_ARGS_((
^
./generic/itkDecls.h:102:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(ItkClassOption*) Itk_FindClassOption _ANSI_ARGS_((
^
./generic/itkDecls.h:108:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(void) Itk_DelClassOption _ANSI_ARGS_((ItkClassOption * opt));
^
./generic/itkDecls.h:113:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(int) Itk_ArchetypeInit _ANSI_ARGS_((Tcl_Interp* interp));
^
./generic/itkDecls.h:118:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(void) Itk_OptListInit _ANSI_ARGS_((ItkOptList* olist,
^
./generic/itkDecls.h:124:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(void) Itk_OptListFree _ANSI_ARGS_((ItkOptList* olist));
^
./generic/itkDecls.h:129:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(void) Itk_OptListAdd _ANSI_ARGS_((ItkOptList* olist,
^
./generic/itkDecls.h:135:1: error: expected declaration specifiers before 'TCL_EXTERN'
TCL_EXTERN(void) Itk_OptListRemove _ANSI_ARGS_((ItkOptList* olist,
^
In file included from ./generic/itk.h:122:0,
from ./generic/itk_cmds.c:26:
./generic/itkDecls.h:161:3: error: storage class specified for parameter 'ItkStubs'
} ItkStubs;
^
./generic/itkDecls.h:163:1: error: unknown type name 'TCL_EXTERNC'
TCL_EXTERNC ItkStubs *itkStubsPtr;
^
./generic/itkDecls.h:163:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
TCL_EXTERNC ItkStubs *itkStubsPtr;
^
./generic/itk_cmds.c:32:13: error: storage class specified for parameter 'safeInitScript'
static char safeInitScript[] =
^
./generic/itk_cmds.c:32:1: error: parameter 'safeInitScript' is initialized
static char safeInitScript[] =
^
./generic/itk_cmds.c:44:12: error: storage class specified for parameter 'Initialize'
static int Initialize _ANSI_ARGS_((Tcl_Interp *interp));
^
./generic/itk_cmds.c:53:13: error: storage class specified for parameter 'initScript'
static char initScript[] = "\n\
^
./generic/itk_cmds.c:53:1: error: parameter 'initScript' is initialized
static char initScript[] = "\n\
^
./generic/itk_cmds.c:117:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Tcl_Interp'
Tcl_Interp *interp; /* interpreter to be updated */
^
In file included from ./generic/itk.h:122:0,
from ./generic/itk_cmds.c:26:
./generic/itkDecls.h:35:1: error: old-style parameter declarations in prototyped function definition
TCL_EXTERN(int) Itk_Init _ANSI_ARGS_((Tcl_Interp * interp));
^
./generic/itkDecls.h:35:1: error: parameter name omitted
./generic/itk_cmds.c:133:23: error: 'interp' undeclared (first use in this function)
if (Tcl_InitStubs(interp, "8.1", 0) == NULL) {
^
./generic/itk_cmds.c:133:23: note: each undeclared identifier is reported only once for each function it appears in
./generic/itk_cmds.c:165:13: error: 'Itk_ClassOptionDefineCmd' undeclared (first use in this function)
Itk_ClassOptionDefineCmd,
^
./generic/itk_cmds.c:174:13: error: 'Itk_ClassOptionIllegalCmd' undeclared (first use in this function)
Itk_ClassOptionIllegalCmd,
^
./generic/itk_cmds.c:209:5: warning: implicit declaration of function 'Itk_ArchetypeInit' [-Wimplicit-function-declaration]
if (Itk_ArchetypeInit(interp) != TCL_OK) {
^
./generic/itk_cmds.c:217:56: error: 'Itk_ConfigBodyCmd' undeclared (first use in this function)
Tcl_CreateObjCommand(interp, "::itcl::configbody", Itk_ConfigBodyCmd,
^
./generic/itk_cmds.c: In function 'Itk_Init':
./generic/itk_cmds.c:264:5: warning: implicit declaration of function 'Initialize' [-Wimplicit-function-declaration]
if (Initialize(interp) != TCL_OK) {
^
./generic/itk_cmds.c:267:29: error: 'initScript' undeclared (first use in this function)
return Tcl_Eval(interp, initScript);
^
./generic/itk_cmds.c: In function 'Itk_SafeInit':
./generic/itk_cmds.c:293:29: error: 'safeInitScript' undeclared (first use in this function)
return Tcl_Eval(interp, safeInitScript);
^
./generic/itk_cmds.c: In function 'Itk_ConfigBodyCmd':
./generic/itk_cmds.c:348:5: warning: passing argument 3 of 'itclIntStubsPtr->itcl_ParseNamespPath' from incompatible pointer type [enabled by default]
Itcl_ParseNamespPath(token, &buffer, &head, &tail);
^
./generic/itk_cmds.c:348:5: note: expected 'const char **' but argument is of type 'char **'
./generic/itk_cmds.c:348:5: warning: passing argument 4 of 'itclIntStubsPtr->itcl_ParseNamespPath' from incompatible pointer type [enabled by default]
./generic/itk_cmds.c:348:5: note: expected 'const char **' but argument is of type 'char **'
./generic/itk_cmds.c:370:5: warning: implicit declaration of function 'Itk_FindClassOptTable' [-Wimplicit-function-declaration]
optTable = Itk_FindClassOptTable(cdefn);
^
./generic/itk_cmds.c:370:14: warning: assignment makes pointer from integer without a cast [enabled by default]
optTable = Itk_FindClassOptTable(cdefn);
^
./generic/itk_cmds.c:408:20: error: request for member 'code' in something not a structure or union
if (opt->member->code) {
^
./generic/itk_cmds.c:409:49: error: request for member 'code' in something not a structure or union
Itcl_ReleaseData((ClientData)opt->member->code);
^
./generic/itk_cmds.c:411:16: error: request for member 'code' in something not a structure or union
opt->member->code = mcode;
^
./generic/itk_cmds.c: In function 'Itk_SafeInit':
./generic/itk_cmds.c:294:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:284: recipe for target 'itk_cmds.o' failed
make: *** [itk_cmds.o] Error 1Other packages installed:
staden-io_lib, tcl, tk zlib, liblzma, libpng, curl, tklib, itcl. iwidgets depends on itk.
Is the same error compiling by src and yaourt. Any ideas?
Edit: itk is now installed, itk 3 in aur doesn't work, finally, I've installed itk 4.0.0 from source, but, the problem shown in post #4 persists.
Thanks!! ![]()
Last edited by Alkaza (2014-01-18 13:26:46)
Offline