Problems Configuring... zm requires gnutls/openssl.h..

Support and queries relating to all previous versions of ZoneMinder
Post Reply
jdamian.b
Posts: 1
Joined: Tue Jan 22, 2008 1:12 am

Problems Configuring... zm requires gnutls/openssl.h..

Post by jdamian.b » Tue Jan 22, 2008 1:49 am

Hi everybody..
Im new on this site.. but i want to use ZoneMinder, well, first.. I'm on a Ubuntu Feisty distro

my problem is configuring . I got the following when I do ./configure ... :


juan@juan-server:~/ZoneMinder-1.23.1$ sudo ./configure --with-webdir=/var/www/zm --with-cgidir=/var/www/cgl-bin
Password:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
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> 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
configure: WARNING: You can call configure with the --enable-crashtrace=<yes> or --disable-crashtrace option.
This tells configure whether to compile ZoneMinder with crash tracing included. This allows a
dump of the stack trace when a ZoneMinder binary crashes or is killed by an unexpected signal.
Although this should work on most systems it does rely on un(or loosely) documented features and
so should be regarded as experimental. If you experience problems compiling zm_signal.cpp or
ZoneMinder binaries fail to shut down correctly then you should probably disable this feature.
e.g. --enable-crashtrace=yes or --disable-crashtrace
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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 for size_t... yes
checking return type of signal handlers... void
checking for siginfo_t... yes
checking for struct sigcontext... yes
checking for struct sigcontext.eip... yes
checking for ucontext_t... 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 gnutls/openssl.h
juan@juan-server:~/ZoneMinder-1.23.1$


So .. that gnutls/openssl.h .. I dunno hw to get it.. mm I hv installed openssl from synaptic already

I'v been reading the dependecy list on the forum but i really dunno hw to get them from synaptic or apt... this is the link

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

I'd like to know hw can i get those dependecies.. using apt or synapthic

is ther any special package thta I hv to got to pass this error?

if u want someelse information.. ask me.. but plz... tell me hw can i get it :D

Thnx for everything!

JDB,

linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Post by linuxsense » Tue Jan 22, 2008 4:57 am

"sudo apt-get install libssl-dev"

ivan.costajr
Posts: 1
Joined: Mon Feb 04, 2008 12:33 pm
Location: Brasil

Post by ivan.costajr » Mon Feb 04, 2008 12:55 pm

Hey, guys!

I had the same problem. The solution: install the libgnutls-dev package. However, I still have a problem with configure process:

Checking for perl module PHP::Serialization... no
configure: error: zm requires PHP::Serialization

And now? Can someone help? :cry:

timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA
Contact:

Post by timcraig » Mon Feb 04, 2008 5:30 pm

Ivan,

The solution to your problem is in step #10 in the first post of this thread http://www.zoneminder.com/forums/viewtopic.php?t=11068.

vejeta
Posts: 10
Joined: Tue Feb 05, 2008 2:16 pm

configure:error: zm requires gnutls/openssl.h (under suse10)

Post by vejeta » Tue Feb 05, 2008 2:27 pm

Hello people, I'm having same problem with Suse 10 SP1.

Code: Select all

./configure --with-libarch=lib64 --with-mysql=/usr/lib/mysql  --with-webdir=/srv/www/htdocs/zm --with-cgidir=/srv/www/cgi-bin --with-ffmpeg=/usr/lib --with-webuser=wwwrun --with-webgroup=www ZM_DB_PASS=XXXX


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
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-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 --enable-debug=<yes>
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
configure: WARNING: You can call configure with the
--enable-crashtrace=<yes> or --disable-crashtrace option.
    This tells configure whether to compile ZoneMinder with crash tracing
included. This allows a
    dump of the stack trace when a ZoneMinder binary crashes or is killed by
an unexpected signal.
    Although this should work on most systems it does rely on un(or loosely)
documented features and
    so should be regarded as experimental. If you experience problems
compiling zm_signal.cpp or
    ZoneMinder binaries fail to shut down correctly then you should probably
disable this feature.
    e.g. --enable-crashtrace=yes or --disable-crashtrace
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
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 grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for size_t... no
checking return type of signal handlers... void
checking for siginfo_t... no
checking for struct sigcontext... no
checking for struct sigcontext.eip... no
checking for ucontext_t... no
checking how to run the C++ preprocessor... /lib/cpp
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... yes
configure: WARNING: mysql/mysql.h: present but cannot be compiled
configure: WARNING: mysql/mysql.h:     check for missing prerequisite
headers?
configure: WARNING: mysql/mysql.h: see the Autoconf documentation
configure: WARNING: mysql/mysql.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: mysql/mysql.h: proceeding with the preprocessor's result
configure: WARNING: mysql/mysql.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to support@zoneminder.com ##
configure: WARNING:     ## ------------------------------------- ##
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... no
checking pcre.h presence... yes
configure: WARNING: pcre.h: present but cannot be compiled
configure: WARNING: pcre.h:     check for missing prerequisite headers?
configure: WARNING: pcre.h: see the Autoconf documentation
configure: WARNING: pcre.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pcre.h: proceeding with the preprocessor's result
configure: WARNING: pcre.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to support@zoneminder.com ##
configure: WARNING:     ## ------------------------------------- ##
checking for pcre.h... yes
checking whether round is declared... no
checking whether strsignal is declared... no
checking whether MD5 is declared... no
configure: error: zm requires gnutls/openssl.h
I have installed the following packages:

gnutls-1.2.10-13.5
gnutls-devel-1.2.10-13.5
openssl-devel-0.9.8a-18.15
compat-openssl097g-0.9.7g-13.5
openssl-0.9.8a-18.15

and gnutls-devel provides /usr/include/gnutls/openssl.h.

I tried adding the --includedir=/usr/include or --includedir=/usr
without success. What am I missing?

I would appreciate your help, thanks.

User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex » Tue Feb 05, 2008 3:56 pm

hi,

check that the following packages are installed: gcc-c++ mysql-devel and pcre-devel.

hope this helps
Image

vejeta
Posts: 10
Joined: Tue Feb 05, 2008 2:16 pm

Post by vejeta » Tue Feb 05, 2008 4:33 pm

monex wrote:hi,

check that the following packages are installed: gcc-c++ mysql-devel and pcre-devel.

hope this helps
Yes, it did. It seemed it required more packages in addition of the obvious one :) Thanks

Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.
Contact:

Post by Fitch » Fri Nov 06, 2009 2:02 pm

Being a newbie, could you tell me how to check for these items?

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests