Skocz do zawartości

Problem Z Instalacją Zoneminder


buczo PL

Rekomendowane odpowiedzi

Witam

 

Mam problem z instalacją programu http://www.zoneminder.com/. Ściągnąłem i rozpakowałem pliki źródłowe, daję polecenie "configure" i wychodzi mi coś takiego:

 

[root@IMPLEX ZoneMinder-1.24.1]# ./configure --with-libarch=lib64 --with-mysql=/usr --with-ffmpeg=/usr/local --with-extralibs="-lmp3lame" --with-webdir=/var/www/html --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 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-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																											   
configure: WARNING: You can call configure with the --enable-crashtrace=<yes|no> 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																									 
configure: WARNING: You can call configure with the --enable-mmap=<yes|no> or --disable-mmap option.														 
This tells configure whether to compile ZoneMinder with mmap support rather than IPC shared															  
memory. This is an experimental feature that uses memory mapped into files which all processes														   
can share. Memory mapping requires less configuration and is more flexible than shared memory															
but may slow down your system unless the mapped files are configured to reside on a fast or
RAM based filesystem.
e.g. --enable-mmap=yes or --disable-mmap
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 for C++ compiler default output file name...
configure: error: in `/home/Implex/Publiczny/ZoneMinder-1.24.1':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
[root@IMPLEX ZoneMinder-1.24.1]# ^C
[root@IMPLEX ZoneMinder-1.24.1]# ./configure --with-libarch=lib64 --with-mysql=/usr --with-ffmpeg=/usr/local --with-extralibs="-lmp3lame" --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache --enable-debug=yes --enable-crashtrace=yes --enable-mmap=yes
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
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 for C++ compiler default output file name...
configure: error: in `/home/Implex/Publiczny/ZoneMinder-1.24.1':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

 

Próbowałem jeszcze wcześniej zrobić te dowiązania w mysql o których pisze w dokumentacji, ale też wyskoczył mi bląd...

 

[root@IMPLEX ZoneMinder-1.24.1]# mysql
Welcome to the MySQL monitor.  Commands end with; or \g.
Your MySQL connection id is 6
Server version: 5.1.32 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> mysql> create zm;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql> create zm' at line 1
mysql>

 

Nie bardzo wiem jak mam sobie z tym poradzić, próbowałem instalować z paczki przez yuma, ale wtedy też nie chciało mi to działać.. Poradzicie coś? Ewentualnie czy jest jakiś inny program pod linuksa który obsługuje karty CCTV?

 

Pozdrawiam

Buczo

 

------------------

Przy długich listingach (powyżej 15 linii) proszę stosować znaczniki [codebox][/codebox] zamiast [code][/code]

Edytowane przez WalDo
Odnośnik do komentarza
Udostępnij na innych stronach

Zrobiłem tak i niby się zainstalowało, ale nie umiem go uruchomić, mimo że robię wszystko zgodnie z instrukcją ze strony Zoneminder'a (przynajmniej tak mi się wydaje). Nie działa mi polecenie

zm

ani nie chce się program otworzyć w przeglądarce mimo, że uruchomiłem te dwa polecenia

chkconfig ?levels 35 mysqld on
chkconfig ?levels 35 httpd on

 

natomiast później pokazuje mi się coś takiego:

 

[root@IMPLEX Implex]# service httpd start
Uruchamianie httpd:
[root@IMPLEX Implex]# service zm  start
zm: nierozpoznana usługa

 

Nie mam pojęcia co robię nie tak. I co gorsza nie bardzo umiem chyba wytłumaczyć mój problem...

 

Pozdrawiam

Buczo

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...