westonplatter / phashion

Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uint64_t missing on 64bit debian 9 with ruby2.3

sdenaro opened this issue · comments

commented

I'm running on Debian Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux but Phasion can not find uint64_t.

This is with ruby2.3

It had been working on Ruby 2.1 with Phasion 1.2.0

checking for uint32_t... unsigned int
checking for uint8_t... unsigned char
checking for uint64_t... no
configure: error:

*** Required type uint64_t not found.
pHash requires 64-bit integers for video and image hashes.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

I double checked all the libs by manual install of phash lib from phash.org and I'm stumped on what's failing here. Is this a ruby2.3 issue?

commented

I rewrote my script in Python3 using the ImageHash library.