Re: (fwd) Re: Perl/Tk on Solaris 10
Lidie Steve <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
On Feb 7, 2005, at 9:35 PM, Steve Lidie wrote: > -- forwarded message -- > Path: > Lehigh.EDU!newsprint.newsread.com!newsread.com!news-xfer.newsread.com! > news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com! > local1.nntp.dca.giganews.com!nntp.bway.net!news.bway.net.POSTED!not- > for-mail > NNTP-Posting-Date: Sun, 06 Feb 2005 15:17:16 -0600 > Date: Sun, 06 Feb 2005 16:17:16 -0500 > From: "Mark E. Perkins" <[email protected]> > User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; > rv:1.7.5) Gecko/20041217 > X-Accept-Language: en-us, en > MIME-Version: 1.0 > Newsgroups: comp.lang.perl.tk > Subject: Re: Perl/Tk on Solaris 10 > Xref: Lehigh.EDU comp.lang.perl.tk:43507 > > On 2/6/05 10:19, Steve Lidie wrote: > >> Mark E. Perkins <[email protected]> wrote: >> >>> On 1/28/05 19:28, Adrian J P Waters wrote: >>> >>> >>>> Has anyone managed to get Tk working on Solaris 10? >>>> >>>> I can build perl 5.8.6 from source using GCC in either 32/64 bit, >>>> but Tk >>>> fails numerous tests with 'dubious results' when I attempt to >>>> install it via >>>> CPAN. >>>> >>>> Is Tk just not Solaris 10 compatible, or is something else going on? Sorry, cannot speak to/on/about Solaris. >>>> >>>> >>> >>> I'm getting similar behavior under Mac OS X 10.3.7. Perl 5.8.6 >>> builds and >>> tests successfully. Tk 804.027 builds but testing numerous 'dubious >>> results' as well as outright failures. >>> >>> It looks like this Perl was built with threads. Is that the problem? >>> Or is >>> this a generl 5.8.6 issue? >> >> >> Anyone care to show us error messages? > > Of course. Before doing so, I thought I'd see whether this was a known > problem, or if I'm just lucky. Be aware that the 'make Tk' phase > completed > without a hitch. You must just be lucky ;) > > I will also note that I re-read the pTk README, which indicates that a > threaded perl should be OK.... My current Perl and Tk is Perl 5.8.2 and Tk 804.027. I just fetched and compiled Perl 5.8.6 and built Tk 804.027 against that Perl w/o problems. Whew. Good news for me. > > First the output from 'perl -V', then the output from 'test Tk': > > ====================================================================== > ====================================================================== > -> perl -V > Summary of my perl5 (revision 5 version 8 subversion 6) configuration: > Platform: > osname=darwin, osvers=7.7.0, archname=darwin-thread-multi-2level > uname='darwin crow.fringe.mep 7.7.0 darwin kernel version 7.7.0: > sun > nov 7 16:06:51 pst 2004; root:xnuxnu-517.9.5.obj~1release_ppc power > macintosh powerpc ' > config_args='-sde -Dprefix=/Volumes/NetBSD/pkg > -Dscriptdir=/Volumes/NetBSD/pkg/bin -Darchname=powerpc-darwin -Dcc=gcc > -pipe -Doptimize=-O2 -D_REENTRANT -I/usr/include > -Dinstallstyle=lib/perl5 > -Duseshrplib -Ui_malloc -Uusemymalloc -Uinstallusrbinperl -Dman3ext=3 > -Dman3dir=/Volumes/NetBSD/pkg/lib/perl5/5.8.6/man/man3 > -Dsiteman3dir=/Volumes/NetBSD/pkg/lib/perl5/site_perl/man/man3 > -Dman1dir=/Volumes/NetBSD/pkg/man/man1 -Dsiteprefix=/Volumes/NetBSD/pkg > -Dsiteman1dir=/Volumes/NetBSD/pkg/man/man1 -Duseithreads > -Dlibswanted=m c > pthread' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc -pipe', ccflags ='-fno-common -DPERL_DARWIN > -no-cpp-precomp > -fno-strict-aliasing -pipe -I/Volumes/NetBSD/pkg/include', > optimize='-O2 -D_REENTRANT -I/usr/include', > cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN > -no-cpp-precomp > -fno-strict-aliasing -pipe -I/Volumes/NetBSD/pkg/include' > ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build > 1671)', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' > -L/Volumes/NetBSD/pkg/lib' > libpth=/Volumes/NetBSD/pkg/lib /usr/lib > libs=-lm -lc -lpthread > perllibs=-lm -lc -lpthread > libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, > libperl=libperl.dylib > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup > -L/Volumes/NetBSD/pkg/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES > PERL_IMPLICIT_CONTEXT > Built under darwin > Compiled at Feb 5 2005 20:58:19 > @INC: > > /Volumes/NetBSD/pkg/lib/perl5/site_perl/5.8.6/darwin-thread-multi > -2level Ah, it looks like you yourself did not build this Perl. Right? You seem to have an other-Perl mounted on your desktop ... > /Volumes/NetBSD/pkg/lib/perl5/site_perl/5.8.6 > /Volumes/NetBSD/pkg/lib/perl5/site_perl/5.8.4 > /Volumes/NetBSD/pkg/lib/perl5/site_perl > /Volumes/NetBSD/pkg/lib/perl5/5.8.6/darwin-thread-multi-2level > /Volumes/NetBSD/pkg/lib/perl5/5.8.6 > . > > ====================================================================== > ====================================================================== > cpan> test Tk > Running test for module Tk > Running make for N/NI/NI-S/Tk-804.027.tar.gz > Is already unwrapped into directory > /Users/mep/.cpan/build/Tk-804.027 > Has already been processed within this session > Running make test > cd pTk && /usr/bin/make DEFINE="" > cd zlib && /usr/bin/make libz.a "CC=gcc -pipe " RANLIB="/usr/bin/ar > ts" > make[2]: `libz.a' is up to date. > make[2]: Nothing to be done for `all'. > make[2]: Nothing to be done for `all'. > cd jpeg && /usr/bin/make libjpeg.a > make[2]: `libjpeg.a' is up to date. > make[2]: Nothing to be done for `all'. > PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/JP.t t/KR.t t/Require.t > t/Trace.t t/X.t t/after.t t/autoload.t t/balloon.t > t/browseentry-grabtest.t > t/browseentry-subclassing.t t/browseentry.t t/browseentry2.t t/button.t > t/create.t t/cursor.t t/dash.t t/dialogbox.t t/entry.t t/fbox.t > t/fileevent.t t/fileselect.t t/font.t t/fork.t t/geomgr.t t/iso8859-1.t > t/leak.t t/list.t t/listbox.t t/listvar.t t/magic.t t/mega.t t/mwm.t > t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/regexp.t t/slaves.t > t/trace1.t t/widget.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t > t/zzScrolled.t t/zzText.t t/zzTixGrid.t > t/after......................ok > t/autoload...................ok > t/balloon....................ok > t/browseentry-grabtest.......ok > t/browseentry-subclassing....dubious > Test returned status 0 (wstat 10, 0xa) > after all the subtests completed successfully > t/browseentry................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 8-15 > Failed 8/15 tests, 46.67% okay > t/browseentry2...............ok > t/button.....................ok > t/create.....................dubious > Test returned status 0 (wstat 11, 0xb) > DIED. FAILED tests 11-528 > Failed 518/528 tests, 1.89% okay > t/cursor.....................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 1-7 > Failed 7/7 tests, 0.00% okay > t/dash.......................ok > t/dialogbox..................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 3-8 > Failed 6/8 tests, 25.00% okay > t/entry......................dubious > Test returned status 0 (wstat 11, 0xb) > DIED. FAILED tests 3-336 > Failed 334/336 tests, 0.60% okay > t/fbox.......................ok > t/fileevent..................ok > t/fileselect.................ok > t/font.......................ok > t/fork.......................ok > t/geomgr.....................dubious > Test returned status 0 (wstat 11, 0xb) > DIED. FAILED tests 2-19 > Failed 18/19 tests, 5.26% okay > t/iso8859-1..................ok > t/JP.........................skipped > all skipped: locale's 'iso-8859-1' cannot represent Japanese. > t/KR.........................skipped > all skipped: locale's 'iso-8859-1' cannot represent Korean. > t/leak.......................ok > t/list.......................ok > t/listbox....................ok > 4/437 skipped: various reasons, 3/437 unexpectedly succeeded > t/listvar....................ok > t/magic......................ok > t/mega.......................ok > t/mwm........................ok > t/optmenu....................ok > t/photo......................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 2-100 > Failed 99/100 tests, 1.00% okay > t/pixmap.....................ok > t/progbar....................ok > t/regexp.....................ok > t/Require....................ok > t/slaves.....................ok > t/Trace......................ok > t/trace1.....................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 3-17 > Failed 15/17 tests, 11.76% okay > t/widget.....................ok > t/wm-time....................dubious > Test returned status 0 (wstat 11, 0xb) > DIED. FAILED tests 1-6 > Failed 6/6 tests, 0.00% okay > t/wm.........................ok > t/X..........................ok > t/zzHList....................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 5-23 > Failed 19/23 tests, 17.39% okay > t/zzPhoto....................ok > t/zzScrolled.................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 5-94 > Failed 90/94 tests, 4.26% okay > t/zzText.....................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 9-22 > Failed 14/22 tests, 36.36% okay > t/zzTixGrid..................dubious > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 7-33 > Failed 27/33 tests, 18.18% okay > Failed Test Stat Wstat Total Fail Failed List of > Failed > ----------------------------------------------------------------------- > -------- > t/browseentry-subclassing.t 0 10 2 0 0.00% ?? > t/browseentry.t 0 10 15 16 106.67% 8-15 > t/create.t 0 11 528 1036 196.21% 11-528 > t/cursor.t 0 10 7 14 200.00% 1-7 > t/dialogbox.t 0 10 8 12 150.00% 3-8 > t/entry.t 0 11 336 668 198.81% 3-336 > t/geomgr.t 0 11 19 36 189.47% 2-19 > t/photo.t 0 10 100 198 198.00% 2-100 > t/trace1.t 0 10 17 30 176.47% 3-17 > t/wm-time.t 0 11 6 12 200.00% 1-6 > t/zzHList.t 0 10 23 38 165.22% 5-23 > t/zzScrolled.t 0 10 94 180 191.49% 5-94 > t/zzText.t 0 10 22 28 127.27% 9-22 > t/zzTixGrid.t 0 10 33 54 163.64% 7-33 > (3 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 4 subtests skipped. > Failed 14/47 test scripts, 70.21% okay. 1161/2054 subtests failed, > 43.48% okay. > make: *** [test_dynamic] Error 2 > /usr/bin/make test -- NOT OK > > cpan> > -- end of forwarded message -- Above not at all normal. This is more normal, on Mac OS X 10.3.7 Panther: 566 tar -zxpf perl-5.8.6.tar.gz 567 cd perl-5.8.6 569 sh Configure -des -Dprefix=/tmp 570 make test 571 make install 572 PATH=/tmp/bin:$PATH 573 which perl 574 perl -v 575 cd ../Tk-804.027 576 make distclean 577 perl -v 578 perl Makefile.PL ;make 579 make test Please try to build Perl and Tk as above and report results and OS version, etc. Thanks, Steve -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]