Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Courier-authlib erreur 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
mrgarrison
n00b
n00b


Joined: 18 Oct 2006
Posts: 16

PostPosted: Wed Oct 18, 2006 7:40 am    Post subject: [solved] Courier-authlib erreur de compilation Reply with quote

Lorseque je veux compiler courier-authlib j'ai une belle erreur de compilation.

infos d'emerge

Code:
ulysseDB ~ # emerge --info
Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.5
Last Sync: Thu, 28 Sep 2006 01:53:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.6.3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran gpm imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javacomm javamail jikes kernel_linux ldap libg++ linguas_fr ncurses nls nptl nptlonly pcre perl postgres ppds pppd python readline reflection sasl session spl ssl tcpd tomcat truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo webdav xerces xml xmlrc xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY






La Belle erreur en question

Code:
UlysseDB ~ # emerge courier-authlib
Calculating dependencies... done!

>>> Emerging (1 of 1) net-libs/courier-authlib-0.58 to /
 * courier-authlib-0.58.tar.bz2 size ;-) ...                              [ ok ]
 * courier-authlib-0.58.tar.bz2 RMD160 ;-) ...                            [ ok ]
 * courier-authlib-0.58.tar.bz2 SHA256 ;-) ...                            [ ok ]
 * courier-authlib-0.58.tar.bz2 MD5 ;-) ...                               [ ok ]
>>> Unpacking source...
 * The dev-tcltk/expect package is not installed.
 * Without it, you will not be able to change system login passwords.
 * However non-system authentication modules (LDAP, MySQL, PostgreSQL,
 * and others) will work just fine.
>>> Unpacking courier-authlib-0.58.tar.bz2 to /var/tmp/portage/courier-authlib-0 .58/work
QA Notice: USE Flag 'elibc_uclibc' not in IUSE for net-libs/courier-authlib-0.58
 * Applying configure-db4.patch ...                                       [ ok ]
 * Using GNU config files from /usr/share/libtool
 *   Updating config.sub                                                  [ ok ]
 *   Updating libltdl/config.sub                                          [ ok ]
 *   Updating config.guess                                                [ ok ]
 *   Updating libltdl/config.guess                                        [ ok ]
You should update your `aclocal.m4' by running aclocal.
 * Recreating configure ...
[mpeg4 @ 0x3601f184]frame skip 8
                                [mpeg4 @ 0x3601f184]frame skip 8  [ ok ]
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `..'.
 * Recreating bdbobj/configure ...
[mpeg4 @ 0x3601f184]frame skip 8
                                [mpeg4 @ 0x3601f184]frame skip 8
                                                                [mpeg4 @ 0x3601f 184]frame skip 8
                [mpeg4 @ 0x3601f184]frame skip 8
                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/courier-authlib-0.58/work/courier-authl ib-0.58 ...
 * Configuring courier-authlib: --without-authpam --with-authldap --with-db=db - -without-authvchkpw --without-authmysql --with-authpgsql
 * econf: updating courier-authlib-0.58/config.guess with /usr/share/gnuconfig/c onfig.guess
 * econf: updating courier-authlib-0.58/config.sub with /usr/share/gnuconfig/con fig.sub
 * econf: updating courier-authlib-0.58/libltdl/config.guess with /usr/share/gnu config/config.guess
 * econf: updating courier-authlib-0.58/libltdl/config.sub with /usr/share/gnuco nfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --inf odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var /lib --sysconfdir=/etc/courier --datadir=/usr/share/courier --libexecdir=/usr/li b/courier --localstatedir=/var/lib/courier --sharedstatedir=/var/lib/courier/com  --with-authdaemonvar=/var/lib/courier/authdaemon --with-authshadow --without-re dhat --with-mailuser=mail --with-mailgroup=mail --cache-file=/var/tmp/portage/co urier-authlib-0.58/work/courier-authlib-0.58/configuring.cache --without-authpam  --with-authldap --with-db=db --without-authvchkpw --without-authmysql --with-au thpgsql --build=i686-pc-linux-gnu
configure: creating cache /var/tmp/portage/courier-authlib-0.58/work/courier-aut hlib-0.58/configuring.cache
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes

