Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25135 - compile error on samba 2.2.8a
Summary: compile error on samba 2.2.8a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 23930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-23 14:34 UTC by broly
Modified: 2004-07-27 00:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
exactly this a pb due to ldap library (config.log,173.29 KB, text/x-log)
2003-07-24 13:41 UTC, broly
Details
configure.in patch (samba-2.2.8-libresolv.patch,804 bytes, patch)
2003-08-05 19:01 UTC, Justin Huff
Details | Diff
configure.in patch (samba-2.2.8-libresolv.patch,804 bytes, patch)
2003-08-05 19:01 UTC, Justin Huff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description broly 2003-07-23 14:34:27 UTC
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.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-07-23 17:37:37 UTC
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.
Comment 2 broly 2003-07-24 13:41:22 UTC
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 !
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-07-28 18:57:28 UTC
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.

Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-07-28 18:58:46 UTC
*** Bug 23930 has been marked as a duplicate of this bug. ***
Comment 5 broly 2003-07-30 01:59:24 UTC
RESOLVED IN EMERGE A NEW OPENLDAP IN TREE UNSTABLE

ok thanks guy !!
Comment 6 Justin Huff 2003-08-05 19:01:26 UTC
Created attachment 15578 [details, diff]
configure.in patch 

changing the files/samba-2.2.6-libresolv.patch to this also fixes it.
Comment 7 Justin Huff 2003-08-05 19:01:37 UTC
Created attachment 15579 [details, diff]
configure.in patch 

changing the files/samba-2.2.6-libresolv.patch to this also fixes it.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-05-10 19:59:11 UTC
2.2.8 isn't in portage anymore so closing.