Grokbase
Topics Posts Groups | in
x
[ help ]

Konovalov, Vadim Vladimirovich (Vadim)** CTR ** (vkono...@alcatel-lucent.com)

Profile | Posts (3)

User Information

Display Name:Konovalov, Vadim Vladimirovich (Vadim)** CTR **
Partial Email Address:vkono...@alcatel-lucent.com
Posts:
3 total
3 in Perl 5 Porters

5 Most Recent

1) Konovalov, Vadim Vladimirovich (Vadim)** CTR ** RE: Out of date CPAN modules in 5.8.9
| +1 vote
How this list is created? I don't see neither HTML::Tagset nor XML::NamespaceSupport in 5.8.9-RC1...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
> From: Michael G Schwern [email protected: sc...@pobox.com]

> This is normally Randal's job, but I was verifying the
> versions in perldelta
> and figured I'd run it.
>
> Package namespace         installed    latest
> Attribute::Handlers         0.78_03      0.81
> B::Debug                       1.05      1.11
> HTML::Tagset                   3.10      3.20
> Pod::Perldoc                   3.14      3.15
> Test::Harness                  2.64      3.14
> Test::Harness::Straps       0.26_01      0.30
> Test::Simple                   0.80      0.86
> XML::NamespaceSupport          1.08      1.09
> English                        1.03      1.04
> Fatal                          1.06     1.994
> Pod::Man                       1.37      2.21
> Text::Balanced                 1.98  2.000000
> 17 installed modules have no parseable version number

How this list is created?

I don't see neither HTML::Tagset nor XML::NamespaceSupport in 5.8.9-RC1

BR,
Vadim.
2) Konovalov, Vadim Vladimirovich (Vadim)** CTR ** RE: 5.8.9 RC1
| +1 vote
Thanks, that works Also got error about missing <asm/page.h> because gentoo's linux-headers package...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
> > > From: Nicholas Clark [email protected: n...@flirble.org]
>
> > > Does the released 5.8.8 fail in the same way?
> >
> > Sorry, with perl-5.8.8 I'm lost.
> >
> > ./Configure -des  
> > .....
> > ...
> > Now you must run 'make'.
> >
> > If you compile perl5 on a different machine or from a
> different object
> > directory, copy the Policy.sh file from this object directory to the
> > new one before you run Configure -- this will help you with most of
> > the policy defaults.
> >
> > coli perl-5.8.8 # make
> > make: *** No rule to make target `<command-line>', needed by
> > `miniperlmain.o'.  Stop.
>
> Just hand-edit the 'makefile' (and 'x2p/makefile') to delete
> the lines
> containing '<command-line>' and '<builtin>' (which might be
> '<built-in>',
> I don't exactly recall). They are output by "newer" versions
> of gcc and
> not recognized by 5.8.8's build system. They are harmless.
> Just delete
> them and you can continue with the test.

Thanks, that works

Also got error about missing <asm/page.h> because gentoo's linux-headers
package do not contain it - but this is known thing:
SysV.xs:7:25: error: asm/page.h: No such file or directory
make[1]: *** [SysV.o] Error 1

Returning to slightly misleading comment on "lib/Net/hostent.t" -
Yes, behaviour on 5.8.8 is exactly the same as in 5.8.9-RC1:


w/o "localhost" entry on /etc/hosts

coli perl-5.8.8 # ./perl lib/Net/hostent.t
1..7
ok 1 - use Net::hostent;
not ok 2 - gethost('localhost')
#   Failed test 'gethost('localhost')'
#   in lib/Net/hostent.t at line 36.
# Can't continue without working gethost:
# Looks like you planned 7 tests but only ran 2.
# Looks like you failed 1 test of 2 run.

w/ "localhost" entry on /etc/hosts

coli perl-5.8.8 # ./perl lib/Net/hostent.t
1..7
ok 1 - use Net::hostent;
ok 2 - gethost('localhost')
ok 3 - addr from gethost
ok 4 - gethostbyaddr('127.0.0.1')
ok 5 - addr from gethostbyaddr
# name = localhost, aliases =
ok 6
ok 7
# localhost
coli perl-5.8.8 #                          

BR,
Vadim.
3) Konovalov, Vadim Vladimirovich (Vadim)** CTR ** RE: 5.8.9 RC1
| +1 vote
Sorry, with perl-5.8.8 I'm lost. ./Configure -des Now you must run 'make'. If you compile perl5 on...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
> From: Nicholas Clark [email protected: n...@flirble.org]
> On Tue, Nov 11, 2008 at 11:01:42AM +0100, Konovalov, Vadim
> (Vadim)** CTR ** wrote:
> > > Currently it's at
> > >
> > > http://www.ccl4.org/~nick/P/perl-5.8.9-RC1.tar.bz2
> > >
> > > Please don't publicise that URL outside p5p - instead
> > >
> > >   
> > > ftp://ftp.cpan.org/pub/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.9
> > > -RC1.tar.bz2
> > >
> > > once it's had time to propagate to CPAN's mirrors.
> >
> > very small problem.
> >
> > I happen not to have "localhost" entry in /etc/hosts and
> therefore got
> > failing test:
>
> Thanks for the feedback.
>
> Does the released 5.8.8 fail in the same way?

Sorry, with perl-5.8.8 I'm lost.

./Configure -des  
.....
...
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