---COUPURE----
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating authdaemond
config.status: creating authdaemonrc
config.status: creating authsystem.passwd
config.status: creating README.authdebug.html
config.status: creating dbobj.h
config.status: creating authmigrate
config.status: creating courier-authlib.spec
config.status: creating courier-authlib.lpspec
config.status: creating courier-authlib.sysvinit
config.status: creating userdb-test-cram-md5.pl
config.status: creating courier_auth_config.h
config.status: courier_auth_config.h is unchanged
config.status: executing depfiles commands
CONFIG_FILES=authlib.html CONFIG_HEADERS= /bin/sh ./config.status
echo "#define AUTHLDAPRC \"/etc/courier/authlib/authldaprc\"" >authldaprc.h
echo "#define AUTHMYSQLRC \"/etc/courier/authlib/authmysqlrc\"" >authmysqlrc.h
echo "#define AUTHPGSQLRC \"/etc/courier/authlib/authpgsqlrc\"" >authpgsqlrc.h
echo "#define PIPE_PROGRAM \"/etc/courier/authlib/authProg\"" >authpiperc.h
echo "#define AUTHDAEMONRC \"/etc/courier/authlib/authdaemonrc\"" >authdaemonrc.h
echo "#define AUTHDAEMONVAR \"/var/lib/courier/authdaemon\"" >>authdaemonrc.h
echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
echo '#include "./include/config.h"' >vpopmail_config.h
echo '#define PKGVERSION "0.58"' >packageversion.h
echo '#define AUTHCHANGEPWDIR "/usr/lib/courier/courier-authlib"' >authchangepwdir.h
echo '#define SBINDIR "/usr/sbin"' >sbindir.h
echo '#define PKGLIBDIR "/usr/lib/courier-authlib"' >pkglibdir.h
echo '#define PKGINCLUDEDIR "/usr/include"' >pkgincludedir.h
echo '#define MAILUSER "mail"' >mailusergroup.h
echo '#define MAILGROUP "mail"' >>mailusergroup.h
CONFIG_FILES=README_authlib.html CONFIG_HEADERS= /bin/sh ./config.status
cd . && /bin/sh /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/missing --run autoheader
config.status: creating authlib.html
config.status: creating README_authlib.html
rm -f stamp-h1
touch courier_auth_config.h.in
cd . && /bin/sh ./config.status courier_auth_config.h
config.status: executing depfiles commands
config.status: executing depfiles commands
config.status: creating courier_auth_config.h
config.status: courier_auth_config.h is unchanged
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58'
Making all in libltdl
make[2]: Entering directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/libltdl'
make  all-am
make[3]: Entering directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/libltdl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/libltdl'
make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/libltdl'
Making all in bdbobj
make[2]: Entering directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
cd . && /bin/sh /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/missing --run aclocal-1.9
cd . && /bin/sh /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/missing --run autoconf
 cd . && srcdir=. /bin/sh ./../automake.fix /bin/sh /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/missing --run automake-1.9 --foreign
+ /bin/sh /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/missing --run automake-1.9 --foreign
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/courier --datadir=/usr/share/courier --libexecdir=/usr/lib/courier --localstatedir=/var/lib/courier --sharedstatedir=/var/lib/courier/com --with-authdaemonvar=/var/lib/courier/authdaemon --with-authshadow --without-redhat --with-mailuser=mail --with-mailgroup=mail --without-authpam --with-authldap --with-db=db --without-authvchkpw --without-authmysql --with-authpgsql --build=i686-pc-linux-gnu build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CXXFLAGS=-O2 -march=i686 -pipe --enable-ltdl-install=no --with-makedatprog=/usr/lib/courier/courier-authlib/makedatprog --with-userdb=/etc/courier/authlib/userdb --cache-file=/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/configuring.cache --srcdir=.  --no-create --no-recursion
+ sed 's/if $(COMPILE)/@echo Compiling $< ; if $(COMPILE)/
s/--mode=link/--quiet --mode=link/
s/--mode=compile/--quiet --mode=compile/
s/^     $(LINK)/        @echo Linking $@; $(LINK)/
s/^     $(CXXLINK)/     @echo Linking $@; $(CXXLINK)/
s/if $(LTCOMPILE)/@echo Compiling $< ; if $(LTCOMPILE)/
s/if $(CXXCOMPILE)/@echo Compiling $< ; if $(CXXCOMPILE)/'
+ cmp -s ./Makefile.in.fixed ./Makefile.in
+ mv ./Makefile.in.fixed ./Makefile.in
+ rm -f ./Makefile.in.fixed
configure: loading cache /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/configuring.cache
checking for a BSD-compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-linux-gnu-gcc... (cached) i686-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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for AIX... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3
checking for strerror in -lcposix... no
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for ld used by i686-pc-linux-gnu-gcc... (cached) /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... (cached) yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/i686-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... (cached) pass_all
checking for dlfcn.h... (cached) yes
checking how to run the C++ preprocessor... (cached) i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... (cached) i686-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether i686-pc-linux-gnu-gfortran accepts -g... (cached) yes
checking the maximum length of command line arguments... (cached) 32768
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for i686-pc-linux-gnu-ar... (cached) i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... (cached) i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... (cached) /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... (cached) yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gfortran static flag -static works... yes
checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for db_create_4002 in -ldb-4.2... (cached) yes
checking for db_create_4002... (cached) yes
checking for db_create_4001... (cached) no
checking for db_create_4000... (cached) no
checking for db_create... (cached) no
checking for limits.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for size_t... (cached) yes
checking if the C++ compiler needs -fhandle-exceptions... no
configure: updating cache /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/configuring.cache
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
make[2]: Entering directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
cd . && /bin/sh /var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make  all-am
make[3]: Entering directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
Compiling bdbobj.c
Compiling bdbobj2.c
Compiling bdbobj3.c
Compiling testbdb.C
Linking libbdbobj.la
Linking testbdb
./.libs/libbdbobj.a(bdbobj.o): In function `.L82':
bdbobj.c:(.text+0x437): undefined reference to `db_create'
collect2: ld returned 1 exit status
make[3]: *** [testbdb] Error 1
make[3]: Leaving directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58'
make: *** [all] Error 2

!!! ERROR: net-libs/courier-authlib-0.58 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  courier-authlib-0.58.ebuild, line 101:   Called die

!!! Compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.



Last edited by mrgarrison on Wed Oct 18, 2006 12:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Wed Oct 18, 2006 10:50 am    Post subject: Reply with quote

j'ai déjà eu ce problème, c'est à cause d'une upgrade de sys-libs/db. Cherche sur le bugzilla, ya un patch pour ça.
Back to top
View user's profile Send private message
mrgarrison
n00b
n00b


Joined: 18 Oct 2006
Posts: 16

PostPosted: Wed Oct 18, 2006 12:19 pm    Post subject: Reply with quote

Oui effectivement. merci pour le coup de pouces ;-)
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