The gs package is compiled to use svgalib and X. This is a nuisance, I had to install svgalib only for gs. I propose to split it in one for svgalib only and another for X only. Carlos