yary,

I got similar error on windows
due to incomplete parrot checkout from svn
moritz_++ suggested to checkout without errors .. it's working on my system
now :)

delete parrot folder and redo
$ perl Configure.pl --gen-parrot

hope it works for you too

does rakudo contain any parrot or Makefile before
> $ mv rakudo rakudo-old

regards,
ujwal
irc: ujwalic



On Sat, Mar 14, 2009 at 5:14 AM, yary <not....@gmail.com> wrote:

> FYI, this is on an OpenBSD system of 2005 vintage. I was able to build
> rakudo on it a few weeks ago with no problem. I moved my old rakudo
> directory out of the way and tried to make the latest from github-
>
> $ mv rakudo rakudo-old
> $ git clone git://github.com/rakudo/rakudo.git
> ... grabs rakudo ...
> $ cd rakudo
> $ perl Configure.pl --gen-parrot
> ... works for a while, then:
> 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/home/yary/rakudo/parrot/blib/lib
> -L/home/yary/rakudo/parrot/blib/lib -lparrot  -lm -lutil -lpthread
> -lreadline -lncurses -Wl,-E
> -Wl,-R/usr/libdata/perl5/i386-openbsd/5.8.6/CORE
> /home/yary/rakudo/parrot/blib/lib/libparrot.so: warning: vsprintf() is
> often misused, please use vsnprintf()
> /home/yary/rakudo/parrot/blib/lib/libparrot.so: warning: strcpy() is
> almost always misused, please use strlcpy()
> /home/yary/rakudo/parrot/blib/lib/libparrot.so: warning: sprintf() is
> often misused, please use snprintf()
> /home/yary/rakudo/parrot/blib/lib/libparrot.so: warning: strcat() is
> almost always misused, please use strlcat()
> ./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] Error 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.
>



-- 
~// Work is Worship. Work Smart :) //~

Reply via email to