[Clfs-commits] commit: r4917 - in /branches/clfs-sysroot/BOOK/final-system/common: rsyslog.xml xz.xml
svn at cross-lfs.org
svn at cross-lfs.org
Sun Apr 5 08:37:42 PDT 2009
Author: jciccone
Date: Sun Apr 5 15:37:42 2009
New Revision: 4917
Log:
Fixed compilation errors with xzutils and rsyslog.
Modified:
branches/clfs-sysroot/BOOK/final-system/common/rsyslog.xml
branches/clfs-sysroot/BOOK/final-system/common/xz.xml
Modified: branches/clfs-sysroot/BOOK/final-system/common/rsyslog.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/rsyslog.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/rsyslog.xml Sun Apr 5 15:37:42 2009
@@ -25,9 +25,20 @@
<sect2 role="installation">
<title>Installation of Rsyslog</title>
+ <para os="cc1">When Cross Compiling the configure script does not
+ does not determine the correct values for the following, Set the values
+ manually:</para>
+
+<screen os="cc1"><userinput>cat > config.cache << EOF
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_realloc_0_nonnull=yes
+EOF</userinput></screen>
+
<para os="a">Prepare Rsyslog for compilation:</para>
-<screen os="b"><userinput>./configure --prefix=/usr --sbindir=/sbin</userinput></screen>
+<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
+ --prefix=/usr --sbindir=/sbin \
+ --cache-file=config.cache</userinput></screen>
<para os="c">Compile the package:</para>
Modified: branches/clfs-sysroot/BOOK/final-system/common/xz.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/xz.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/xz.xml Sun Apr 5 15:37:42 2009
@@ -29,7 +29,8 @@
<para os="a">Prepare XZ-Utils for compilation:</para>
-<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
+<screen os="b"><userinput>./configure --build=${CLFS_HOST} --target=${CLFS_TARGET} \
+ --prefix=/usr</userinput></screen>
<para os="c">Compile the package:</para>
More information about the Clfs-commits
mailing list