From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Patch to fix cross-compiling Date: Mon, 05 Nov 2012 12:25:04 -0500 Message-ID: <3191851.D7rVKhzsBN@x2> References: <5093F0CE.3010701@gmail.com> <1899240.gIdgrumnei@x2> <5097CF57.2070204@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5097CF57.2070204@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: George McCollister Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Monday, November 05, 2012 08:38:15 AM George McCollister wrote: > On 11/05/2012 08:28 AM, Steve Grubb wrote: > > Well...it breaks the normal build on x86_64: > Works for me on x86_64. Did you remember to run autogen.sh so configure > gets regenerated before running configure? If that doesn't help it would > be helpful to get your lib/Makefile so I could analyze it. I have a script that I use for testing all patches wrt the build. It have 2 modes, one that pulls a fresh copy from svn to check for missing files and one that just uses the local svn cache so I can test prior to pushing. It does something like this: cwd=`pwd` mkdir audt cd audit cp -r $trunk/* . ./autogen.sh ./configure --with-prelude -with-libwrap make -j 8 dist mv audit-$release.tar.gz ~/working/audit/ cd $cwd rpmbuild -ba ../audit/audit.spec Its failing under the rpmbuild which does not use the autogen script. But there is another problem I didn't notice right away...it adds a new file, m4/ax_cc_for_build.m4. In it is this: +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, either version 3 of the License, or (at your +# option) any later version. The audit package is strictly GPL/LGPL v2. -Steve