On Tue, Oct 25, 2005 at 09:14:57AM +0200, Christian Perrier wrote: > (Falk, please tell us if you don't want to be CC'ed to further answers) > > Quoting Sven Luther ([EMAIL PROTECTED]): > > On Tue, Oct 25, 2005 at 08:39:26AM +0200, Christian Perrier wrote: > > > Quoting Falk Hueffner ([EMAIL PROTECTED]): > > > > > > > This breaks building geneweb and probably a whole bunch of other > > > > > > Which could be ween as "breaks unrelated software" by the way. > > > > > > I'm not fond of overflated severities but, well, my pet package > > > (geneweb) is actually blocked by this....so I really hope that someone > > > will be able to take care of this. > > > > Christian, can you rebuild geneweb using bytecode on alpha, and downgrade > > this > > bug to important ? > > > The bug actually *is* important and I do not really intent to make it > "serious".
Ah, ok. Still, you need to be able to build on alpha :) > I'm not sure about the right way to recompile geneweb with bytecode on > alpha. > > Actually, this is done in debian/rules with: > > PACKAGE=geneweb > WAY=$(shell if [ -f "/usr/bin/ocamlc.opt" ]; then echo "opt"; \ > else echo "out"; \ > fi) > > > Then $WAY is used to compile one way or another. Just add a dpkg --arch == alpha or similar check, maybe using the cross compiler thingies. > I guess that adding a specific test for Alpha architecture here would > be the Right Hack. > > Something like: > > DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) > > ifeq ($(DEB_HOST_ARCH_OS),alpha) > WAY=out > else > WAY=$(shell if [ -f "/usr/bin/ocamlc.opt" ]; then echo "opt"; > \ > else echo "out"; \ > fi) > endif Indeed. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]