Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update build instructions #562

Closed
njskalski opened this issue Mar 7, 2016 · 8 comments
Closed

Please update build instructions #562

njskalski opened this issue Mar 7, 2016 · 8 comments

Comments

@njskalski
Copy link

njskalski commented Mar 7, 2016

Hi,

I wanted to contribute to project, but being new in Go I was unable to even build it. I closely followed instructions from wiki about ubuntu 14.04, diverging only in fact that ubuntu provides python 3.5 via repository, so with no ppa. Also, I used golang 1.6, default available.

Could anyone please update build instructions, either for ubuntu 15.10 or 16.04 (probably better idea)?

Kindest Regards

@f2l2pe
Copy link

f2l2pe commented Mar 7, 2016

A way to build in windows would be good too! I want to contribute and it seems there isnt even a way to build it on windows.

@ricochet1k
Copy link
Member

I would recommend sticking with Go 1.5, 1.6 is not going to work yet.

The easiest way to build on Windows is to use Msys2, but download and extract Go 1.5.3 manually, don't use the one from the repository. I have built and run Lime-QML on Windows this way and it works fine, with a few minor Qt hiccups.

@rgson
Copy link

rgson commented Apr 24, 2016

You can use golang1.6 if you set the environment variable GODEBUG to cgocheck=0 (i.e. export GODEBUG=cgocheck=0). More details can be found in limetext/lime-qml#16.

@jlvivero
Copy link

jlvivero commented Apr 30, 2016

another thing is that there's no backend/lib/ anymore, since it got moved to the root folder in commit 96 of the backend which caused a lot of confusion for me
you can see it here:
limetext/backend@52632b1

Even after I found out when i try to get the term frontend working, it's looking for the files on backend/lib/ so i get an error (gonna try creating the backend/lib/ directory again and adding the original files there and see if it works)

update: wtv i did did not work trying to install the termbox by doing this:
go get github.com/limetext/lime-termbox/main/...
give me a bunch of errors:

package github.com/limetext/lime-backend/lib/commands: cannot find package "github.com/limetext/lime-backend/lib/commands" in any of:
/usr/lib/go-1.6/src/github.com/limetext/lime-backend/lib/commands (from $GOROOT)
/home/jl/golang/src/github.com/limetext/lime-backend/lib/commands (from $GOPATH)
package github.com/limetext/lime-backend/lib/sublime: cannot find package "github.com/limetext/lime-backend/lib/sublime" in any of:
/usr/lib/go-1.6/src/github.com/limetext/lime-backend/lib/sublime (from $GOROOT)
/home/jl/golang/src/github.com/limetext/lime-backend/lib/sublime (from $GOPATH)
package github.com/limetext/lime-backend/lib/textmate: cannot find package "github.com/limetext/lime-backend/lib/textmate" in any of:
/usr/lib/go-1.6/src/github.com/limetext/lime-backend/lib/textmate (from $GOROOT)
/home/jl/golang/src/github.com/limetext/lime-backend/lib/textmate (from $GOPATH)
package github.com/limetext/lime-backend/lib/util: cannot find package "github.com/limetext/lime-backend/lib/util" in any of:
/usr/lib/go-1.6/src/github.com/limetext/lime-backend/lib/util (from $GOROOT)
/home/jl/golang/src/github.com/limetext/lime-backend/lib/util (from $GOPATH)

@rgson
Copy link

rgson commented May 1, 2016

I have just created a fully automated build script for Ubuntu 16.04: https://github.com/limetext/lime/wiki/Building-on-Ubuntu-16.04.

Currently it only covers the backend and the QML frontend due to the issues with Termbox and HTML that was just mentioned by @jlvivero. I'll look into how they can be built correctly when I have more time, and add them to the build script if I get them working.

The script has been tested and verified on a fresh install of Ubuntu 16.04 (ubuntu-16.04-desktop-amd64).

@jlvivero
Copy link

jlvivero commented May 1, 2016

There's a pull request on the Termbox repo currently that I think addresses that issue. So it's just a matter of time before that frontend is functioning as well

@erbridge
Copy link
Contributor

erbridge commented May 1, 2016

I just updated the main building instructions. It's too much work for us to maintain the platform specific pages, but if you come across issues on them, please feel free to fix them (it's why we have a wiki).

The termbox and html frontends are currently broken, but I'm looking at getting them working again.

@erbridge
Copy link
Contributor

erbridge commented May 1, 2016

And thanks for the Ubuntu 16.04 instructions @rgson!

@erbridge erbridge closed this as completed May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants