From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michel (BusError) Date: Wed, 9 Apr 2008 11:26:44 +0100 Subject: [Buildroot] [PATCH] SCREEN: Added support for GNU Screen In-Reply-To: <1207718113.6817.282.camel@nigel-x60> References: <1207683703-14842-1-git-send-email-buildroot.atmel.com@pollet.net> <200804082116.44818.buildroot.atmel.com@pollet.net> <1207718113.6817.282.camel@nigel-x60> Message-ID: <200804091126.44251.buildroot.atmel.com@pollet.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Wednesday 09 April 2008, Nigel Kukard wrote: > > > > --- /dev/null > > > > +++ b/package/screen/screen-4.0.2-100-cross-compile.patch > > > > @@ -0,0 +1,967 @@ > > > > +diff -c screen.orig/configure screen-4.0.2/configure > > > > +*** screen.orig/configure 2003-12-05 13:46:53.000000000 +0000 > > > > +--- screen-4.0.2/configure 2008-04-05 18:48:27.000000000 +0100 > > > > > > > > > > > > Can we not modify configure.ac/in and autoreconf? (assuming configure > > > is originally built from configure.in or configure.ac) > > > > > > -N > > > > You can't. I spent a lot of time trying. This configure relies /a lot/ on > > testing the hosts libraries, and all of these test fail with these > > exit(1). Unless you know of a magic auto*.* setting that skips the 'cross > > compile' tests and/or errors, this is the only way I found to have it > > working... > > I really don't like adding a 40k patch, which will more than likely > break on each version bump. :) > > Could you show me how to reproduce the errors when cross-compiling, > maybe send me your .config and I'll see what I can do? > > -N Hi Nigel; I think the easiest way is to apply the patch on a 'temp' tree, remove the package/screen/*.patch file, 'make oldconfig' in buildroot, select the 'screen' package, then 'make'. You will immediately see the dreaded configure problems... 'screen' is very rarely updated tho, it's not a fast moving trendy package, just a one that's indispensable once you grok it's power :-) Michel