News for hackers. Stuff that matters.
Re:Lime – Experimental Sublime Text clone by derekchiang on Wednesday October 23, 2013 @10:38AM (#6598981)
Thanks a lot for doing this project! I have been hoping for an open-source alternative for ST for a while.

As a side note, could you clarify the build section where it says we need to modify cgo.go? I'm not exactly sure what to do there. I'm using Ubuntu 13.10.

Re:Lime – Experimental Sublime Text clone by drbawb on Wednesday October 23, 2013 @05:58PM (#6602024)
Haven't gotten this to run yet because my copy of Python does not meet the criteria he listed in the Readme (`Python 3 must be compiled without sigaltstack enabled.`)

However I got it to build on Arch Linux.

First of all: modifying `cgo.go` didn't work for me. Not sure why: but it's included to late in the build process, `abstract.go` bombs out on the compilation.

These flags worked for me just fine on Arch Linux: `// #cgo pkg-config: libffi python-3.3`

That's assuming you have `.pc` files for libffi and python on your system. (Which might not be the case if you're building it from scratch.)