Ovid wrote:
I'm having trouble with the initial Configure.pl and with the pbc_to_c
target on my Intel Macbook. I have rough notes below about the steps
I've taken. If anyone needs more information, just ask and I'd be
happy to send anything I can.
Following the instructions in chromatic's post at use.perl about
building a Perl 6 binary:
http://use.perl.org/article.pl?sid=07/12/30/0912211
I got this error on the latest version from svn:
parrot $ perl Configure.pl
Base class package "Parrot::Configure::Compiler" is empty.
(Perhaps you need to 'use' the module which defines that package
first.)
at lib/Parrot/Configure.pm line 44
Ovid et al.: I apologize for the confusion. Barney diagnosed the
problem and corrected it in r24298 and r24303. I had failed to copy
lib/Parrot/Configure/Compiler.pm from branch to trunk. Lacking that,
nothing else made sense.
If you do an 'svn update', you should get a correct distribution. I
have successfully configured on i386-linux and am now doing so on
ppc-darwin.
Although it is not required for running chromatic's process, you might
wish to begin with:
perl Configure.pl --test
... to see that the configuration and build tools all work properly
before you say 'make'.
chromatic recommended that I check out r24278, which I did with a clean
install (blew everything away and started over), and I tried again.
Here's a summary:
Checked out revision 24278.
code $ cd parrot/
parrot $ perl Configure.pl
Parrot Version 0.5.1 Configure 2.0
Copyright (C) 2001-2007, The Perl Foundation.
... snip ...
> Checking MANIFEST...No such file: t/configure/104-init_miniparrot.t
> No such file: t/configure/106-init_headers.t
> No such file: t/configure/122-auto_ops.t
> No such file: t/configure/128-auto_va_ptr.t
The tests were renumbered subsequent to 24278.
[snip]
Since configuration did not complete successfully, there was no way that
any 'make' target could be run.
parrot $ make pbc_to_c
perl tools/dev/pbc_to_c_gen.pl \
'./CFLAGS cc "" -I./include -g -pipe -fno-common -no-cpp-precomp
-I/usr/local/include -pipe -fno-common -Wno-long-double
I haven't tried this new thing; will have to do so myself.
kid51