Hi Phil if you compile any sorce you need have install all necesary development pack (devel rpm) config script say > /usr/bin/ld: cannot find -lpam > collect2: ld returned 1 exit status > configure: failed program was: that say not have pam-devel installed.
Bye. ----- Original Message ----- From: "Philippe Dhont (Sea-ro)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 3:30 PM Subject: [Samba] ./configure --with-pam fails allways > Hi, > It is since a while on different distributions that i can't compile samba > --with-pam > I download 2.2.8a > ./configure --with-pam > And i always get: > 1)config.log > 2)screen dump > > > > 1) this is the config.log file > > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > configure:814: checking for gcc > configure:927: checking whether the C compiler (gcc -O ) works > configure:943: gcc -o conftest -O conftest.c 1>&5 > configure:969: checking whether the C compiler (gcc -O ) is a > cross-compiler > configure:974: checking whether we are using GNU C > configure:1002: checking whether gcc accepts -g > configure:1064: checking for a BSD compatible install > configure:1121: checking for gawk > configure:1152: checking if the linker (ld) is GNU ld > configure:1169: checking for passwd > configure:1206: checking whether gcc and cc understand -c and -o together > configure:1264: checking that the C compiler understands volatile > configure:1327: checking host system type > configure:1348: checking target system type > configure:1366: checking build system type > configure:1400: checking config.cache system type > configure:1665: checking for LFS support > configure:1710: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c 1>&5 > configure:1792: checking for inline > configure:1832: checking how to run the C preprocessor > configure:1912: checking for ANSI C header files > configure:2020: checking for dirent.h that defines DIR > configure:2058: checking for opendir in -ldir > configure:14172: checking whether struct passwd has pw_age > configure:14224: checking for poptGetContext in -lpopt > configure:14267: checking whether to use included popt > configure:14282: checking configure summary > configure:14291: gcc -o conftest -O -D_LARGEFILE64_SOURCE > -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl -lpam 1>&5 > /usr/bin/ld: cannot find -lpam > collect2: ld returned 1 exit status > configure: failed program was: > #line 14287 "configure" > #include "confdefs.h" > #include "./tests/summary.c" > > > > 2) this is what i get on the screen: > > loading cache ./config.cache > checking for gcc... (cached) gcc > checking whether the C compiler (gcc -O ) works... yes > checking whether the C compiler (gcc -O ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking for gawk... (cached) mawk > checking if the linker (ld) is GNU ld... (cached) yes > checking for passwd... (cached) /usr/bin/passwd > checking whether gcc and cc understand -c and -o together... (cached) yes > checking that the C compiler understands volatile... (cached) yes > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > checking config.cache system type... same > checking for LFS support... yes > checking for inline... (cached) inline > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking for dirent.h that defines DIR... (cached) yes > checking for opendir in -ldir... (cached) no > checking whether time.h and sys/time.h may both be included... (cached) yes > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for arpa/inet.h... (cached) yes > checking for sys/fcntl.h... (cached) yes > checking for sys/select.h... (cached) yes > checking for fcntl.h... (cached) yes > checking for sys/time.h... (cached) yes > Checking configure summary... Configure: error: summary failure. Aborting > config > > > What is going wrong ? > Regards, > > > Philippe Dhont > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
