openssl help

Support and queries relating to all previous versions of ZoneMinder
phil_trick
Posts: 2
Joined: Sun Oct 09, 2005 2:16 pm

Post by phil_trick »

Strange.

On FC5 test 2 when trying to install I get the error:
checking whether MD5 is declared... no
configure: error: zm requires openssl/md5.h

I have the openssl-devel package installed, and this is what is in the config.log:
[phil@homey ZoneMinder-1.22.0]$ grep "md5" config.log
/usr/include/openssl/md5.h:108: error: 'size_t' has not been declared
/usr/include/openssl/md5.h:110: error: 'size_t' has not been declared
| #include <openssl/md5.h>
configure:5109: error: zm requires openssl/md5.h
Also find /usr -name md5.h gives:

/usr/include/sasl/md5.h
/usr/include/pppd/md5.h
/usr/include/openssl/md5.h

So either configure is looking in the wrong place or I am missing something :)

Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It appears that the test for md5.h is failing because of the size_t failing to be defined. However this should be in a whole bunch of headers so I don't know why it shouldn't be included. I will have to have a think about this.
Phil
phil_trick
Posts: 2
Joined: Sun Oct 09, 2005 2:16 pm

Post by phil_trick »

Thanks Phil.

Any idea of a temporary workaround to this?

Phil
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

Does anyone know how to solve thise MD5.h error here?
I just rebuilt my system with FC5_x86-64 and got this error too.
thanks.
Locked