Florian Ragwitz: Running tests that require an X server
Lots of CPAN distributions require some kind of graphical
environment. Some of them even pop up windows, which not only very
annoying, but also sometimes fails if you're using a tiled window
manager.
To test such distributions on a machine where no graphical environment
is available or on your desktop while you're working and don't want to
get annoyed to death you can use a fake X server, like Xvfb.
The easiest way to do that is to run
$ xvfb-run -a make testinstead of a plain
make test. That'll automatically create a fake
xserver, set up DISPLAY and run make test in that environment.
That works well for manually installing modules. When installing using
CPAN.pm you can make things easier by writing a distropref.
First, tell cpan where your distroprefs are. I use ~/.cpan/prefs:
$ cpan cpan[1]> o conf init prefs_dir [...] <prefs_dir> Directory where to store default options/environment/dialogs for building modules that need some customization? [] /home/rafl/.cpan/prefs cpan[3]> o conf commit commit: wrote '/home/rafl/.cpan/CPAN/MyConfig.pm'Now write a distropref for the modules that need an X server and put it into your prefs dir as
X11.yml
--- match: distribution: /(?x:Wx Gtk2 Gnome2 ... other modules requiring an X server )-\d test: commandline: "xvfb-run -a make test"Now the tests for Wx, Gtk2, Gnome2 and all other distributions you list in that regex will be executed with a fake X server. I have yet to figure out how to write a distropref that just prepends to the test commandline instead of replacing it so I won't need to have another pref for all modules using
Module::Build.
Last Thursday, I went to the
Now when there is already some content, it's time to announce planet
phpMyAdmin. You will find there posts from phpMyAdmin contributors
including Google Summer of Code students, so you might find there what
interesting ideas they have. Please note that this blog does not have
to contain only phpMyAdmin related posts, it's just for all what
contributors do (as usual on other planets).
It currently lives on
I ve been using Manoj s
That's just something I hear from time to time, and I love it so much.
Fluxbox: 65010 SLOC
A few weeks ago I wrote up a short review of Bernhard Pfaff's nice (but
somewhat dry) Analysis of Integrated and Cointegrated Time Series with R
(2nd ed) on unit root and cointegration modeling with R. This is now
We have had a quite strange couple of days...
Everything was smooth as usual on Thursday. As I posted here, I

I've released version 0.5.2 of the 
I just noticed Matthew Palmer's
I had a great time at DebConf 7 in Edinburgh and DebConf 8 in Mar Del Plata. This year I've gotten more involved in organizing DebConf and I'm looking forward to another excellent time at DebConf 9. See you in C ceres!