Jan Rovins wrote:
Hi All,
I just did a fresh build of the trunk, using an x86 cross build, and
every thing finished OK, (except for ntpd, which is an other story)
but the "df" utility is now missing from the file system image. All
The other core-utils programs seem to be there. Has any one else run
into this lately?
I will investigate this further tomorrow.
Jan
OK, Got it to build.
in configure, df is only built under certain conditions.
-------------------------------------------
# Build df only if there's a point to it.
if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then
{
if test -z "$optional_bin_progs"; then
optional_bin_progs=df
else
optional_bin_progs="$optional_bin_progs df"
fi
}
fi
------------------------------------------------
In my cross build, gl_cv_fs_space was always =no. (not sure why)
I could not set it directly from config.cache, and specifying "df" with
var_append confopt ' ' '--enable-install-program="df"'
was forbidden by coreutils sanity checks.
what got it to work was adding the following into config.cache:
fu_cv_sys_stat_statvfs=yes
diff file attached.
Jan
----------------------------------------------------------- If you
wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2
Index: coreutils.conf
===================================================================
--- coreutils.conf (revision 33866)
+++ coreutils.conf (working copy)
@@ -27,6 +27,7 @@
gl_cv_func_wctob_works=yes
gl_cv_func_re_compile_pattern_working=yes
gl_cv_func_rename_trailing_dest_slash_bug=no
+fu_cv_sys_stat_statvfs=yes
gl_cv_func_rename_trailing_slash_bug=no' > ./config.cache"
coreutils_premake() {
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2