Sean-Der / fail2rest

REST server for fail2ban
107 stars 24 forks source link

Install errors on Debian Wheezy #18

Closed blindpet closed 8 years ago

blindpet commented 9 years ago

After running go install -v github.com/Sean-Dir/fail2rest

Both have to do with the mattn/go-sqlite3 github go1.go:650 undefined strings.TrimSuffix go1.go:652 undefined time.ParseInLocation

Sean-Der commented 9 years ago

Hey @blindpet

It looks like Wheezy is 1.0, and TrimSuffix was added in 1.1 (I don't know when ParseInLocation was added) Are you able to install a backported version of Golang?

If not I would be happy to make a branch for you, that removes the operations that involve sqlite! It might be broken in weird ways, but it will at least get you up and running.

thanks

Sean-Der commented 8 years ago

@blindpet closing for inactivity, feel free to reopen if this is still causing a problem.

thanks!

blindpet commented 8 years ago

Thanks @Sean-Der I got distracted with other projects. I will try with Jessie today, if a new branch isn't too time-consuming that could be cool but it's not necessary :)