Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 4446
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: NI-S [...] cpan.org
Requestors: junk [...] redrockweb.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error in Makefile
Attempting to make the package on a Redhat V9 box... the Makefile is created, but then when you run "make", you get : Maifile:95: *** missing separator. Stop. this is for Tk-804.025
Download Makefile
application/octet-stream 53.6k

Message body not shown because it is not plain text.

Subject: Re: [cpan #4446] Error in Makefile
To: bug-Tk [...] rt.cpan.org
Date: Fri, 21 Nov 2003 09:35:13 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=4446 > > >Attempting to make the package on a Redhat V9 box... > >the Makefile is created, but then when you run "make", you get : > >Maifile:95: *** missing separator. Stop.
MakeMaker does not work right with perl5.8.0 in a UTF-8 locale. RedHat defaults to UTF-8 locales. Show quoted text
> >this is for Tk-804.025
No it isn't as that isn't released yet - which beta is it?
RT-Send-CC: makemaker [...] perl.org
MakeMaker and perl5.8.0 in UTF-8 locale? Do we have a fix for this ?
From: Guest
Same problem with RH9 on i686 Tk800.024 Tried to workaround by "export LANG=en_US" then "perl Makefile.PL" "make" got this error: gcc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"800.024\" -DXS_VERSION=\"800.024\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tixGrSort.c tixGrSort.c: In function `Tix_GrSort': tixGrSort.c:165: parse error at end of input make[1]: *** [tixGrSort.o] Error 1 make[1]: Leaving directory `/home/krode/feff/Tk800.024/pTk' make: *** [pTk/libpTk.a] Error 2
From: Guest
Same problem with RH9 on i686 Tk800.024 Tried to workaround by "export LANG=en_US" then "perl Makefile.PL" "make" got this error: gcc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"800.024\" -DXS_VERSION=\"800.024\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tixGrSort.c tixGrSort.c: In function `Tix_GrSort': tixGrSort.c:165: parse error at end of input make[1]: *** [tixGrSort.o] Error 1 make[1]: Leaving directory `/home/krode/feff/Tk800.024/pTk' make: *** [pTk/libpTk.a] Error 2
Subject: Re: [cpan #4446] Error in Makefile (UTF-8 Locale - missing separator)
To: bug-Tk [...] rt.cpan.org
Date: Thu, 27 Nov 2003 17:47:03 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=4446 > > >Same problem with RH9 on i686 Tk800.024 > >Tried to workaround by >"export LANG=en_US" > >then > >"perl Makefile.PL" >"make" > >got this error: > >gcc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include >-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING >-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE >-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g > -DVERSION=\"800.024\" -DXS_VERSION=\"800.024\" -fPIC >"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall >-Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ >tixGrSort.c >tixGrSort.c: In function `Tix_GrSort': >tixGrSort.c:165: parse error at end of input >make[1]: *** [tixGrSort.o] Error 1 >make[1]: Leaving directory `/home/krode/feff/Tk800.024/pTk' >make: *** [pTk/libpTk.a] Error 2
Can you try from a fresh distribution with LANG=en_US ? It seems that the tcl->perl converison script has locale issues too.
Show quoted text
> > Can you try from a fresh distribution with LANG=en_US ? > > It seems that the tcl->perl converison script has locale issues too. >
Nope ! tried another workaround: I repeat (for the record) RH 9 on a 686 (DELL) Tk-800.024 LANG=C then I re-dowloaded the tarball and zcat Tk-800.024.tar.gz | tar xf - perl Makefile.PL make make test su make install and it works.... it seems to me that the trouble I had was due to some files being already linked before changing to LANG=C (or en_US) and that 'make' thus did not understand what to do....(sorry for the not so accurate description, I'm quite new to linux/unix) anyway, now it works, even if I got these warnings on 'make test': t/zzScrolled.....ok 58/94# Test 66 got: '589x341+0+32' (t/zzScrolled.t at line 101 fail #2) # Expected: '589x341+0+0' (Sizechk: geometry has not changed not resetfor -height => 24+(5)) # t/zzScrolled.t line 101 is: ok($newgeo, $oldgeo, "Sizechk: geometry has not changed not reset" . # Test 94 got: '589x341+17+32' (t/zzScrolled.t at line 101 fail #4) # Expected: '589x341+0+32' (Sizechk: geometry has not changed not resetfor -width => 80+(5)) t/zzScrolled.....FAILED tests 66, 94 Failed 2/94 tests, 97.87% okay t/zzText.........ok t/zzTixGrid......ok 18/36# Test 18 got: '1' (t/zzTixGrid.t at line 81 *TODO*) # Expected: '' (oops col selection is not cleared) # t/zzTixGrid.t line 81 is: eval { $b=$g->selection('includes', 1,1); }; ok($b, "", "oops col selection is not cleared"); t/zzTixGrid......ok 26/36# Test 26 got: '1' (t/zzTixGrid.t at line 91 *TODO*) # Expected: '' (oops row selection is not cleared) # t/zzTixGrid.t line 91 is: eval { $b=$g->selection('includes', 2,2); }; ok($b, "", "oops row selection is not cleared"); t/zzTixGrid......ok 32/36# Test 32 got: '1' (t/zzTixGrid.t at line 99 *TODO*) # Expected: '0' (oops cell selection contain a not selected item) # t/zzTixGrid.t line 99 is: eval { $b=$g->selection('includes', 2,2); }; ok($b, 0, "oops cell selection contain a not selected item"); t/zzTixGrid......ok Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------t/zzScrolled.t 94 2 2.13% 66 94 Failed 1/25 test scripts, 96.00% okay. 2/904 subtests failed, 99.78% okay. make: *** [test_dynamic] Error 29 hope this helps you out on finding the problem with locale vs perl and Tk
Subject: Re: [cpan #4446] Error in Makefile (UTF-8 Locale - missing separator)
To: bug-Tk [...] rt.cpan.org
Date: Thu, 04 Dec 2003 13:49:33 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=4446 > >
>> >> Can you try from a fresh distribution with LANG=en_US ? >> >> It seems that the tcl->perl converison script has locale issues too. >>
> >Nope ! tried another workaround: >I repeat (for the record) > >RH 9 on a 686 (DELL) >Tk-800.024 > >LANG=C > >then I re-dowloaded the tarball and > >zcat Tk-800.024.tar.gz | tar xf - >perl Makefile.PL >make >make test >su >make install > >and it works....
Which is what I asked you to do above, and you said "nope". Now you are saying that when you did what I asked (in LANG=C) it works. I am confused. Are you saying LANG=en_US does NOT work, but LANG=C does? Show quoted text
>it seems to me that the trouble I had was due to some files being >already linked before changing to LANG=C (or en_US) and that 'make' thus >did not understand what to do....(sorry for the not so accurate >description, I'm quite new to linux/unix) > >anyway, now it works, even if I got these warnings on 'make test': > >t/zzScrolled.....ok 58/94# Test 66 got: '589x341+0+32' (t/zzScrolled.t >at line >101 fail #2) ># Expected: '589x341+0+0' (Sizechk: geometry has not changed not >resetfor -height => 24+(5)) ># t/zzScrolled.t line 101 is: ok($newgeo, $oldgeo, >"Sizechk: geometry has not changed not reset" . ># Test 94 got: '589x341+17+32' (t/zzScrolled.t at line 101 fail #4) ># Expected: '589x341+0+32' (Sizechk: geometry has not changed not >resetfor -width => 80+(5)) >t/zzScrolled.....FAILED tests 66, 94 > Failed 2/94 tests, 97.87% okay >t/zzText.........ok >t/zzTixGrid......ok 18/36# Test 18 got: '1' (t/zzTixGrid.t at line 81 >*TODO*) ># Expected: '' (oops col selection is not cleared) ># t/zzTixGrid.t line 81 is: eval { $b=$g->selection('includes', >1,1); }; > ok($b, "", "oops col selection is not cleared"); >t/zzTixGrid......ok 26/36# Test 26 got: '1' (t/zzTixGrid.t at line 91 >*TODO*) ># Expected: '' (oops row selection is not cleared) ># t/zzTixGrid.t line 91 is: eval { $b=$g->selection('includes', >2,2); }; > ok($b, "", "oops row selection is not cleared"); >t/zzTixGrid......ok 32/36# Test 32 got: '1' (t/zzTixGrid.t at line 99 >*TODO*) ># Expected: '0' (oops cell selection contain a not selected item) ># t/zzTixGrid.t line 99 is: eval { $b=$g->selection('includes', >2,2); }; > ok($b, 0, "oops cell selection contain a not selected item"); >t/zzTixGrid......ok >Failed Test Stat Wstat Total Fail Failed List of Failed >-------------------------------------------------------------------------------t/zzScrolled.t > 94 2 2.13% 66 94 >Failed 1/25 test scripts, 96.00% okay. 2/904 subtests failed, 99.78% okay. >make: *** [test_dynamic] Error 29 > >hope this helps you out on finding the problem with locale vs perl and Tk
From: guest
[nick.ing-simmons@elixent.com - Thu Dec 4 08:49:40 2003]: as I said, I'm quite new to linux/unix and to perl as well.... I haven't retried with LANG=en_US as LANG=C is working as it should (by the way; which are the differences between the two ?). What I tried to underline is that I had to do EVERY step (unzip, detar, perl Makefile.PL etcetc) AFTER having set LANG=C. If, for exemple, I tried to unzip/untar and then perl Makefile.PL and then, as it doesn't work, set LANG=en_US, redo perl Makefile.PL I run into the problems stated in my first message (the one posted twice). I'm not competent to propose an explanation of this.... Show quoted text
> Guest via RT <bug-Tk@rt.cpan.org> writes:
> >This message about Tk was sent to you by guest <> via rt.cpan.org > > > >Full context and any attached attachments can be found at: > ><URL: https://rt.cpan.org/Ticket/Display.html?id=4446 > > >
> >> > >> Can you try from a fresh distribution with LANG=en_US ? > >> > >> It seems that the tcl->perl converison script has locale issues
> too.
> >>
> > > >Nope ! tried another workaround: > >I repeat (for the record) > > > >RH 9 on a 686 (DELL) > >Tk-800.024 > > > >LANG=C > > > >then I re-dowloaded the tarball and > > > >zcat Tk-800.024.tar.gz | tar xf - > >perl Makefile.PL > >make > >make test > >su > >make install > > > >and it works....
> > Which is what I asked you to do above, and you said "nope". > Now you are saying that when you did what I asked (in LANG=C) it > works. > I am confused. > Are you saying LANG=en_US does NOT work, but LANG=C does? >
> >it seems to me that the trouble I had was due to some files being > >already linked before changing to LANG=C (or en_US) and that 'make'
> thus
> >did not understand what to do....(sorry for the not so accurate > >description, I'm quite new to linux/unix) > > > >anyway, now it works, even if I got these warnings on 'make test': > > > >t/zzScrolled.....ok 58/94# Test 66 got: '589x341+0+32'
> (t/zzScrolled.t
> >at line > >101 fail #2) > ># Expected: '589x341+0+0' (Sizechk: geometry has not changed not > >resetfor -height => 24+(5)) > ># t/zzScrolled.t line 101 is: ok($newgeo, $oldgeo, > >"Sizechk: geometry has not changed not reset" . > ># Test 94 got: '589x341+17+32' (t/zzScrolled.t at line 101 fail #4) > ># Expected: '589x341+0+32' (Sizechk: geometry has not changed not > >resetfor -width => 80+(5)) > >t/zzScrolled.....FAILED tests 66, 94 > > Failed 2/94 tests, 97.87% okay > >t/zzText.........ok > >t/zzTixGrid......ok 18/36# Test 18 got: '1' (t/zzTixGrid.t at line 81 > >*TODO*) > ># Expected: '' (oops col selection is not cleared) > ># t/zzTixGrid.t line 81 is: eval { $b=$g->selection('includes', > >1,1); }; > > ok($b, "", "oops col selection is not cleared"); > >t/zzTixGrid......ok 26/36# Test 26 got: '1' (t/zzTixGrid.t at line 91 > >*TODO*) > ># Expected: '' (oops row selection is not cleared) > ># t/zzTixGrid.t line 91 is: eval { $b=$g->selection('includes', > >2,2); }; > > ok($b, "", "oops row selection is not cleared"); > >t/zzTixGrid......ok 32/36# Test 32 got: '1' (t/zzTixGrid.t at line 99 > >*TODO*) > ># Expected: '0' (oops cell selection contain a not selected item) > ># t/zzTixGrid.t line 99 is: eval { $b=$g->selection('includes', > >2,2); }; > > ok($b, 0, "oops cell selection contain a not selected item"); > >t/zzTixGrid......ok > >Failed Test Stat Wstat Total Fail Failed List of Failed
> >------------------------------------------------------------------------------- > t/zzScrolled.t
> > 94 2 2.13% 66 94 > >Failed 1/25 test scripts, 96.00% okay. 2/904 subtests failed, 99.78%
> okay.
> >make: *** [test_dynamic] Error 29 > > > >hope this helps you out on finding the problem with locale vs perl
> and Tk >
I am marking this ticket as resolved. It isn't a Tk problem as such but a RedHat mis-feature that upsets MakeMaker.