including Zend-licensed code in Parrot

2008-02-17 Thread Christoph Otto
I'm helping Bernhard Schmalhofer with Plumhead (PHP/Parrot) by writing a PHPArray PMC and some tests. To maximize compatibility and minimize my effort, I've been copying and modifying code from Zend's implementation where appropriate, using the code from http://lxr.php.net/source/ZendEngine2/ .

Re: r25810 - make error

2008-02-17 Thread chromatic
On Sunday 17 February 2008 17:13:37 James E Keenan wrote: > > /usr/bin/ld: multiple definitions of symbol _Parrot_conv_i2_i > > myops_ops.o definition of _Parrot_conv_i2_i in section (__TEXT,__text) > > /usr/local/lib/libparrot.dylib(core_ops.o) definition of > > _Parrot_conv_i2_i /usr/bin/ld: mul

Re: [perl #43481] t/examples/shootout.t (shootout_16.pir) fails on gentoo/x86

2008-02-17 Thread chromatic
On Sunday 17 February 2008 18:19:30 James Keenan via RT wrote: > I can't say exactly what happened, but someone in the last 24 hours > committed some code which had the effect of getting > t/examples/shootout.t to pass on Darwin. (See attached output of 'prove > -v'.) > > The shootout itself has

Re: r25810 - make error

2008-02-17 Thread James E Keenan
James E Keenan wrote: In any case, you can use Parrot::Configure::Trace to trace how a particular Parrot::Configure object attribute develops over the course of the 60+ configuration steps. My guess is that you'd want to look at 'ld' and 'ldflags', perhaps others. Try adapting the attach

Re: r25810 - make error

2008-02-17 Thread James E Keenan
Joshua McAdams wrote: g++-4.0 -o myops_ops.bundle myops_ops.o -L/opt/local/lib -L/usr/local/lib -L/Users/joshua/Development/parrot/blib/lib -flat_namespace -L/opt/local/lib -L/Users/joshua/Development/parrot/blib/lib -bundle -undefined suppress -L/Users/joshua/Development/parrot/blib/lib -lparr

Re: r25810 - make error

2008-02-17 Thread James E Keenan
Joshua McAdams wrote: g++-4.0 -o myops_ops.bundle myops_ops.o -L/opt/local/lib -L/usr/local/lib -L/Users/joshua/Development/parrot/blib/lib -flat_namespace -L/opt/local/lib -L/Users/joshua/Development/parrot/blib/lib -bundle -undefined suppress -L/Users/joshua/Development/parrot/blib/lib -lparr

Shark under Leopard

2008-02-17 Thread Andy Lester
Shark seems to have a lot of possibilities. $ shark -i -1 ./parrot --leak-test languages/perl6/perl6.pbc -e 'say "Hello, world!"' makes a little session file called session_001.mshark and then you open it with Shark.app and it makes bunches of different views you can play with. (You have

Re: r25810 - make error

2008-02-17 Thread Joshua McAdams
> g++-4.0 -o myops_ops.bundle myops_ops.o -L/opt/local/lib > -L/usr/local/lib -L/Users/joshua/Development/parrot/blib/lib > -flat_namespace -L/opt/local/lib > -L/Users/joshua/Development/parrot/blib/lib -bundle -undefined > suppress -L/Users/joshua/Development/parrot/blib/lib -lparrot By the way

Re: r25810 - make error

2008-02-17 Thread Joshua McAdams
> Josh: For some time, I've been config'ing parrot this way on OS X: > > %cat ~/bin/ccc > CCACHE="ccache " > CC="${CCACHE}gcc-4.0" > CX="${CCACHE}g++-4.0" > perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" --ld="$CX" $@ > > Give this a whirl. (setting CCACHE to "" if you don't have it.) This >

Re: r25810 - make error

2008-02-17 Thread Joshua McAdams
> Are you using the Apple-supplied C and C++ compilers? Presuming that > 'cc' and 'c++' are symlinks, what do they link to? I believe so. I do have darwinports installed, but I think that everything it installs goes into /opt/local/ --(0)> ls -l `which cc` lrwxr-xr-x 1 root wheel 7 May 28

[perl #43481] t/examples/shootout.t (shootout_16.pir) fails on gentoo/x86

2008-02-17 Thread James Keenan via RT
On Thu Aug 09 20:20:09 2007, [EMAIL PROTECTED] wrote: > > I'm looking to close this ticket if we can... is anyone > still seeing a failure in the shootout/regexdna.pir test > in the latest svn HEAD ? If so, what OS and architecture? > > I'm particularly interested in hearing from people who hav

Re: r25810 - make error

2008-02-17 Thread James E Keenan
Will Coleda wrote: Josh: For some time, I've been config'ing parrot this way on OS X: %cat ~/bin/ccc CCACHE="ccache " CC="${CCACHE}gcc-4.0" CX="${CCACHE}g++-4.0" perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" --ld="$CX" $@ Give this a whirl. (setting CCACHE to "" if you don't have it.)

[perl #50800] Update PIR coda?

2008-02-17 Thread Will Coleda via RT
On Sat Feb 16 21:58:46 2008, [EMAIL PROTECTED] wrote: > Will Coleda (via RT) wrote: > > > > # Local Variables: > > # mode: pir > > # fill-column: 100 > > # End: > > # vim: expandtab shiftwidth=4 ft=pir: > > > > Note the added 'ft' directive. > > > > We need to choose one of: > > > > 1) ruth

Re: r25810 - make error

2008-02-17 Thread Will Coleda
On Feb 17, 2008 4:34 PM, Joshua McAdams <[EMAIL PROTECTED]> wrote: > I just checked out parrot r25810 and ran 'perl Configure.pl' and > 'make' and got the following error. This is on a PowerBook G4 running > Darwin 8.11.0. Could someone point me to what I am doing wrong? > > Thanks, > Josh > > ..

Re: r25810 - make error

2008-02-17 Thread James E Keenan
Joshua McAdams wrote: I just checked out parrot r25810 and ran 'perl Configure.pl' and 'make' and got the following error. This is on a PowerBook G4 running Darwin 8.11.0. Could someone point me to what I am doing wrong? [snip] /usr/bin/ld: multiple definitions of symbol _Parrot_conv_i2_i m

Re: STD.pm parsing assignment of pointy blocks

2008-02-17 Thread Larry Wall
On Sun, Feb 17, 2008 at 10:42:34PM +0100, Jonathan Worthington wrote: > And while I'm rambling about this kinda stuff, I discovered this because I > was actually looking at cases where we pass blocks off to things like grep. > > my @b = @a.grep: { $_ > 42 }; > > I'm thinking that $_ is really a pa

Re: r25810 - make error

2008-02-17 Thread James E Keenan
Joshua McAdams wrote: I just checked out parrot r25810 and ran 'perl Configure.pl' and 'make' and got the following error. This is on a PowerBook G4 running Darwin 8.11.0. Could someone point me to what I am doing wrong? Are you using the Apple-supplied C and C++ compilers? Presuming that

[svn:parrot-pdd] r25816 - in trunk: docs/pdds t/codingstd

2008-02-17 Thread coke
Author: coke Date: Sun Feb 17 15:30:43 2008 New Revision: 25816 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/t/codingstd/pir_code_coda.t Log: [codingstd] [docs] RT #50800 - per allison, update the new PIR coda to always requir

Re: [perl #50922] [BUG] t/src/intlist.t failing on Darwin

2008-02-17 Thread Andy Lester
On Feb 16, 2008, at 10:29 PM, chromatic wrote: -chunk = list->first = chunk->next ? chunk->next : list->last; Urgh, I missed that list->first in the middle. My bad. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

STD.pm parsing assignment of pointy blocks

2008-02-17 Thread Jonathan Worthington
Hi, I believe that this is valid: my $thingy = -> $x { say $x }; However, looking through STD.pm the only time we parse for a pblock is in statement control. So either I'm missing something, or STD.pm is. :-) I tried using pblock in place of block in circumfix. I think this may work. Howeve

r25810 - make error

2008-02-17 Thread Joshua McAdams
I just checked out parrot r25810 and ran 'perl Configure.pl' and 'make' and got the following error. This is on a PowerBook G4 running Darwin 8.11.0. Could someone point me to what I am doing wrong? Thanks, Josh ... c++ -o myops_ops_cg.bundle myops_ops_cg.o -L/opt/local/lib -L/usr/local/lib -L

[perl #50942] [PATCH] Parrot-SDL-TTF font color

2008-02-17 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #50942] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50942 > /examples/sdl/blue_font.pir works but produces random colors even though it should

Re: [svn:parrot] r25793 - trunk/compilers/imcc

2008-02-17 Thread chromatic
On Sunday 17 February 2008 06:54:28 [EMAIL PROTECTED] wrote: > Modified: >trunk/compilers/imcc/imcc.l >trunk/compilers/imcc/imclexer.c > > Log: > [compilers/imcc]: Applying patch submitted by chromatic in response to > http://rt.perl.org/rt3/Ticket/Display.html?id=50920, > "t/compilers/im

[perl #50938] [PATCH] Remove instantiate opcode

2008-02-17 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #50938] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50938 > Hi all, the attached patch removes the instantiate opcode (see RT#48022). The patch a

[perl #50920] [BUG]: t/compilers/imcc/syn/macro.t failing on Darwin

2008-02-17 Thread James Keenan via RT
On Sat Feb 16 20:46:51 2008, [EMAIL PROTECTED] wrote: > > Does this patch fix it? > > -- c > Yes. c++, errr, chromatic++. Patch applied to trunk in r25793. t/compilers/imcc/syn/macro.t now passes on Darwin. 'make coretest' passes completely on Darwin. 'make test' passes on Linux. Thank y