beta5 configure problems on Solaris

Daniel Eischen eischen at vigrid.com
Sun Jan 10 13:18:41 GMT 1999


> Hi all.  I'm trying to compile 2.0.0beta5 on my Solaris 2.6 host, using
> gcc-2.7.2.3, and configure is failing:
> 
> checking configure summary
> ERROR: No disk free routine!
> configure: error: summary failure. Aborting config

Yep, fails for me also with gcc-2.7.2.1, but not with gcc 2.8.
Or perhaps not with a gcc that is built for Solaris 2.6 (as
opposed to trying to use a gcc built for, say Solaris 2.5,
on your 2.6 system)?????

At any rate, this patch will get it to configure properly,
but isn't deemed to be the correct way to fix the seemingly
brokeness for non gcc-2.8 compilers.

*** configure.orig	Wed Dec 30 20:36:48 1998
--- configure	Thu Jan  7 00:45:43 1999
***************
*** 1199,1205 ****
	*solaris*)
		case `uname -r` in
			5.6*|5.7*)
!				CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
				;;
		esac
		;;
--- 1199,1205 ----
	*solaris*)
		case `uname -r` in
			5.6*|5.7*)
!				CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
				;;
		esac
		;;

Dan Eischen
eischen at vigrid.com


More information about the samba mailing list