gentoo / # emerge info Portage 2.0.48-r1 (default-1.0, gcc-3.2.2, glibc-2.2.5-r2,2.2.5-r8) ================================================================= System uname: 2.4.21-pre5-ac2 i686 AuthenticAMD GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X 11/xkb /opt/jakarta/tomcat/conf /usr/kde/3.1/share/config /usr/kde/3/share/confi g /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode jpeg kerberos libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr directfb esd gdbm ggi gif gnome gnome-libs gpm gtk gtkhtml guile imlib java kde ldap libwww motif mozilla mysql nas nls oggvorbis opengl pam perl png python qt readline sdl slang snmp ssl svga tcltk tcpd tetex tiff X" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" gentoo / # emerge -vp samba These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] net-fs/samba-2.2.8a +pam -acl +cups +ldap +ssl +tcpd -oav gentoo / # emerge samba checking configure summary... configure: error: summary failure. Aborting config !!! ERROR: net-fs/samba-2.2.8a failed. !!! Function src_compile, Line 112, Exitcode 1 !!! bad ./configure Reproducible: Always Steps to Reproduce: 1.use=ldap do a compil error 2. 3.
your ldap libs are messed up, probably. you have not shown WHY the compile failed. look in config.log. or maybe you expected me to just take a guess? please, if you are not going to do a meaningful bug report -- then dont bother. i need to see WHY the compile failed if you want me to help you.
Created attachment 14967 [details] exactly this a pb due to ldap library ok i understand this a pb cause by ldap library but how can i resolv my pb ?? thanks guy !
Ok thanks for attaching it... It looks to me like -llber is not being picked up by the ./configure script somehow. Or possibly you've some broken .la files installed with OpenLDAP. I'm not inclined to think that the SAMBA autoconf scripts are broken -- so I suggest you might try upgrading your OpenLDAP install. Are you using OpenLDAP 2.0.x? This branch is deprecated and not reccomended. Your glibc looks a little old, compiler should be fine, I think. If you really dont need LDAP then just compile with USE=-ldap.
*** Bug 23930 has been marked as a duplicate of this bug. ***
RESOLVED IN EMERGE A NEW OPENLDAP IN TREE UNSTABLE ok thanks guy !!
Created attachment 15578 [details, diff] configure.in patch changing the files/samba-2.2.6-libresolv.patch to this also fixes it.
Created attachment 15579 [details, diff] configure.in patch changing the files/samba-2.2.6-libresolv.patch to this also fixes it.
2.2.8 isn't in portage anymore so closing.