[Samba] problems builing mandrake rpm from 3.0 alpha15

Luk Vermeylen luk at vermeylen.org
Wed Feb 27 13:48:05 GMT 2002


building rpm for mandrake 8.1 gives me this error
what should i try?

checking for two-argument statfs with struct fs_data (Ultrix)... no
checking if large file support can be enabled... yes
checking whether to support ACLs... no
checking whether to build winbind... yes
checking for poptGetContext in -lpopt... no
checking whether to use included popt... ./popt
checking configure summary
configure: error: summary failure. Aborting config
error: Bad exit status from /var/tmp/rpm-tmp.99650 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.99650 (%build)
[root at www Mandrake]# 

in the log file is this:


#!/bin/sh

  RPM_SOURCE_DIR="/usr/src/RPM/SOURCES"
  RPM_BUILD_DIR="/usr/src/RPM/BUILD"
  RPM_OPT_FLAGS="-O2 -march=i686"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="samba"
  RPM_PACKAGE_VERSION="PVERSION"
  RPM_PACKAGE_RELEASE="PRELEASE"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/samba"
  export RPM_BUILD_ROOT
  
  set -x
  umask 022
  cd /usr/src/RPM/BUILD
cd samba-PVERSION
cd source


NUMCPU=`grep processor /proc/cpuinfo | wc -l`

CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
	--prefix=/usr \
	--with-fhs \
	--libdir=/etc/samba \
	--localstatedir=/var \
	--with-codepagedir=/usr/share/samba/codepages \
	--with-configdir=/etc/samba \
	--with-lockdir=/var/lock/samba \
	--with-swatdir=/usr/share/swat \
	--with-quotas \
	--with-smbmount \
	--with-pam \
	--with-pam_smbpass \
	--with-syslog \
	--with-utmp \
	--with-netatalk \
	--with-sambabook=/usr/share/swat/using_samba

make -j${NUMCPU} proto
make -j${NUMCPU} all smbfilter nsswitch/libnss_wins.so debug2html

exit 0

-- 
Luk Vermeylen
Putsebaan 84
2040 Antwerpen 4
+32(0)32950012
Linux Counter: 186539






More information about the samba mailing list