Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Zoneminder] Problème de compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SiOu
Apprentice
Apprentice


Joined: 08 Apr 2005
Posts: 271

PostPosted: Thu Sep 17, 2009 12:48 pm    Post subject: [Zoneminder] Problème de compilation Reply with quote

Bonjour,

Voila j'ai un problème de compilation sur le package de zoneminder, quelque soit sa version.

Plutot qu'un grand discourt voici le problème :

Quote:
>>> Emerging (1 of 1) www-misc/zoneminder-1.23.3
* ZoneMinder-1.23.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
*
* Using dev-lang/php-5.2.10
*
* Checking for required PHP feature(s) ...
>>> Unpacking source...
>>> Unpacking ZoneMinder-1.23.3.tar.gz to /var/tmp/portage/www-misc/zoneminder-1.23.3/work
* Applying Makefile.am.patch ... [ ok ]
* Applying zm_create.sql.in.patch ... [ ok ]
* Applying zm_remote_camera.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3' ...
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy ... [ ok ]
>>> Source unpacked in /var/tmp/portage/www-misc/zoneminder-1.23.3/work
>>> Compiling source in /var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-libarch=lib64 --with-mysql=/usr --without-ffmpeg --disable-debug --disable-crashtrace --with-webdir=/var/www/zoneminder/htdocs --with-cgidir=/var/www/zoneminder/cgi-bin --with-webuser=apache --with-webgroup=apache
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-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"
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-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... x86_64-pc-linux-gnu-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... no
checking for ucontext_t... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-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... yes
checking whether backtrace is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for MD5 in -lgnutls-openssl... yes
checking for pcre_compile in -lpcre... yes
checking for ff_gcd in -lavutil... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for sws_scale in -lswscale... yes
checking for perl... perl
checking for perl version greater than or equal to 5.6.0... ok
checking for perl module Sys::Syslog... ok
checking for perl module DBI... ok
checking for perl module DBD::mysql... ok
checking for perl module Getopt::Long... ok
checking for perl module Time::HiRes... ok
checking for perl module Date::Manip... ok
checking for perl module LWP::UserAgent... no
configure: error: zm requires LWP::UserAgent

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3/config.log
*
* ERROR: www-misc/zoneminder-1.23.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3855: Called econf '--with-libarch=lib64' '--with-mysql=/usr' '--without-ffmpeg' '--disable-debug' '--disable-crashtrace' '--with-webdir=/var/www/zoneminder/htdocs' '--with-cgidir=/var/www/zoneminder/cgi-bin' '--with-webuser=apache' '--with-webgroup=apache'
* ebuild.sh, line 534: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/environment'.
*

>>> Failed to emerge www-misc/zoneminder-1.23.3, Log file:

>>> '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/build.log'

* Messages for package www-misc/zoneminder-1.23.3:

*
* ERROR: www-misc/zoneminder-1.23.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3855: Called econf '--with-libarch=lib64' '--with-mysql=/usr' '--without-ffmpeg' '--disable-debug' '--disable-crashtrace' '--with-webdir=/var/www/zoneminder/htdocs' '--with-cgidir=/var/www/zoneminder/cgi-bin' '--with-webuser=apache' '--with-webgroup=apache'
* ebuild.sh, line 534: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/environment'.
*

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


Une copie du build.log :

Quote:
checking for perl module Date::Manip... ok
checking for perl module LWP::UserAgent... no
configure: error: zm requires LWP::UserAgent

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-misc/zoneminder-1.23.3/work/ZoneMinder-1.23.3/config.log
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: www-misc/zoneminder-1.23.3 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 49: Called src_compile
^[[31;01m*^[[0m environment, line 3855: Called econf '--with-libarch=lib64' '--with-mysql=/usr' '--$
^[[31;01m*^[[0m ebuild.sh, line 534: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m die "econf failed"
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m econf failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/www-misc/zoneminder-1.23.3/temp/envi$
^[[31;01m*^[[0m


Un petit emerge --info si cela peut aider :

Quote:
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.29-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 10 Sep 2009 19:30:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r13, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sunrise /usr/local/portage/layman/perl-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acc acl alsa alsancurses amd64 avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg ldap libg++ mad mastroka mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl sysfs tcpd tk truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis xml xorg xv xvid zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


J'ai bien evidemment essayer de re-emerge les packages concernant LWP , mais sans succé, voici les paquets que j'ai d'installé sur ma machine :

Quote:
Patriick patriick # eix -I LWP
[I] dev-perl/LWP-Authen-Wsse
Available versions: (~)0.05
Installed versions: 0.05(15:49:59 09/16/09)
Homepage: http://search.cpan.org/dist/LWP-Authen-Wsse
Description: Library for enabling X-WSSE authentication in LWP

[I] dev-perl/LWP-UserAgent-Determined
Available versions: (~)1.04
Installed versions: 1.04(15:52:26 09/16/09)
Homepage: http://search.cpan.org/dist/LWP-UserAgent-Determined
Description: A virtual browser that retries errors

[I] dev-perl/LWPx-ParanoidAgent
Available versions: (~)1.07
Installed versions: 1.07(15:50:14 09/16/09)
Homepage: http://search.cpan.org/dist/LWPx-ParanoidAgent
Description: Subclass of LWP::UserAgent that protects you from harm

[I] dev-perl/LWP-Online [1]
Available versions: (~)1.07 {test}
Installed versions: 1.07(15:50:22 09/16/09)(-test)
Homepage: http://search.cpan.org/dist/LWP-Online
Description: Does your process have access to the web

[I] sys-libs/lwp
Available versions: (1) 2.2 (~)2.5
Installed versions: 2.5(1)(15:52:01 09/16/09)
Homepage: http://www.coda.cs.cmu.edu/
Description: Light weight process library (used by Coda). This is NOT libwww-perl.


J'arrive pas à cerner ce probleme de lwp :/
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Thu Sep 17, 2009 1:44 pm    Post subject: Reply with quote

Hello,

Essaie de réinstaller libwww-perl :
Code:

# emerge --oneshot libwww-perl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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