Subject: Re: OpenBSD + pkgsrc
To: None <tech-pkg@netbsd.org>
From: Lasse Kliemann <lasse-list-tech-pkg-netbsd-2004@plastictree.net>
List: tech-pkg
Date: 02/05/2005 13:57:34
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Paulo Aukar writes:
[ OpenBSD 3.6 ]
> c) I couldn't until now produce xorg-xfonts*.
Maybe you can try what Jeremy suggested to me:
| > /usr/pkg/xorg/bin/mkfontdir -x bdf .
| > =20
| > The mkfontdir process (actually, top shows mkfontscale running) takes up
| > about 95% of CPU and won't exit. The same goes for if I just call=20
| > mkfontdir without any parameter. For parameter -h, it prints a usage
| > information, but it looks weird; there are lots of additional spaces in
| > the output.
| > =20
| > I am unsure how to investigate this further. Any hints are welcome!
| =20
| Maybe try using ktrace.
| =20
| Use ktrace to run mkfontdir.
| =20
| And then use kdump to view the trace file. Maybe it is looping on same
| files over and over again. Don't send all the output to this list, but
| maybe send some relevant lines.
| =20
| Or post the kdump output to a URL and let us retrieve it.
> I'll continue trying. As I'm=20
> not completely acquainted with X Window I'd be glad to receive any hint o=
n=20
> how to install xfonts "manually".
=20
If you have the fonts somewhere (maybe from OpenBSD under /usr/X11R6), you =
can=20
put a symlink to them somewhere under /usr/pkg. Something like this:
/usr/pkg/xorg/lib/X11/fonts ---> /usr/X11R6/lib/X11/fonts
/usr/pkg/lib/X11/fonts ---> /usr/X11R6/lib/X11/fonts
This worked for me.
> obs: I have already successfully installed xorg on OpenBSD 3.6 before thr=
ough=20
> the "traditional" way (make World from /usr/xsrc).
It's from the OpenBSD sources? Then likely it is not Xorg but XFree86. The=
=20
fonts will still work, however.
--=20
Lasse Kliemann
private homepage: http://plastictree.net
NO software patents: http://swpat.ffii.org
do NOT use M$ products: http://plastictree.net/articles/noms
--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iD8DBQFCBMK+1gObwed86AkRAkufAKCKbNmE8AgmNyceciNJ1kkJN1F7/QCfU6VA
He/azf1Jm4SwJh8Wol/OzN4=
=//ld
-----END PGP SIGNATURE-----
--FL5UXtIhxfXey3p5--