Skip to content

Instantly share code, notes, and snippets.

@skids
Last active August 29, 2015 14:00
Show Gist options
  • Save skids/f42a0d177a0fe37aa7a2 to your computer and use it in GitHub Desktop.
Save skids/f42a0d177a0fe37aa7a2 to your computer and use it in GitHub Desktop.
# perl6
Missing or wrong version of dependency 'gen/parrot/stage2/QRegex.nqp'
current instr.: '' pc 16529 (src/gen/perl6-pod.pir:6594) (src/Perl6/Pod.nqp:499)
called from Sub '' pc 1903 (gen/parrot/stage2/module_loader.pir:880) (src/vm/parrot/ModuleLoader.nqp:47)
called from Sub '' pc 1931 (gen/parrot/stage2/module_loader.pir:889) (src/vm/parrot/ModuleLoader.nqp:55)
called from Sub 'load_module' pc 1593 (gen/parrot/stage2/module_loader.pir:738) (src/vm/parrot/ModuleLoader.nqp:52)
called from Sub '' pc 195128 (src/gen/perl6-actions.pir:78209) (src/Perl6/Actions.nqp:7241)
called from Sub '' pc 1903 (gen/parrot/stage2/module_loader.pir:880) (src/vm/parrot/ModuleLoader.nqp:47)
called from Sub '' pc 1931 (gen/parrot/stage2/module_loader.pir:889) (src/vm/parrot/ModuleLoader.nqp:55)
called from Sub 'load_module' pc 1593 (gen/parrot/stage2/module_loader.pir:738) (src/vm/parrot/ModuleLoader.nqp:52)
called from Sub '' pc 365992 (src/gen/perl6-grammar.pir:127146) (src/Perl6/Grammar.nqp:4397)
called from Sub '' pc 1903 (gen/parrot/stage2/module_loader.pir:880) (src/vm/parrot/ModuleLoader.nqp:47)
called from Sub '' pc 1931 (gen/parrot/stage2/module_loader.pir:889) (src/vm/parrot/ModuleLoader.nqp:55)
called from Sub 'load_module' pc 1593 (gen/parrot/stage2/module_loader.pir:738) (src/vm/parrot/ModuleLoader.nqp:52)
called from Sub '' pc 753 (src/gen/perl6.pir:290) (gen/parrot/main.nqp:60)
# which perl6
/usr/local/bin/perl6
# history # the first Configure attempt seemed like it tried to compile nqp first (see IRC)
# The second I aborted to change --backend to --backends
# http://irclog.perlgeek.de/perl6/2014-05-03#i_8673941
560 perl Configure.pl --backend=parrot --gen-nqp --gen-parrot PREFIX=/usr/local
561 perl Configure.pl --backend=parrot --gen-parrot --gen-nqp PREFIX=/usr/local
562 perl Configure.pl --backends=parrot --gen-parrot --gen-nqp PREFIX=/usr/local
563 make
564 make install
565 cd ../perl6sum
566 ls
567 perl6 -V
568 perl6 --version
569 perl6
570 which perl6
Was able to replicate the problem from a fresh tree Configure ended with:
/usr/bin/perl -MExtUtils::Command -e chmod 755 /usr/local/lib/parrot/6.1.0/dynext/*.so
NQP has been built and installed.
Verifying installation ...
===SORRY!===
I'm missing some needed files:
/parrot
/pbc_to_exe
/ops2c
/tools/build/pmc2c.pl
/pmc
/pmc
/nqp-p
(Perhaps you need to 'make install', 'make install-dev',
or install the 'devel' package for NQP or Parrot?)
...also noted that my installed /usr/local/bin/parrot was being used by the build.
e.g.:
/usr/local/bin/parrot -L. -X. --include=gen/parrot/stage2 -o gen/parrot/stage2/nqp.pbc \
gen/parrot/stage2/NQP.pir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment