Re: r25810 - make error

2008-02-18 Thread Andy Dougherty
On Mon, 18 Feb 2008, chromatic wrote: > On Monday 18 February 2008 06:43:22 Andy Dougherty wrote: > > > The problem here looks relatively simple: The symbol _Parrot_conv_i2_i > > is defined in two places: myops_ops.o and > > /usr/local/lib/libparrot.dylib(core_ops.o) > > > > That '/usr/local/lib

Re: r25810 - make error

2008-02-18 Thread Andy Dougherty
On Mon, 18 Feb 2008, James E Keenan wrote: > Andy Dougherty wrote: > > > The problem here looks relatively simple: The symbol _Parrot_conv_i2_i > > is defined in two places: myops_ops.o and > > /usr/local/lib/libparrot.dylib(core_ops.o) > > That '/usr/local/lib/libparrot.dylib' shouldn't be the

Re: r25810 - make error

2008-02-18 Thread chromatic
On Monday 18 February 2008 06:43:22 Andy Dougherty wrote: > The problem here looks relatively simple: The symbol _Parrot_conv_i2_i > is defined in two places: myops_ops.o and > /usr/local/lib/libparrot.dylib(core_ops.o) > > That '/usr/local/lib/libparrot.dylib' shouldn't be there. It's probably

Re: r25810 - make error

2008-02-18 Thread James E Keenan
Joshua McAdams wrote: t/examples/library.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 3 Non-zero exit status: 1 I'm getting this failure too. But I think it's a side effect from Coke's work on .pir files this weekend, as he's marked it as a 'fail'. Coke: Will

Re: r25810 - make error

2008-02-18 Thread Andy Lester
On Feb 18, 2008, at 11:04 AM, James E Keenan wrote: I suspect a 'make realclean' should fix this. or make distclean, which is even more thorough than realclean. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: r25810 - make error

2008-02-18 Thread James E Keenan
Joshua McAdams wrote: I think I did install a version of parrot from macports and then uninstalled it... must not have cleaned up enough. Regardless, deleting /usr/local/lib/libparrot.dylib solved the problem and I now have a compiling and [almost] test-passing version of parrot on my system. T

Re: r25810 - make error

2008-02-18 Thread James E Keenan
Joshua McAdams wrote: [snip] I've attached my ld and ldflags trace too. I used your ccc wrapper and directly linked to gcc and g++ instead of going through the cc and c++ links found on my system. Other than the inclusion of /opt/local/lib twice, the thing that stands out the me is that th

Re: r25810 - make error

2008-02-18 Thread James E Keenan
Andy Dougherty wrote: The problem here looks relatively simple: The symbol _Parrot_conv_i2_i is defined in two places: myops_ops.o and /usr/local/lib/libparrot.dylib(core_ops.o) That '/usr/local/lib/libparrot.dylib' shouldn't be there. It's probably a remnant of an old installation. Unins

Re: r25810 - make error

2008-02-18 Thread Joshua McAdams
> That '/usr/local/lib/libparrot.dylib' shouldn't be there. It's probably a > remnant of an old installation. Uninstalling the old libparrot should fix > this problem. I think I did install a version of parrot from macports and then uninstalled it... must not have cleaned up enough. Regardless,

Re: r25810 - make error

2008-02-18 Thread Andy Dougherty
On Sun, 17 Feb 2008, chromatic wrote: > 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) def

Re: r25810 - make error

2008-02-18 Thread Joshua McAdams
[snip] > Am attaching my results for contrast. Mine are achieved with the > wrapper around Configure.pl which I posted on list earlier in > thread. Note that in mine 'ld' picks up the value passed via shell > setting at step 'inter::progs'. > > This works for me, but may not be relevant to your

Re: r25810 - make error

2008-02-18 Thread James E Keenan
chromatic wrote: On Sunday 17 February 2008 17:13:37 James E Keenan wrote: Compiling with gcc and linking with g++ looks more suspicious to me. Is that really how things work on Darwin? That's what I've been doing -- with satisfactory results -- since I first joined the project.

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: 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

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

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.)

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: 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

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