You are not logged in.
I have been trying to install the ns package which depends on TclCL. I'm getting the following error while compiling TclCL:
In file included from Tcl.cc:49:0:
tclcl.h: In member function ‘void Tcl::result(const char*)’:
tclcl.h:88:44: error: ‘Tcl_Interp’ has no member named ‘result’
inline void result(const char* p) { tcl_->result = (char*)p; }
^
Tcl.cc: In member function ‘void Tcl::error(const char*)’:
Tcl.cc:216:61: error: ‘Tcl_Interp’ has no member named ‘result’
fprintf(stderr, "%s: \"%s\": %s\n", application_, s, tcl_->result);
^
Makefile:77: recipe for target 'Tcl.o' failed
make: *** [Tcl.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
warning: package tclcl failed to build, skippingHere's the link to the AUR package: https://aur.archlinux.org/packages/tclcl/
Any help will be very welcome.
Offline
That error means that the software hasn't been updated to work with tcl 8.6.
Offline
Thanks. So you suggest I should install tcl 8.5 manually? The official repo has version 8.6. So what would be the best course of action here? Manually compile tcl 8.5 without bothering with pacman? Or is there a patch that you're aware of?
Last edited by pezzonovante (2013-12-01 14:18:36)
Offline
You can use https://aur.archlinux.org/packages/tcl85/ or even https://aur.archlinux.org/packages/tcl84/
They do conflict with tcl, so you have to edit the PKGBUILD and attempt to install it to /opt if you want / need tcl 8.6 too.
Offline
Thanks karol, that seems very convenient. I won't need tcl 8.6, so it won't be a problem.
Offline