Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Zoneminder - błąd podczas instalacji
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
Nomen
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 281
Location: Poland:PLOCK/UK:London

PostPosted: Mon Feb 13, 2006 7:57 pm    Post subject: Zoneminder - błąd podczas instalacji Reply with quote

Witam

Poczas instalacji wyskakuje mi taki błąd

Code:

config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zmconfig.pl
config.status: creating config.h
config.status: executing depfiles commands
checking for zmconfig.txt... no
configure: WARNING: Now run 'perl zmconfig.pl' to create your ZoneMinder configuration
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4'
Making all in src
make[2]: Entering directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include -I/usr/include   -march=pentium4 -O2
 -s -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include -I/usr/include   -march=pentium4 -O2
 -s -MT zm.o -MD -MP -MF ".deps/zm.Tpo" -c -o zm.o zm.cpp; \
then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; else rm -f ".deps/zm.Tpo"; exit 1; fi
In file included from zm.cpp:20:
zm.h:28:23: zm_config.h: No such file or directory
make[2]: *** [zm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from zmc.cpp:24:
zm.h:28:23: zm_config.h: No such file or directory
In file included from /usr/include/math.h:70,
                 from zm_image.h:29,
                 from zm_monitor.h:28,
                 from zmc.cpp:26:
/usr/include/bits/mathcalls.h:310: error: declaration of `double round(double)
   throw ()' throws different exceptions
zm.h:33: error: than previous declaration `double round(double)'
In file included from zm_zone.h:27,
                 from zm_monitor.h:29,
                 from zmc.cpp:26:
zm_event.h: In static member function `static void Event::Initialise()':
zm_event.h:86: error: `config' undeclared (first use this function)
zm_event.h:86: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
zmc.cpp: In function `int main(int, char**)':
zmc.cpp:155: error: `zmLoadConfig' undeclared (first use this function)
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/zoneminder-1.21.4/work/zm-1.21.4'
make: *** [all] Error 2

!!! ERROR: www-misc/zoneminder-1.21.4 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Mój make.conf
Code:

CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -fno-stack-protector -fno-stack-protector-all -s"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-march=pentium4 -O2 -s"
USE="3dnow aac acpi -apm -bonobo ccache cdinstall cdparanoia cg dbus \
     dedicated dlloader doc dri dvd dvdread -eds -emboss fat fbcon -gnome \
     glx -gtkhtml hardened input_devices_mouse irda jabber java javascript \
     libcaca lm_sensors matroska mmx mmxext -mozilla mp4live mpeg2 \
     mplayer ntfs ntlm nls nsplugin nvidia opera reiserfs pic sblive scanner sse \
     sse2 subtitles theora tools -usb v4l v4l2 vcd \
     video_cards_nvidia videos win32codecs wma xml xscreensaver \
     xvmc zip"
LINGUAS="pl"
LANGUAGE=48
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl"
FEATURES="prelink sandbox candy strict userpriv usersandbox ccache sfperms"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
ALSA_TOOLS="emu10k1 bt878"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"
PORTAGE_NICENESS="19"
PORTAGE_TMPDIR="/var/tmp"
DISTCC_DIR="${PORTAGE_TMPDIR}/portage/.distcc"
MAKEOPTS="-j2"


wpis z /etc/portage/package.use zgodnie z zaleceniem portage

Code:

=dev-lang/php-5.0.5-r5 cli cgi apache apache2 dbm -berkdb -gdbm -mysql



Edytowałem pliki które pokazują błędy ale raczej nie rozumiem używanych tam parametrów. :roll:

Problem jest zgłoszony na Buzilli https://bugs.gentoo.org/show_bug.cgi?id=119226 ale nie ma żadnych odpowiedzi.

Dodam jeszcze ,że po ponownym wpisaniu emerge zoneminder zuważyłem coś takiego

Code:

emerge zoneminder
Calculating dependencies  ...done!
>>> emerge (1 of 1) www-misc/zoneminder-1.21.4 to /
>>> md5 files   ;-) zoneminder-1.22.0.ebuild
>>> md5 files   ;-) zoneminder-1.21.4.ebuild
>>> md5 files   ;-) files/digest-zoneminder-1.21.4
>>> md5 files   ;-) files/digest-zoneminder-1.22.0
>>> md5 files   ;-) files/zmconfig-gentoo.txt
>>> md5 files   ;-) files/conf.d
>>> md5 files   ;-) files/init.d
>>> md5 files   ;-) files/postinstall.txt
>>> md5 files   ;-) files/postupgrade.txt
>>> md5 files   ;-) files/Makefile.am.patch
>>> md5 files   ;-) files/postinstall-2.txt
>>> md5 src_uri ;-) zm-1.21.4.tar.gz
---------------------------------------------------------
 *
 * This ebuild overrides the default SLOT behaviour for webapps
 * If this package installs files into the htdocs dir, this is
 * probably a bug in the ebuild.
 *
---------------------------------------------------------


Jakieś pomysły ??
_________________
Szukajcie a znajdziecie a będzie wam dane.

http://ratujtybet.org/

http://www.freetibet.org/
Back to top
View user's profile Send private message
szolek
Guru
Guru


Joined: 30 Mar 2005
Posts: 570
Location: Brzóza Królewska

PostPosted: Wed Feb 15, 2006 2:35 pm    Post subject: Reply with quote

To się da skompilować z jakąś starszą wersją media-video/ffmpeg. W tej chwili nie pamiętamdokładnie z którą. :wink:
Back to top
View user's profile Send private message
Nomen
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 281
Location: Poland:PLOCK/UK:London

PostPosted: Wed Feb 15, 2006 5:39 pm    Post subject: Reply with quote

Też gdzieś zahaczyłem o rekompilacje ze starszym ffmpeg, tylko że tam sytuacja dotyczyła innego problemu, ale spróbuję.
_________________
Szukajcie a znajdziecie a będzie wam dane.

http://ratujtybet.org/

http://www.freetibet.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum