[Samba] trouble configuring and compiling

Daniel Watrous dwatrous at maintainfit.com
Thu Mar 27 06:39:08 GMT 2003


I found the fix...

Basically the problem is that the compile is looking for headers that are
usually distributed with the kernel sources

by grabbing the latest kernel, untaring it in /usr/src, and creating the
following links:

/usr/include/linux -> /usr/src/linux/include/linux
/usr/include/asm -> /usr/src/linux/include/asm-i386

everything worked.

Commands from start to beginning might look something like this:

cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.18.tar.bz2
bzip2 -dc linux-2.4.18.tar.bz2 | tar xvf -
cd /usr/include
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/asm-i386 asm

Daniel Watrous
dwatrous at maintainfit.com

----- Original Message -----
From: "Daniel Watrous" <dwatrous at maintainfit.com>
To: <samba at lists.samba.org>
Sent: Wednesday, March 26, 2003 10:10 PM
Subject: [Samba] trouble configuring and compiling


RedHat 8.0, samba-latest.tar.gz (samba-2.2.8),

>checking configure summary... WARNING: No automated network interface
determination
>ERROR: no seteuid method available
>configure: error: summary failure. Aborting config

>configure:2033:
gcc -c -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c 1>&5
>In file included from /usr/include/bits/posix1_lim.h:126,
>                 from /usr/include/dirent.h:209,
>                 from /usr/include/sys/dir.h:24,
>                 from configure:2027:
>/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
directory
>configure: failed program was:
>#line 2025 "configure"
>#include "confdefs.h"
>#include <sys/types.h>
>#include <sys/dir.h>
>int main() {
>DIR *dirp = 0;
>; return 0; }



More information about the samba mailing list