andreaskoch / allmark

A cross-platform markdown web server
https://allmark.io
Other
314 stars 74 forks source link

Can't build from source #22

Open franzinc opened 7 years ago

franzinc commented 7 years ago

On CentOS 7, I get this after the clone. Ideas?

$ make
go build -o bin/files/allmark ./cli
cli/allmark.go:10:2: cannot find package "github.com/andreaskoch/allmark/common/config" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/common/config (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:11:2: cannot find package "github.com/andreaskoch/allmark/common/logger/console" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/common/logger/console (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:12:2: cannot find package "github.com/andreaskoch/allmark/common/logger/loglevel" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/common/logger/loglevel (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:13:2: cannot find package "github.com/andreaskoch/allmark/common/shutdown" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/common/shutdown (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:14:2: cannot find package "github.com/andreaskoch/allmark/common/util/fsutil" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/common/util/fsutil (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:15:2: cannot find package "github.com/andreaskoch/allmark/dataaccess/filesystem" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/dataaccess/filesystem (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:16:2: cannot find package "github.com/andreaskoch/allmark/services/initialization" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/services/initialization (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:17:2: cannot find package "github.com/andreaskoch/allmark/services/parser" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/services/parser (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:18:2: cannot find package "github.com/andreaskoch/allmark/services/thumbnail" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/services/thumbnail (from $GOROOT)
    ($GOPATH not set)
cli/allmark.go:19:2: cannot find package "github.com/andreaskoch/allmark/web/server" in any of:
    /usr/lib/golang/src/github.com/andreaskoch/allmark/web/server (from $GOROOT)
    ($GOPATH not set)
make: *** [build] Error 1

$

franzinc commented 7 years ago

Is this a dead project? I ask, because the binary downloads are giving me 404's. That is, everything on this page:

https://github.com/andreaskoch/allmark/blob/develop/bin/download.md

And, only the first issue has a comment by the author.

Anyone know of another markdown web server that has search? I tried markserv. It works, but it doesn't have search.

xgenadam commented 7 years ago

encountering same issue on ubuntu 16.04

matchavez commented 6 years ago

Based on the commits, I think this is abandoned. I'd really like to be proven wrong.

bodsch commented 6 years ago

you can get the source with go get github.com/andreaskoch/allmark the following error (fatal: No url found for submodule path 'vendor/9fans.net/go' in .gitmodules) can be ignored

after then, go in the created directory: cd src/github.com/andreaskoch/allmark/ and run make thats it.

the executable can be found under bin/files/allmark

HatBeardMe commented 6 years ago

@bodsch thank you for showing this option. The developer hard-coded paths in a lot of files that do not work unless you use go get github.com/andreaskoch/allmark. You cannot simply do a git clone like the documentation suggests. The docker option is still borked though.

bodsch commented 5 years ago

I had begun to build a container. But in the meantime I have landed at algernon, because the development of allmark seems to be at a standstill.

matchavez commented 5 years ago

Same. I ended up on Aprelium Abyss with Grav.

jolmg commented 4 years ago

go get github.com/andreaskoch/allmark does not work. I'm getting the following error:

fatal: No url found for submodule path 'vendor/9fans.net/go' in .gitmodules
package github.com/andreaskoch/allmark: exit status 128