Package Details: otcl 1.14-6

Git Clone URL: https://aur.archlinux.org/otcl.git (read-only)
Package Base: otcl
Description: An extension to Tcl/Tk for object-oriented programming
Upstream URL: http://otcl-tclcl.sourceforge.net/otcl/
Licenses: MIT
Submitter: shaurz
Maintainer: sergio.correia
Last Packager: sergio.correia
Votes: 6
Popularity: 0.000371
First Submitted: 2006-03-17 01:48
Last Updated: 2015-06-16 18:03

Dependencies (2)

Required by (3)

Sources (2)

Latest Comments

masoud commented on 2014-02-19 12:59

It fails to build:
http://ix.io/aBV

sergio.correia commented on 2013-07-24 04:54

And now it worked without the -fPIC switch, how odd. Anyway, I am going to update the PKGBUILD with your patch. Thanks again, @Ryani!

sergio.correia commented on 2013-07-24 04:52

@Ryani, thanks for the tip! Does it work for you with only that change? I get the following error here:

/usr/bin/ld: otcl.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

adding -fPIC to CFLAGS helped.

Anonymous comment on 2013-07-24 04:34

I was able to compile this under tcl 8.6 by adding these CFLAGS: USE_INTERP_ERRORLINE and USE_INTERP_RESULT.

Example patch that can be applied in an updated PKGBUILD: http://pastebin.com/YVAydr5d

sergio.correia commented on 2013-04-26 14:44

Sorry for the delay, I was in some sort of work travel the past few weeks.

This problem seems to be related to the Tcl version which was bumbed recently. I am trying to provide tcl 8.5 in a way that it does not conflict with the official 8.6 (so that they could coexist), but I am still having problems getting it to work.

If anyone has an alternative approach that works, please share :)

tgoossens commented on 2013-04-14 12:39

I get the same error as Wynch.



wych commented on 2013-04-06 02:19

I still got an error like this http://paste.kde.org/717116/

sergio.correia commented on 2012-11-14 12:00

@master: could you please update this package to 1.14 (and make it depend on "tcl" and "tk", instead of "tcl84/tk64"), so that it will work with ns-2.35? once that's been done, I can request otcl-ns [1] to be merged with yours (you can keep on maintaining it). Sorry for the duplicate, btw, just wanted to have ns-2 working.

[1] https://aur.archlinux.org/packages/ot/otcl-ns/PKGBUILD

Anonymous comment on 2011-10-08 14:48

You should add CFLAGS=-fno-stack-protector to makepkg.conf to compile, otherwise you have an error