MichaelXavier / phash

Haskell bindings to the pHash perceptual hashing library
GNU General Public License v3.0
11 stars 5 forks source link

building on Ubuntu 15.10+? #5

Open juhp opened 8 years ago

juhp commented 8 years ago

As far as I can tell libphash0 was removed from Ubuntu 15.10+, or maybe some other package provides this now?

Do you know if phash builds with Ubuntu 15.10+? I am asking since we are trying to move Stackage server building to Ubuntu 16.04.

MichaelXavier commented 8 years ago

I don't think any package provides it anymore. I don't run Ubuntu > 15 on any of my machines at the moment, but I think you'd be able to just install it from source: http://www.phash.org/download/

If you are successful, I'd be happy to include installation instructions and a credit in the documentation.

oderwat commented 8 years ago

Afaik the problem is that you can not build it with the newest libffmpeg. I use phash in a simple Nim project and could not install it on my mac anymore because they removed the package from homebrew. I just skipped building the video (and audio) parts of the library because I just need the picture hash anyway.

juhp commented 8 years ago

Perhaps we could try to install it in the Stackage docker image by hand but I was hoping we could avoid that, but from @oderwat's comment sounds like it may not work.

MichaelXavier commented 8 years ago

I'm not sure if there's anything I can do. For really simple bindings like lzf, I can include it and update the license accordingly, but it sounds like there's enough moving parts in phash that that may be a bad idea.

juhp commented 8 years ago

Yes it sounds a bit tricky.

I am hoping to move Stackage Nightly to build on Ubuntu 16.04 this week. One unfortunate casualty of that may be phash I am afraid, at least until there is a way to get libphash into the docker image.