[pHash-support] Problems compiling php bindings

Evan Klinger eklinger at phash.org
Fri Dec 7 11:21:42 PST 2012


I don't think PHP bindings respect the configure options. Try building
pHash with all hashes and then try building the PHP bindings again.
This will be fixed soon.

Thanks
Evan

On Fri, Dec 7, 2012 at 12:21 AM, Marcos Besteiro López
<info at infosoporte.com> wrote:
> 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
> 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 !
>
> _______________________________________________
> pHash-support mailing list
> pHash-support at lists.phash.org
> http://lists.phash.org/listinfo.cgi/phash-support-phash.org



More information about the pHash-support mailing list