Kirjoittaja Aihe: [Ratkaistu] ZoneMinder asennusongelma  (Luettu 2556 kertaa)

haspu

  • Käyttäjä
  • Viestejä: 96
    • Profiili
[Ratkaistu] ZoneMinder asennusongelma
« : 31.08.09 - klo:11.36 »
Yritän asentaa ZoneMinderia mutta hommaa pysähtyy tähän:

Koodia: [Valitse]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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: error: You must call configure with the --with-webdir option.
    This tells configure where to install PHP and web files and scripts.
    e.g. --with-webdir=/var/www/html or --with-webdir=/www/vhtdocs/<site>

Osaisiko joku neuvoa, miten pääsee eteenpäin?
« Viimeksi muokattu: 31.08.09 - klo:18.32 kirjoittanut haspu »

haspu

  • Käyttäjä
  • Viestejä: 96
    • Profiili
Vs: ZoneMinder asennusongelma
« Vastaus #1 : 31.08.09 - klo:13.56 »
Miten korjata nuo riippuvuusongelmat?

Koodia: [Valitse]
apl@apl-desktop:~$ sudo dpkg -i zoneminder_1.24.1-1_amd64.deb
Valitaan aikaisemmin valitsematon paketti zoneminder.
(Luetaan tietokantaa... 150146 tiedostoa ja hakemistoa tällä hetkellä asennettuna.)
Puretaan pakettia zoneminder (zoneminder_1.24.1-1_amd64.deb)...
dpkg: riippuvuusongelmat estävät paketin zoneminder asetusten asettamisen:
 zoneminder riipuu paketista libavcodec52 (>= 3:0.svn20090303-1) | libavcodec-unstripped-52 (>= 3:0.svn20090303-1); kuitenkin:
  Pakettia libavcodec52 ei ole asennettu.
  Pakettia libavcodec-unstripped-52 ei ole asennettu.
 zoneminder riipuu paketista libavformat52 (>= 3:0.svn20090303-1) | libavformat-unstripped-52 (>= 3:0.svn20090303-1); kuitenkin:
  Pakettia libavformat52 ei ole asennettu.
  Ohjelman libavformat-unstripped-52 versio järjestelmässä on 3:0.svn20080206-12ubuntu3+unstripped5.
 zoneminder riipuu paketista libavutil49 (>= 3:0.svn20090303-1) | libavutil-unstripped-49 (>= 3:0.svn20090303-1); kuitenkin:
  Pakettia libavutil49 ei ole asennettu.
  Ohjelman libavutil-unstripped-49 versio järjestelmässä on 3:0.svn20080206-12ubuntu3+unstripped5.
 zoneminder riipuu paketista libpcre3 (>= 7.7); kuitenkin:
  Ohjelman libpcre3 versio järjestelmässä on 7.6-2.1ubuntu1.
 zoneminder riipuu paketista libswscale0 (>= 3:0.svn20090303-1) | libswscale-unstripped-0 (>= 3:0.svn20090303-1); kuitenkin:
  Pakettia libswscale0 ei ole asennettu.
  Ohjelman libswscale-unstripped-0 versio järjestelmässä on 3:0.svn20080206-12ubuntu3+unstripped5.
 zoneminder riipuu paketista ffmpeg; kuitenkin:
  Pakettia ffmpeg ei ole asennettu.
dpkg: virhe käsiteltäessä zoneminder (--install):
 riippuvuusongelmia - jätetään asetukset säätämättä
Suoritetaan kohteen man-db liipaisimia...
Käsittelyssä tapahtui liian monta virhettä:
 zoneminder

mgronber

  • Käyttäjä
  • Viestejä: 1458
    • Profiili
Vs: ZoneMinder asennusongelma
« Vastaus #2 : 31.08.09 - klo:14.00 »
Yritän asentaa ZoneMinderia mutta hommaa pysähtyy tähän: [...]

Mikset asenna sitä suoraan paketinhallinnasta?

haspu

  • Käyttäjä
  • Viestejä: 96
    • Profiili
Vs: ZoneMinder asennusongelma
« Vastaus #3 : 31.08.09 - klo:14.04 »
Yritän asentaa ZoneMinderia mutta hommaa pysähtyy tähän: [...]

Mikset asenna sitä suoraan paketinhallinnasta?


Koska paketinhallinnan kautta tulee tälläinen virhe: E: zoneminder: aliprosessi post-installation script palautti virhetilakoodin 255

haspu

  • Käyttäjä
  • Viestejä: 96
    • Profiili
Vs: ZoneMinder asennusongelma
« Vastaus #4 : 31.08.09 - klo:18.28 »
No niin alkoihan se toimia. Asensin 9.04 8.10 päälle ja paketinhallinnasta uudelleen ZoneMinderin ja nyt toimii.  ;D