Help with zm-1.21.0 and fedora core2

Support and queries relating to all previous versions of ZoneMinder
Locked
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Help with zm-1.21.0 and fedora core2

Post by andres504 »

I am trying to compile zm, when I execute scrip zmconfig.pl.in appears to me this

Possible unintended interpolation of @prefix in string at ./zmconfig.pl line 91.
Possible unintended interpolation of @VERSION in string at ./zmconfig.pl line 99.
Variable "@VERSION" is not imported at ./zmconfig.pl line 99.
Possible unintended interpolation of @PATH_BUILD in string at ./zmconfig.pl line 107.
Possible unintended interpolation of @sysconfdir in string at ./zmconfig.pl line 115.
Possible unintended interpolation of @WEB_PREFIX in string at ./zmconfig.pl line 133.
Possible unintended interpolation of @CGI_PREFIX in string at ./zmconfig.pl line 142.
Possible unintended interpolation of @WEB_USER in string at ./zmconfig.pl line 151.
Possible unintended interpolation of @WEB_GROUP in string at ./zmconfig.pl line 160.
Possible unintended interpolation of @VERSION in string at ./zmconfig.pl line 1306.
Variable "@VERSION" is not imported at ./zmconfig.pl line 1306.
Global symbol "@prefix" requires explicit package name at ./zmconfig.pl line 91.
Global symbol "@VERSION" requires explicit package name at ./zmconfig.pl line 99.
Global symbol "@PATH_BUILD" requires explicit package name at ./zmconfig.pl line 107.
Global symbol "@sysconfdir" requires explicit package name at ./zmconfig.pl line 115.
Global symbol "@WEB_PREFIX" requires explicit package name at ./zmconfig.pl line 133.
Global symbol "@CGI_PREFIX" requires explicit package name at ./zmconfig.pl line 142.
Global symbol "@WEB_USER" requires explicit package name at ./zmconfig.pl line 151.
Global symbol "@WEB_GROUP" requires explicit package name at ./zmconfig.pl line 160.
Global symbol "@VERSION" requires explicit package name at ./zmconfig.pl line 1306.
Execution of ./zmconfig.pl aborted due to compilation errors.

excuse the gramatica but I do not speak ingles
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This looks suspiciously like you haven't run the ./configure stage?

Phil
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

Post by andres504 »

zoneminder wrote:This looks suspiciously like you haven't run the ./configure stage?

Phil
Thank you
when I execute
./configure --with-mysql=/usr/ --with-webdir=/var/www/html/zm/ --with-cgdir=/var/www/cgi-bin/
it appears

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-ffmpeg option.
This tells configure where to find the ffmpeg build directory within which are the libavcodec
and libavformat files that can be used to build true MPEG streaming into ZoneMinder. A normal
install of ffmpeg only installs the applications and not the libraries or headers necessary
to link to so this will probably be a local or temporary directory.
e.g. --with-ffmpeg=/usr/local
configure: WARNING: You can call configure with the --with-lame option.
This tells configure where to find the Lame library which can be used by the ffmpeg libraries
to generate IE compatible MPEG audio streams. This option is only necessary if you have built
the ffmpeg package itself with the --enable-mp3lame option and if the normal link cannot
find the library. Using mp3lame is not necessary or of any benefit to ZoneMinder per se.
e.g. --with-lame=/use/local/lib
configure: error: You must call configure with the --with-cgidir option.
This tells configure where to install cgi files and scripts.
e.g. --with-cgidir=/var/www/cgi-bin or --with-mysql=/www/vhtdocs/<site>/cgi-bin
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Post by thelight »

As the error message says, you also need to tell it the location of ffmpeg, lame, your cgi directory, etc
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

You have a typo

Code: Select all

--with-cgdir
should be

Code: Select all

--with-cgidir
Phil
Locked