|
From: <jao...@gm...> - 2006-03-17 14:57:50
|
On 16/03/06, Fernando Perez <Fer...@co...> wrote: > > Well, the problem is here: > > + cd > /scratch/local/home/fperez/tmp/lsrc/matplotlib/build/bdist.linux-i686/rpm= /BUILD > + cd matplotlib-0.87.2dev_r2151 > + LANG=3DC > + export LANG > + unset DISPLAY > > That last line unsets the DISPLAY variable, so it doesn't matter who is > running it, it will never work. I had tested this before mailing both as= root > with X11 properly configured and as my own user, but obviously with this = unset > in there, nothing I do can help. IMO rpm is right and the test is wrong. It does not make any sense to require a running X just to check that pygtk is installed. > The mysterious part is why bdist_rpm /used/ to work for mpl as of 0.83.2.= It > could be either that a change in mpl's build made it more sensitive to X1= 1 > issues than before, or that Fedora3 updated its rpm build scripts between > those days and today, and that now they do this 'unset DISPLAY'. But giv= en > that on Ubuntu and Mandriva it's working OK, I wouldn't worry too much ab= out > it. Having that feedback was a good outcome of this thread, even if I ca= n't > upgrade in our lab :) The usual trick in rpms it to require a nest X to test for pygtk. > Cheers, > > f -- Jos=E9 Ab=EDlio |