coli perl-5.8.8 # make
make: *** No rule to make target `<command-line>', needed by
`miniperlmain.o'.  Stop.

At the same time I built Perl on this PC.

coli perl-5.8.8 # uname -a
Linux coli 2.6.22.18-co-0.7.3 #1 PREEMPT Sat May 24 22:27:30 UTC 2008
i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux

Sorry,
I can't figure it out.

Vadim.
4) Konovalov, Vadim Vladimirovich (Vadim)** CTR ** RE: 5.8.9 RC1
| +1 vote
very small problem. I happen not to have "localhost" entry in /etc/hosts and therefore got failing...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
> Currently it's at
>
> http://www.ccl4.org/~nick/P/perl-5.8.9-RC1.tar.bz2
>
> Please don't publicise that URL outside p5p - instead
>
>   
> ftp://ftp.cpan.org/pub/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.9
> -RC1.tar.bz2
>
> once it's had time to propagate to CPAN's mirrors.

very small problem.

I happen not to have "localhost" entry in /etc/hosts and therefore got
failing test:


Failed 1 test out of 1108, 99.91% okay.
        ../lib/Net/hostent.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
###   ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
###   setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl
harness
###   LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd
t; ./perl harness
###   export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl
harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=3.50  s=3.07  cu=193.45  cs=84.60  scripts=1108  tests=133369
make[2]: *** [_test_tty] Error 1
make[2]: Leaving directory `/home/vad/Personal/perl-dev/perl-5.8.9-RC1'
make[1]: *** [_test] Error 2
make[1]: Leaving directory `/home/vad/Personal/perl-dev/perl-5.8.9-RC1'
make: *** [test] Error 2



running it separatedly gives me a wrong guess on my problem:

coli perl-5.8.9-RC1 # ./perl ./lib/Net/hostent.t
1..7
ok 1 - use Net::hostent;
not ok 2 - gethost('localhost')
#   Failed test 'gethost('localhost')'
#   at ./lib/Net/hostent.t line 36.
# Can't continue without working gethost:
# Looks like you planned 7 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.


I do have working gethost, although do not have "localhost" entry.

When I added "localhost" all became ok:

coli perl-5.8.9-RC1 # ./perl ./lib/Net/hostent.t
1..7
ok 1 - use Net::hostent;
ok 2 - gethost('localhost')
ok 3 - addr from gethost
ok 4 - gethostbyaddr('127.0.0.1')
ok 5 - addr from gethostbyaddr
# name = localhost, aliases =
ok 6
ok 7
# localhost


Best regards,
Vadim.
5) Konovalov, Vadim Vladimirovich (Vadim)** CTR ** RE: add UPSTREAM flag to Maintainers.pl??
| +1 vote
once for --static and once for --dynamic? (a guess) When all will be settled, ext/util/make_ext and...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
> From: demerphq [email protected: dem...@gmail.com]
> Sent: Monday, November 10, 2008 11:18 AM
> > On Sun, Nov 09, 2008 at 11:51:19PM +0100, Rafael
> Garcia-Suarez wrote:

> > In turn, I think that that re-arrangement becomes a lot easier if
> > ext/util/make_ext is converted to Perl (not that hard) as
> it makes extending
> > it easer, and I think it's going to be useful to extend it
> to cope with more
> > things in ext/
>
> Uhm, is it possible that this is actually already done? For Win32
> builds we use win32/buildext.pl which is executed like the following
> (in an up to date build directory)
>
> [SNIP]
> ..\miniperl.exe -I..\lib buildext.pl nmake -nologo perldll.def
> ..\ext --dynamic
> Making B
> [SNIP]
> Making threads/shared
> nmake -nologo
> if exist ext ..\miniperl.exe -I..\lib buildext.pl nmake
> -nologo perldll.def ext --dynamic
> Everything is up to date. 'nmake test' to run test suite.
>
> Not sure why it is executed twice.

once for --static and once for --dynamic? (a guess)

>
> > In particular, I think that it would be very useful for it
> to have a way to
> > fake things if there isn't a Makefile.PL, so that we don't
> have to worry
> > about hand-writing custom core Makefile.PLs for a lot of
> dual life modules.
> >
> > In turn, the re-write seems to need the fork of
> ext/util/make_ext and
> > ext/util/make_ext/cross to be healed. (Or healed as part of
> the re-write)
> > but I'm not sure what that will take. There's an unapplied
> patch from Vadim,
> > which I know I've not looked at, so that might affect this.

When all will be settled, ext/util/make_ext and ext/util/make_ext_cross
will be single shell script (or Perl script? I like the idea of transforming it to
Perl script)

I'll redo my changes for cross-compilation when needed, so please do not
take into consideration cross-compilation part, for now.

> >
> > These thoughts have been brewing in my head for a bit, but
> I think that this
> > is the first time that I've mentioned them here.
>
> ISTR that Vadim suggested genericizing win32/buildext.pl, but I could
> misremember.

yes, IMO buildext.pl could be used on all platforms - not only on Win32.
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-09/msg00687.html

There were no replies to my email when I noticed this - and I thought it is
either because idea was silently disliked, or it was silently approved, or
combination of the two
:)


Best regards,
Vadim.

spacer
Profile | Posts (3)
Home > People > Konovalov, Vadim Vladimirovich (Vadim)** CTR **