>> checking for gtk+-2.0... Ruby/GTK couldn't be initialized ('Cannot open display: ')

Make sure that:
- you actually had an X server running during the build;
- the $DISPLAY environment variable was set correctly;
- you were building as the same user who was logged owned the X session, and not as root or someone else.

I often get "Cannot open display" errors when trying to run X programs from within a shell, and the problem usually is that I'm working as root. Apparently X (or at least my X server) is so strict that it doesn't even allow root to start programs on other users' displays...

HTH,

Roan Kattouw



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to