[pHash-support] Problems compiling php bindings

Marcos Besteiro López info at infosoporte.com
Fri Dec 7 00:21:57 PST 2012

Hi all !

I'm having problems trying to compile PHP support for pHash (Ubuntu 11.10). 

I tried:

apt-get install cimg-dev 

cd /tmp
wget http://phash.org/releases/pHash-0.9.5.tar.gz
tar -xvf pHash-0.9.5.tar.gz
cd pHash-0.9.5
./configure --disable-video_hash --disable-audio_hash
make install

(Everything seems to be ok)

cd bindings/php
./configure --disable-video_hash --disable-audio_hash

Here, the process ends with a:

checking audiophash.h usability... no
checking audiophash.h presence... no
checking for audiophash.h... no
configure: error: 'audiophash.h' header not found

I ckecked I have a "audiophash.h" file in /tmp/pHash-0.9.5/src ... any ideas

Thanks in advance and sorry for my terrible english !

More information about the pHash-support mailing list