Configure bug: seteuid in pre2.0.7
David Collier-Brown
davecb at canada.sun.com
Tue Feb 1 16:46:39 GMT 2000
The tests/summary.c file tests for USE_SETEUID while
the configure program sets HAVE_SETEUID.
Please change the tests/summary.c file to say
#if !(defined(HAVE_SETEUID) || defined(HAVE_SETREUID) ||
defined(HAVE_SETRESUID) || defined(HAVE_SETUIDX))
printf("ERROR: no seteuid method available\n");
exit(1);
#endif
This occurs on pre2.0.7, with
Solaris 7, Sun SC5.0 compilers
Solaris 8, Sun SC5.0 compilers
Solaris 8, gcc 2.95.2
and see the following messages from configure in all cases:
---
elsbeth> sh configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... yes
...
checking for sys/unistd.h... yes
...
checking for uid_t in sys/types.h... yes
...
checking for seteuid... yes
...
checking configure summary
WARNING: No automated network interface determination
ERROR: no seteuid method available
configure: error: summary failure. Aborting config
---
If you accidentally run make (I did), you'll get
---
Compiling param/loadparm.c
"param/loadparm.c", line 901: undefined symbol: PASSWD_PROGRAM
"param/loadparm.c", line 901: warning: improper pointer/integer
combination: arg #2
"param/loadparm.c", line 1049: cannot recover from previous errors
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba-technical
mailing list