Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #63922] Fresh rakudo fails to build on FreeBSD

0 views
Skip to first unread message

Alex Kapranoff

unread,
Mar 16, 2009, 4:19:14 AM3/16/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by Alex Kapranoff
# Please include the string: [perl #63922]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63922 >


Good day!

I just pulled the fresh rakudo sources, Configured them with
--gen-parrot and the parrot build fails:
============
Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross
your fingers
./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
perl tools/build/parrot_config_c.pl > \
src/parrot_config.c
src/parrot_config.c
g++ -o parrot \
src/main.o src/parrot_config.o \
-Wl,-R/usr/home/kappa/work/rakudo/parrot/blib/lib
-L/usr/home/kappa/work/rakudo/parrot/blib/lib -lparrot -lm -lcrypt
-lutil -pthread -lreadline -Wl,-E
-Wl,-R/usr/local/lib/perl5/5.8.9/mach/CORE
./parrot -o runtime/parrot/include/parrotlib.pbc
runtime/parrot/library/parrotlib.pir
Null PMC access in get_pmc_keyed_str()
gmake: *** [runtime/parrot/include/parrotlib.pbc] Ошибка 1
Unable to locate parrot_config.
To automatically checkout (svn) and build a copy of parrot,
try re-running Configure.pl with the '--gen-parrot' option.
Or, use the '--parrot-config' option to explicitly specify
the location of parrot_config.
============
% cat build/PARROT_REVISION
37414

--
Alex Kapranoff.

Zahatski

unread,
Mar 18, 2009, 5:30:04 AM3/18/09
to perl6-c...@perl.org
Hi Alex !
I have a positive experience with the installation rakudo ("Vienna")
and parrot (37414 ) under 7.1-PRERELEASE (i386) and 7.0-PRERELEASE
(amd64).

I'm create port rakudo-devel for freebsd (
http://downloads.sourceforge.net/rakudoport/rakudo-devel.tgz ).
Default this port use tarball : rakudo-200902-parrot-r37414.tar.gz

This port also allows you to update the source code from repositories
rakudo and parrot and keep it up to date.

--
Zahatski Aliaksandr

Mark J. Reed

unread,
Mar 18, 2009, 5:00:13 PM3/18/09
to perl6-c...@perl.org, bugs-bi...@netlabs.develooper.com
I'm getting further but still failing to get Rakudo working (OS X
10.5.6, gcc 4.0.1), same parrot revision (r37414):

...
c++ -o perl6_ops_switch.bundle perl6_ops_switch.o -L/opt/local/lib
-L/usr/local/lib -L/Users/mreed/proj/perl6/rakudo/parrot/blib/lib
-L/sw/lib -L/Users/mreed/proj/perl6/rakudo/parrot/blib/lib -undefined
dynamic_lookup -L/sw/lib -L/opt/local/lib -undefined dynamic_lookup
-bundle -L/Users/mreed/proj/perl6/rakudo/parrot/blib/lib -lparrot
perl -e "" > src/gen_setting.pir
/Users/mreed/proj/perl6/rakudo/parrot/parrot -o perl6_s1.pbc perl6.pir
get_bignum() not implemented in class 'ParrotLibrary'
make: *** [perl6_s1.pbc] Error 1

--
Mark J. Reed <mark...@gmail.com>

Mark J. Reed

unread,
Mar 18, 2009, 6:49:25 PM3/18/09
to perl6-c...@perl.org, bugs-bi...@netlabs.develooper.com
Nm, installed libparrot was interfering.

Yary

unread,
Mar 24, 2009, 1:01:58 PM3/24/09
to perl6-c...@perl.org
I am still getting a "Null PMC access in get_pmc_keyed_str()" error
when building parrot as part of rakudo on my OpenBSD system, same
error Alex had when starting this thread. I've tracked it down to line
170 in runtime/parrot/library/parrotlib.pir

.sub find_file_path
.param string name
.param pmc array
.local string ret
.local pmc iter
# The following line, creating a new 'Iterator', causes Null PMC access
iter = new 'Iterator', array
iter = 0 #ITERATE_FROM_START

NEXT:
null ret
unless iter goto END

$P0 = shift iter
...

I'd like help on fixing this. I know next to nothing about parrot programming!

Also, it'd be nice if parrot could tell us the line number when it
hits an error compiling a PIR file.

-y

Rolf Grossmann via RT

unread,
Apr 20, 2009, 7:48:49 PM4/20/09
to perl6-c...@perl.org
I've been able to successfully build and test (make test only) rakudo on
FreeBSD 7.1 and OpenBSD 4.4 today. (spectest is a different story, but
that's not part of this ticket.) I suppose this ticket can be closed?

Alex Kapranoff

unread,
Apr 21, 2009, 3:22:38 AM4/21/09
to perl6-bug...@perl.org
Yes, I confirm success in building current Rakudo on FreeBSD.
0 new messages