Click here to get back home

CPAN Errors Installing Tk Module

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
CPAN Errors Installing Tk Module Charlie Smith 11-26-2004
Posted by Charlie Smith on November 26, 2004, 9:56 pm
Please log in for more thread options
Hello

I'm attempting to install the perl Tk module via CPAN and
during the 'make test' phase I get several error meesages
such as this:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

couldn't connect to display ":0" at
/root/.cpan/build/Tk-804.027/blib/lib/Tk/MainWindow.pm line 55.

There are enough failed tests to pervent this module from
being installed.

What is causing these messages to be generated and how can I
correct the problem?

FYI, this is being run under SuSE 9.1 Pro,
Perl, v5.8.3 built for i586-linux-thread-multi


Posted by Sherm Pendley on November 26, 2004, 6:15 pm
Please log in for more thread options
Charlie Smith wrote:

> What is causing these messages to be generated and how can I
> correct the problem?

CPAN runs tests as root, and root isn't authorized to connect to your
local X server. You can authorize it with 'xhost +root'.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Similar ThreadsPosted
Errors installing XML::Parser from CPAN on Solaris 9 September 7, 2005, 10:29 am
Installing a CPAN Module online June 26, 2005, 8:45 pm
Errors when Installing Modules June 23, 2008, 6:09 pm
Invalid signature errors, CPAN, gpg August 22, 2006, 11:56 am
Need help installing via CPAN March 17, 2005, 3:33 pm
Program errors after module updates October 21, 2004, 9:15 am
Perlish way to report module errors? February 23, 2005, 5:04 pm
Trouble installing from CPAN November 20, 2006, 11:43 am
unix perl module install errors November 11, 2004, 3:36 pm
Installing WWW::Mechanize from CPAN shell May 24, 2007, 4:56 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap