You are not logged in.

#1 2013-12-01 12:46:54

pezzonovante
Member
Registered: 2013-10-25
Posts: 40

Problem compiling TclCL

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, skipping

Here's the link to the AUR package: https://aur.archlinux.org/packages/tclcl/

Any help will be very welcome.

Offline

#2 2013-12-01 14:09:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Problem compiling TclCL

That error means that the software hasn't been updated to work with tcl 8.6.

Offline

#3 2013-12-01 14:15:50

pezzonovante
Member
Registered: 2013-10-25
Posts: 40

Re: Problem compiling TclCL

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

#4 2013-12-01 14:24:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem compiling TclCL

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

#5 2013-12-01 14:32:16

pezzonovante
Member
Registered: 2013-10-25
Posts: 40

Re: Problem compiling TclCL

Thanks karol, that seems very convenient. I won't need tcl 8.6, so it won't be a problem.

Offline

Board footer

Powered by FluxBB