On 07/19/2010 08:59 AM, Andrew Benton wrote:
> On 18/07/10 13:56, Jeremy Huntwork wrote:
>> There's a fix available here:
>> http://www.cs.unipr.it/pipermail/ppl-devel/2010-January/015872.html
>>
>> I've added those 4 files into a single patch here:
>> http://dev.lightcube.us/~jhuntwork/sources/ppl/ppl-0.10.2-upstream_fixes-1.patch
>>
>> After patching, you still have to run 'autoreconf -f' as per the
>> thread listed above. I suppose you could create a patch after running
>> the autoreconf if you want to avoid that command in the future.
>>
> 
> Ok, I've made a patch which doesn't need aclocal or any autotools. 
> Unfortunately it's quite large (over 3MB uncompressed). I think that 
> even compressed it's too large to attach.
> http://63nt.supanet.com/ppl-gmp.patch.xz
> 
> Andy

I don't think all of the Prefix stuff in the makefile templates is
necessary.  Also, I'm not sure why aclocal was failing for you, I
thought it should just say that it's not there and then use whatever is
in the missing script for a fallback.  Also, for future reference, your
diffs will be quite a bit smaller if you use a local copy of the
original versions used of automake and autoconf.

At anyrate, since much of the internals of the auto* tools are a black
box to me, I toyed with it for about 2 hours tonight and generated a few
diffs.  There is a subproject "Watchdog" that you have to account for as
well.  Using the same version of auto* as the original file and
accounting for that sub project gets the diff down to 572KB with
everything generated.

http://www.linuxfromscratch.org/~dj/ppl-0.10.2-upstream_fixes-1.patch

Being a little hacky and removing aclocal.m4 and Watchdog/aclocl.m4 in
the original before diffing makes a 160 KB patch that works (but you
have to remove those same files before applying.

http://www.linuxfromscratch.org/~dj/ppl-0.10.2-upstream_fixes-2.patch

However, I'm pretty sure all you need is the original patch and a newly
generated copy of configure.  Those PREFIX's are not used AFAICT.  I
think at that point, anything that is needed (and not present on the
system) will be covered by the missing script as distributed.  I moved
all of my /usr/bin/auto* files out of the way and was able to compile
and install fine, with a few warnings and another forced run of
configure when starting make.  This gets it down to a livable 70 KB.
Can somebody test with this one next time you rebuild?

http://www.linuxfromscratch.org/~dj/ppl-0.10.2-upstream_fixes-3.patch

-- DJ Lucas

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to