Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103191 - diradm fails to configure without samba
Summary: diradm fails to configure without samba
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 15:11 UTC by Maciej Pietka
Modified: 2005-08-21 18:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pietka 2005-08-20 15:11:07 UTC
It is impossible to configure updated diradm-2.4 package without samba software
installed.  The bug is in `configure' script: emerge passes --disable-samba
option to configure, but then configure checks the system against the existence
of samba software and exits with error.

Reproducible: Always
Steps to Reproduce:
1.USE="-samba" emerge diradm
2.
3.

Actual Results:  
Diradm is configured with the following commandline:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-samba
--disable-automount --disable-irixpasswd

However, configure script checks for samba, and exits with error:

checking whether to enable Samba support... yes
checking for perl module Crypt::SmbHash... no
configure: error: Crypt::SmbHash required!



Expected Results:  
Not to check for samba packages and compile cleanly.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acpi alsa arts avi berkdb bitmap-fonts bzlib cdr crypt cups dvd dvdr
eds emboss encode f77 fftw foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2
imlib ipv6 jpeg kerberos ldap leim libg++ libwww mad mikmod motif mp3 mpeg mpi
mule ncurses netcdf nls ogg oggvorbis opengl oss pam pdflib perl png posix ppds
python qt quicktime readline sasl sdl shared slang sockets spell sse ssl svga
tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-08-21 18:05:26 UTC
fixed in my upstream source.
it will be released in a few days.