build failed: bin/pegparser: not found
I am trying to compile limetext on Ubuntu 12.04
I was following the instructions from https://github.com/limetext/lime/wiki/Building
cd $GOPATH/src/lime/build
cmake .. # or use the cmake gui to create a build system suitable for you
make # presuming you told cmake to generate makefiles
make test # To run all tests
In the "make"-step I get the following error:
...
[ 55%] Completed 'Python3'
[ 55%] Built target Python3
Scanning dependencies of target godep
[ 58%] Generating /home/michael/da/fastergo/pkg/linux_amd64/github.com/howeyc/fsnotify.a
[ 58%] Built target godep
Scanning dependencies of target fix
[ 62%] Generating /home/michael/da/fastergo/pkg/linux_amd64/github.com/quarnster/parser.a
[ 65%] Generating /home/michael/da/fastergo/bin/pegparser
[ 68%] Generating ../backend/loaders/json/json_generated.go
/bin/sh: 1: /home/michael/da/fastergo/bin/pegparser: not found
make[2]: *** [../backend/loaders/json/json_generated.go] Error 127
make[1]: *** [CMakeFiles/fix.dir/all] Error 2
make: *** [all] Error 2
$ echo $GOPATH
/home/michael/da/fastergo
Please advise!
Best Regards Michael
Please try this with your GOPATH=/home/michael/da/fastergo in place:
go get github.com/quarnster/parser/pegparser
If it does not produce any output you're good.
Try to build lime again (only make).
The qml frontend fails building with a recent qml package at the moment.
does not fix it
michael@diplomarbeit:*ergo/src/lime/build$ go get github.com/quarnster/parser/pegparser
michael@diplomarbeit:*ergo/src/lime/build$ make
[ 27%] Built target Oniguruma
[ 55%] Built target Python3
[ 58%] Built target godep
[ 62%] Generating /home/michael/da/fastergo/bin/pegparser
[ 65%] Generating ../backend/loaders/json/json_generated.go
/bin/sh: 1: /home/michael/da/fastergo/bin/pegparser: not found
make[2]: *** [../backend/loaders/json/json_generated.go] Error 127
make[1]: *** [CMakeFiles/fix.dir/all] Error 2
make: *** [all] Error 2
michael@diplomarbeit:*ergo/src/lime/build2$ echo $GOPATH
/home/michael/da/fastergo
michael@diplomarbeit:*ergo/src/lime/build$
michael@diplomarbeit:*ergo/src/lime/build$ ls -la /home/michael/da/fastergo/pkg/linux_amd64/github.com/quarnster
total 912
drwxr-xr-x 4 michael michael 4096 Feb 14 15:39 .
drwxr-xr-x 4 michael michael 4096 Feb 14 15:39 ..
drwxr-xr-x 2 michael michael 4096 Feb 14 15:39 parser
drwxr-xr-x 2 michael michael 4096 Feb 14 15:39 util
-rw-r--r-- 1 michael michael 915732 Feb 14 15:39 parser.a
PS:
michael@diplomarbeit:*ergo/src/lime/build$ env|sort|grep GO
GOARCH=amd64
GOBIN=/home/michael/gitclones/go/bin
GOOS=linux
GOPATH=/home/michael/da/fastergo
GOROOT=/home/michael/gitclones/go
Just wait a little bit please. Building will be much simpler soon.
roger that! what timeframe are we talking about? hours? days? weeks? month?
We're almost there. Just a little clean up required.
Merged now, please see the latest build instructions (and please also help us update them if needed)
Thanks! I am travelling right now, will report back when I am back home.
Still no luck:
michael@diplomarbeit:~/da/fastergo/src$ go get github.com/limetext/lime/frontend/termbox
# pkg-config --cflags python-3.3
Package python-3.3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.3' found
exit status 1
# github.com/limetext/rubex
/home/michael/gitclones/diplomarbeit/fastergo/src/github.com/limetext/rubex/regex.go:7:23: fatal error: oniguruma.h: No such file or directory
compilation terminated.
Seems like you're missing python 3.3 and oniguruma.
You're on Ubuntu 12.04 right? So you should simply do what travis does.
You are right. I will report back later.
Is this still valid? We should work on closing old issues--they're just clutter as is and can always be reopened later. @quarnster what do you think? Also @mnagel if you're still trying to build, check out #270
Closing, please re-open if it's still an issue and it's not covered by any other open issue number