configure fails on cvs 2.2 branch source: Sol.8

Jones,Destinie A. daj at mitre.org
Mon Jun 25 22:32:07 GMT 2001


I am having difficulty with the latest (downloaded fresh this afternoon
around 5pm)
CVS 2.2 branch code.  When I run ./configure
(with no options) in the source directory, I
consistently get a failure with a complaint
about cross-compiler testing.  I am not cross
compiling, and and running on a Solaris 8 Sparc
Ultra 10, with all the libraries I can think
of in my path.  I have looked at the docs with
the source code, on the web, and checked my own
environment.  I must have missed something, so
I apologize in advance, but I am unable to find
my error.  I have included the results of the
configure, a bit of system information, and the
command I ran to get the cvs code.

thanks,
D. Jones

--
-------------- next part --------------
[triple_boot28]-/export27/home/eprint/samba/samba/source/ tail config.log     
#line 3330 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif
; return 0; }
[triple_boot28]-/export27/home/eprint/samba/samba/source/ ys/param.h         <
#ifdef _LITTLE_ENDIAN
#ifdef _BIG_ENDIAN
----

Script started on Mon Jun 25 18:17:48 2001
[triple_boot28]-/export27/home/eprint/samba/samba/source/ ^[  
[triple_boot28]-/export27/home/eprint/samba/samba/source/ script      /conf./configure >>/tmp/>./configure         
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... yes
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/local/bin/install -c
checking for gawk... (cached) nawk
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/local/sparc-sun-solaris2.8/bin/ld
checking if the linker (/usr/local/sparc-sun-solaris2.8/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/local/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/local/sparc-sun-solaris2.8/bin/ld) is GNU ld... yes
checking whether the linker (/usr/local/sparc-sun-solaris2.8/bin/ld) supports shared libraries... yes
checking command to parse /usr/local/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/local/sparc-sun-solaris2.8/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether gcc and cc understand -c and -o together... yes
checking that the C compiler understands volatile... yes
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking config.cache system type... same
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for sys/unistd.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for grp.h... yes
checking for sys/id.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for net/if.h... yes
checking for compat.h... no
checking for rpc/rpc.h... yes
checking for rpcsvc/nis.h... yes
checking for rpcsvc/yp_prot.h... yes
checking for rpcsvc/ypclnt.h... yes
checking for sys/param.h... yes
checking for ctype.h... yes
checking for sys/un.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/ioctl.h... yes
checking for sys/ipc.h... yes
checking for sys/mode.h... yes
checking for sys/mman.h... yes
checking for sys/filio.h... yes
checking for sys/priv.h... no
checking for sys/shm.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for stdlib.h... yes
checking for sys/socket.h... yes
checking for sys/mount.h... yes
checking for sys/vfs.h... yes
checking for sys/fs/s5param.h... no
checking for sys/filsys.h... no
checking for termios.h... yes
checking for termio.h... yes
checking for sys/termio.h... yes
checking for sys/statfs.h... yes
checking for sys/dustat.h... no
checking for sys/statvfs.h... yes
checking for stdarg.h... yes
checking for sys/sockio.h... yes
checking for security/pam_modules.h... yes
checking for security/_pam_macros.h... no
checking for shadow.h... yes
checking for netinet/ip.h... yes
checking for netinet/tcp.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in_ip.h... no
checking for nss.h... no
checking for sys/security.h... no
checking for security/pam_appl.h... yes
checking for security/pam_modules.h... (cached) yes
checking for stropts.h... yes
checking for poll.h... yes
checking for sys/capability.h... no
checking for syscall.h... no
checking for sys/syscall.h... yes
checking for sys/acl.h... yes
checking for sys/cdefs.h... no
checking for glob.h... yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for lastlog.h... yes
checking for sys/fs/vx_quota.h... no
checking size of int... cross
checking size of long... cross
checking size of short... cross
checking for working const... yes
checking for inline... (cached) inline
checking whether byte ordering is bigendian... configure: error: can not run test program while cross compiling
[triple_boot28]-/export27/home/eprint/samba/samba/source/ quit
sh: quit:  not found
[triple_boot28]-/export27/home/eprint/samba/samba/source/ exit

script done on Mon Jun 25 18:19:36 2001
SunOS triple_boot28 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-1
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba


More information about the samba-technical mailing list