openssl help

Support and queries relating to all previous versions of ZoneMinder
blade
Posts: 5
Joined: Fri Jan 27, 2006 1:25 am

openssl help

Post by blade »

hi i keep getting this error with md5.h then i not able to run the make file

Code: Select all

[blade@localhost ZoneMinder-1.22.0]$ ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-libarch option.
    This tells configure where to find architecture specific libraries.
    The default of 'lib' is usually ok but 64 bit machines may require lib64.
    e.g. --with-libarch=lib or --with-libarch=lib64
configure: WARNING: You can call configure with the --with-mysql option.
    This tells configure where to find the MySql C library and headers if configure cannot
    locate them automatically.
    e.g. --with-mysql=/usr/local or --with-mysql=/usr
configure: WARNING: You can call configure with the --with-ffmpeg option.
    This tells configure where to find the ffmpeg root directory within which are the libavcodec
    and libavformat files that can be used to build true MPEG streaming into ZoneMinder. Ensure that
    your copy of ffmpeg has installed libraries as well as binaries (use 'make installlib'). If you
    are using a local install of ffmpeg you may have to remove or rename a previous real installation
    as the headers and libraries from that will probably be picked up before your local copy.
    e.g. --with-ffmpeg=/usr/local
configure: WARNING: You can call configure with the --with-extralibs option.
    Ordinarily you will need to use this option only when your copy of ffmpeg has been built
    with support for additional formats and you would use this option to detail which additional
    libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder.
    You will need to wrap this option in quotes if it contains any spaces.
    e.g. --with-extralibs="-lmp3lame"
configure: WARNING: You can call configure with the --with-webuser option.
    This tells configure what the user name of the web user is if it is not the default of 'apache'.
    e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
    This tells configure what the group name of the web group is if it is not the default of 'apache'.
    e.g. --with-webgroup=apache or --with-webgroup=web
configure: WARNING: You can call configure with the --enable-debug=<yes|no> or --disable-debug option.
    This tells configure whether to compile ZoneMinder with debug included. Although debug is included
    by default it is not output unless explicitly switched on elsewhere. These checks may induce a
    small penalty on performance and if you are after squeezing the maximum possible performance out
    of ZoneMinder you may use this switch to prevent debug from being compiled in.
    e.g. --enable-debug=yes or --disable-debug
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking how to run the C++ preprocessor... g++ -E
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... no
configure: error: zm requires openssl/md5.h
[/code]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

install the open ssl libs or devel depending on your distro.

Corey
blade
Posts: 5
Joined: Fri Jan 27, 2006 1:25 am

Post by blade »

ok i got that work now i have
by the way i am running mandriva 2006

Code: Select all

configure: error: zm requires Date::Manip
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

perl-Date-Manip package
blade
Posts: 5
Joined: Fri Jan 27, 2006 1:25 am

Post by blade »

hopefuly this is the last erorr

Code: Select all

Could not connect to database: Access denied for user 'zmuser'@'localhost' (using password: YES)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Did you create your Database?
Did you create your user in the database?
Have you reloaded the database since adding the user?

Regards,
Corey
blade
Posts: 5
Joined: Fri Jan 27, 2006 1:25 am

Post by blade »

i did all of that i miss type the password
thank you for your help
JoshC
Posts: 3
Joined: Sat Jan 28, 2006 7:23 am

Open SSL installed - still getting error

Post by JoshC »

I've got a similar issue though I'm pretty sure I've got openssl dev installed. I'm using Suse 10 and YaST is saying the dev packages are installed but when configuring ZoneMinder I get:

configure: error: zm requires openssl/md5.h

Does OpenSSL need to be installed somewhere specific or do I need to tell ZoneMinder where it is. (I'm fairly ne wto Linux in general)

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

Post by zoneminder »

Trying doing a 'locate md5.h' to check you have the file installed. Also the config.log file might have a bit more information at the end.
Phil
JoshC
Posts: 3
Joined: Sat Jan 28, 2006 7:23 am

Post by JoshC »

Thanks Phil. Tried doing a locate and found I couldn't. Turns out Suse 10 doesn't install some of the basic packages by default.
This is turning into quite the learning experience :-)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Doing

Code: Select all

find /usr -name md5.h
will have the same result. If find isn't on there then you are in big trouble :lol:
Phil
berrymp
Posts: 2
Joined: Wed Feb 01, 2006 10:47 am

openssl help

Post by berrymp »

This looks like a suse thing. I am having the same issue. SUSE10.0

the find command results in finding 4 versions:
/usr/lib/news/include/inn/md5.h
/usr/local/ssl/include/openssl/md5.h
/usr/include/htdig/md5.h
/usr/include/openssl/md5.h

is there a link to it somewhere that needs modifying?

Appreciate your time, thankyou.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I ran find on my builder machine (same one that does the FC RPMs) for your referance, here are the results.

Code: Select all

# find /usr -name md5.h
/usr/lib/dietlibc/include/md5.h
/usr/src/debug/Data-UUID-0.11/md5.h
/usr/include/md5.h
/usr/include/sasl/md5.h
/usr/include/silc/md5.h
/usr/include/pppd/md5.h
/usr/include/php/ext/standard/md5.h
/usr/include/net-snmp/library/md5.h
/usr/include/beecrypt/md5.h
/usr/include/isc/md5.h
/usr/include/cups/md5.h
/usr/include/gaim/md5.h
/usr/include/openssl/md5.h

# rpm -q --whatprovides /usr/include/md5.h
cyrus-sasl-devel-2.1.19-3
Suse should not be too differant.

Regards,
Corey
berrymp
Posts: 2
Joined: Wed Feb 01, 2006 10:47 am

openssl issue

Post by berrymp »

mine is as follows:

linux:/usr/include find /usr -name md5.h
/usr/lib/news/include/inn/md5.h
/usr/local/ssl/include/openssl/md5.h
/usr/include/htdig/md5.h
/usr/include/openssl/md5.h

linux:/usr/include/openssl # rpm -q --whatprovides /usr/include/openssl/md5.h
openssl-devel-0.9.7g-2.2
dgsconseil
Posts: 13
Joined: Sun Feb 12, 2006 3:20 pm

Post by dgsconseil »

by the way i wrote a little tuto on how to install zoneminder on suse 10 oss
may i be helpfull to check all of the required steps are done

http://www.zoneminder.com/forums/viewtopic.php?t=5686
Locked