zevdocs icon indicating copy to clipboard operation
zevdocs copied to clipboard

Compiling from sources: Waiting for zealcore... recursive message in terminal

Open JuPlutonic opened this issue 5 years ago • 2 comments

Ubuntu 19.04 (no Snap) dependencies: libjavascriptcoregtk-4.0-dev libpsl-dev libsoup2.4-dev libwebkit2gtk-4.0-dev gir1.2-json-1.0 libjson-glib-dev For compilation I needed to install meson and ninja-build, gcc ≠ 5.5.0 Also I had to have itstool and valac binaries in $PATH

Compilation:

  1. mkdir build; cd build
  2. cmake ..
  3. meson
  4. sudo ninja install

Something gone wrong: all compiled but I needed to copy: sudo cp /opt/git/zevdocs/build/devhelp/libdevhelp-3.* /usr/lib/ And after I launched zevdocs I got Waiting for zealcore... recursive message in terminal

JuPlutonic avatar Apr 21 '19 21:04 JuPlutonic

Waiting for zealcore... means what zevdocs is actually works

Next I needed to download zealcore from https://github.com/jkozera/zealcore

Additionaly after unpacking zealcore to /opt/go/src/zealcore (GOPATH must contain /opt/go) I needed to change line 22 in zealcore.go file from "github.com/zealdocs/zealcore/zealindex" to "github.com/jkozera/zealcore/zealindex"

To run zealcore I had to install dep first then run cd /opt/go/src/zealcore; dep ensure in terminal

Last things I needed to do:

  1. Rename /opt/bin/zevdocs to /opt/bin/zevdocs.real : sudo mv /opt/bin/zevdocs /opt/bin/zevdocs.real

  2. Create file /opt/bin/zevdocs what contains:

#!/bin/bash
go run /opt/go/src/zealcore/zealcore.go
zevdocs.real
  1. Run command in terminal: chmod u+x /opt/bin/zevdocs

#wiki #docs

JuPlutonic avatar Apr 22 '19 11:04 JuPlutonic

Hey, thanks for documenting the build process!

I've never taken the time to do it properly, because my initial interest in this project has passed away rather quickly after the first few releases.

I'll try to make it more clear that this project is unmaintained.

jkozera avatar Apr 22 '19 15:04 jkozera