On 26 Jun 2001 at 10:15 (-0500), ktb wrote:
| I'm trying to compile the source from debian unstable.  I come up with
| the following error -
| 
| checking whether to support Microsoft Dfs... no
| checking whether to support the experimantal Samba vfs... no
| checking how to get filesystem space usage
| checking statvfs64 function (SVR4)... no
| checking statvfs function (SVR4)... no
| checking for 3-argument statfs function (DEC OSF/1)... no
| checking for two-argument statfs with statfs.bsize member (AIX,
| 4.3BSD)... no
| checking for four-argument statfs (AIX-3.2.5, SVR3)... no
| checking for two-argument statfs with statfs.fsize member (4.4BSD and
| NetBSD)... no
| checking for two-argument statfs with struct fs_data (Ultrix)... no
| checking checking if large file support can be enabled... no
| checking whether to support ACLs... no
| checking configure summary
| configure: error: summary failure. Aborting config
| make: *** [configure-stamp] Error 1
| Build command 'cd samba-2.2.0.final.a && dpkg-buildpackage -b -uc'
| failed.
| E: Child process failed
| 
| Any clue as to how I can proceed with this?  The error message isn't
| telling me much.  Is it possibe to get samba 2.2 for progeny?  
| Thanks,
| kent

first, you need to run the samba build as root, since it will
try to seteuid and fail under fakeroot.

if you look at the samba-2.2.0.final.a/source/config.log file
you'll probably see (at least this is what I saw):

   3329 /usr/bin/ld: cannot find -lpam
   3330 collect2: ld returned 1 exit status
   3331 configure: failed program was:
   3332 #line 12309 "configure"
   3333 #include "confdefs.h"
   3334 #include "./tests/summary.c"

This means you need to install libpam-dev, then rerun the
build. If this does not work, send the last few lines of 
your config.log to the list.

# apt-get install libpam-dev

hth.
  brent

-- 
 - - - - - -=(   d a m o n   b r e n t   v e r n e r   )=- - - - - - - 
           c e r t i f i e d   n o s o u r c o p h o b i c

Reply via email to