There is a means of testing for the ability to create windows through Tk.
Another module author gave me the snippet.  I'll try to dig it up if I can
and send it to you.

-----Original Message-----
From: Joseph Annino [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 11:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: FAIL Tk-CheckbuttonGroup-0.2.1 i386-linux 2.4.16-6mdksmp


I haven't had a chance to really get around to this for a little while. 
  I am now discussing this and my Tk-RadiobuttonGroup-0.2.1 module more 
on the Perl-TK mailing list.

The automated testing system has given an error that it appears to not 
be able to make a connection to an X server.  This of course wouldn't 
be the fault of my module but something about how the automated testing 
system is configured.  Is there a special way I should set up my 
test.pl script to deal with this possible situation, or should Tk based 
modules be tested in some other manner on your end?  I would like this 
to be included in the CPAN module tree, and want to be sure it works 
well throughout.

Thanks for your help.


On Monday, August 19, 2002, at 07:44  PM, Automated Perl Test Account 
wrote:

> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible.  See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> -- 
> This is an error report generated automatically by CPANPLUS.
> Below is the error stack during 'make test':
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> 1..6
> ok 1
> couldn't connect to display ":0" at 
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Tk/MainWindow.pm line 55.
> MainWindow->new() at test.pl line 21
> make: *** [test_dynamic] Error 255
>
>
> Additional comments:
>
>
>
> --
>
> Summary of my perl5 (revision 5.0 version 6 subversion 1) 
> configuration:
>   Platform:
>     osname=linux, osvers=2.4.16-6mdksmp, archname=i386-linux
>     uname='linux bi.mandrakesoft.com 2.4.16-6mdksmp #1 smp sat dec 8 
> 04:02:48 cet 2001 i686 unknown '
>     config_args='-des -Darchname=i386-linux -Dd_dosuid -Ud_csh 
> -Duseshrplib -Doptimize=-O3 -fomit-frame-pointer -pipe 
> -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce 
> -Dprefix=/usr -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Uuselargefiles 
> -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef 
> usemultiplicity=undef
>     useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>   Compiler:
>     cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
>     optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro 
> -march=i586 -ffast-math -fno-strength-reduce',
>     cppflags='-fno-strict-aliasing -I/usr/local/include'
>     ccversion='', gccversion='2.96 20000731 (Mandrake Linux 8.2 
> 2.96-0.75mdk)', gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
> lseeksize=4
>     alignbytes=4, usemymalloc=n, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib
>     libs=-lnsl -ldl -lm -lc -lcrypt -lutil
>     perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
>     libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, 
> ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.1/i386-linux/CORE'
>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>
>
>

Reply via email to