"perl Configure.pl --parrot-config <path>" looks for parrot-nqp in /usr/local/bin #737

Open
parthm opened this Issue Mar 16, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@parthm

parthm commented Mar 16, 2012

I have parrot-4.1.0 untarred and built. While pointing to parrot_config in this folder I would expect parrot-nqp to be picked up from here. However, Configure.pl seems to be looking for parrot-nqp in /usr/local/bin instead.

$ perl Configure.pl --parrot-config /stochatzillarage/src/parrot-4.1.0/parrot_config
Argument "$Revision$" isn't numeric in addition (+) at Configure.pl line 25, <$REQ> line 1.

Reading configuration information from /storage/src/parrot-4.1.0/parrot_config ...
Verifying Parrot installation...

===SORRY!===
I'm missing some needed files from the Parrot installation:
    /usr/local/bin/parrot-nqp
(Perhaps you need to use Parrot's "make install" or
install the "parrot-devel" package for your system?)

parth@parth-x120e:/storage/src/mylang/banter$ ls /storage/src/parrot-4.1.0/parrot_config
/storage/src/parrot-4.1.0/parrot_config
parth@parth-x120e:/storage/src/mylang/banter$ ls /storage/src/parrot-4.1.0/parrot-nqp
/storage/src/parrot-4.1.0/parrot-nqp
@jkeenan

This comment has been minimized.

Show comment Hide comment
@jkeenan

jkeenan Mar 17, 2012

Contributor

I'm embarrassed to tell you this, but here and (probably) in #736 as well, you've been a victim of outdated and/or incorrect documentation.

$ perl Configure.pl --parrot-config /stochatzillarage/src/parrot-4.1.0/parrot_config

Unfortunately, there is no --parrot-config option to Configure.pl.

$ perl Configure.pl --parrot-config=/home/jkeenan/foobar
Invalid option "parrot-config". See "perl Configure.pl --help" for valid options

(See Configure.pl and lib/Parrot/Configure/Options/Conf.pm.) This is the case notwithstanding documentation to that effect in tools/dev/create_language.pl, docs/pdds/pdd30_install.pod and tools/dev/all_hll_test.pl.

The outdated nature of the documentation in tools/dev/create_language.pl is demonstrated by the references to 'svn' -- the version control system we haven't used since approximately October 2010.

The Parrot team will be looking into these documentation errors. In the meantime, if you use IRC, I'd recommend you log on to #parrot on irc.perl.org and discuss your language creation objectives with Parrot developers on that channel.

Thank you very much.
Jim Keenan

Contributor

jkeenan commented Mar 17, 2012

I'm embarrassed to tell you this, but here and (probably) in #736 as well, you've been a victim of outdated and/or incorrect documentation.

$ perl Configure.pl --parrot-config /stochatzillarage/src/parrot-4.1.0/parrot_config

Unfortunately, there is no --parrot-config option to Configure.pl.

$ perl Configure.pl --parrot-config=/home/jkeenan/foobar
Invalid option "parrot-config". See "perl Configure.pl --help" for valid options

(See Configure.pl and lib/Parrot/Configure/Options/Conf.pm.) This is the case notwithstanding documentation to that effect in tools/dev/create_language.pl, docs/pdds/pdd30_install.pod and tools/dev/all_hll_test.pl.

The outdated nature of the documentation in tools/dev/create_language.pl is demonstrated by the references to 'svn' -- the version control system we haven't used since approximately October 2010.

The Parrot team will be looking into these documentation errors. In the meantime, if you use IRC, I'd recommend you log on to #parrot on irc.perl.org and discuss your language creation objectives with Parrot developers on that channel.

Thank you very much.
Jim Keenan

@jkeenan

This comment has been minimized.

Show comment Hide comment
@jkeenan

jkeenan Mar 17, 2012

Contributor

Also, you may try this sequence of commands:

perl Configure.pl
make
perl tools/dev/mk_language_shell.pl xyz [path/to/language]

For more documentation, try:

perldoc tools/dev/mk_language_shell.in
Contributor

jkeenan commented Mar 17, 2012

Also, you may try this sequence of commands:

perl Configure.pl
make
perl tools/dev/mk_language_shell.pl xyz [path/to/language]

For more documentation, try:

perldoc tools/dev/mk_language_shell.in

@ghost ghost assigned rurban Aug 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment