Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rakudo on OS X 10.6.8 #4461

Closed
p6rt opened this issue Aug 9, 2015 · 8 comments
Closed

Rakudo on OS X 10.6.8 #4461

p6rt opened this issue Aug 9, 2015 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Aug 9, 2015

Migrated from rt.perl.org#125771 (status was 'resolved')

Searchable as RT125771$

@p6rt
Copy link
Author

p6rt commented Aug 9, 2015

From christian.aperghis@lidil.univ-mrs.fr

I am trying to install Rakudo on my mac, and get plenty of strange messages.

After downloading and uncompressing the file, as shown on the site i use :

  perl Configure.pl --backend=moar --gen-moar

After the message :

  Configuration SUCCESS.

Each compilation generates the message :

  clang​: warning​: argument unused during compilation​:
'-fno-optimize-sibling-calls'

and at the end, the folowing final result :

  linking 3rdparty/libuv/libuv.a
  linking libmoar.dylib
  linking moar
  perl build/mk-moar-pc.pl pkgconfig/moar.pc
  Can't locate autodie.pm in @​INC (@​INC contains​:
/usr/local/lib/perl5/5.10.0/darwin-2level /usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/darwin-2level
/usr/local/lib/perl5/site_perl/5.10.0 .) at build/mk-moar-pc.pl line 11.
  BEGIN failed--compilation aborted at build/mk-moar-pc.pl line 11.
  make​: *** [pkgconfig/moar.pc] Error 2
  Building NQP ...
  perl Configure.pl
--prefix=/Users/chris/Desktop/rakudo-star-2015.07/install
--backends=moar --make-install
  Can't exec
"/Users/chris/Desktop/rakudo-star-2015.07/install/bin/moar"​: No such
file or directory at tools/lib/NQP/Configure.pm line 446.

  ===SORRY!===
  No suitable MoarVM (moar executable) found using the --prefix
  (You can get a MoarVM built automatically with --gen-moar.)

  Command failed (status 512)​: perl Configure.pl
--prefix=/Users/chris/Desktop/rakudo-star-2015.07/install
--backends=moar --make-install

Can you help me ?

Regards.

--
  \|||/
  (o o)
  +--ooO-( )-Ooo------------------------------------------+
  | Christian Aperghis-Tramoni |
  | |
  | Mel : chris@​aperghis.fr (\
  / ) WEB (provisoire) : http://www.dil.univ-mrs.fr/~chris ( \
  ( (+-------------------------------------------------------+) )
  ((\ \) / ) / ) (/ //)
  (\\\ \_/ / \ \_/ ///)
  \ / \ /
___\___ /____________________________________________ ____\____/________
  print join('',map({$i=1-$i;$a=$i?10*$_."\b\b"​:pack"c",$a+$_+0x16}split
  (//,"5110789279758710838810587992861093898779948387799310")),"...\n");
_______________________________________________________________________

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @coke

On Sun Aug 09 00​:27​:54 2015, christian.aperghis@​lidil.univ-mrs.fr wrote​:

I am trying to install Rakudo on my mac, and get plenty of strange messages.

After downloading and uncompressing the file, as shown on the site i use :

  perl Configure\.pl \-\-backend=moar \-\-gen\-moar

After the message :

  Configuration SUCCESS\.

Each compilation generates the message :

  clang​: warning​: argument unused during compilation​: 

'-fno-optimize-sibling-calls'

and at the end, the folowing final result :

  linking 3rdparty/libuv/libuv\.a
  linking libmoar\.dylib
  linking moar
  perl build/mk\-moar\-pc\.pl pkgconfig/moar\.pc
  Can't locate autodie\.pm in @​INC \(@​INC contains​: 

/usr/local/lib/perl5/5.10.0/darwin-2level /usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/darwin-2level
/usr/local/lib/perl5/site_perl/5.10.0 .) at build/mk-moar-pc.pl line 11.
BEGIN failed--compilation aborted at build/mk-moar-pc.pl line 11.
make​: *** [pkgconfig/moar.pc] Error 2
Building NQP ...
perl Configure.pl
--prefix=/Users/chris/Desktop/rakudo-star-2015.07/install
--backends=moar --make-install
Can't exec
"/Users/chris/Desktop/rakudo-star-2015.07/install/bin/moar"​: No such
file or directory at tools/lib/NQP/Configure.pm line 446.

  ===SORRY\!===
  No suitable MoarVM \(moar executable\) found using the \-\-prefix
  \(You can get a MoarVM built automatically with \-\-gen\-moar\.\)

  Command failed \(status 512\)​: perl Configure\.pl 

--prefix=/Users/chris/Desktop/rakudo-star-2015.07/install
--backends=moar --make-install

Can you help me ?

Regards.

If we're using autodie in the perl5 Configure script, that's an implicit dependency on 5.10.1 ; the declared dep is on 5.10.0, however.

I'll update the scripts to make it explicit, but in the meantime, please try the build with a newer version of Perl 5.

Regards.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @coke

On Sun Aug 09 20​:04​:17 2015, coke wrote​:

If we're using autodie in the perl5 Configure script, that's an
implicit dependency on 5.10.1 ; the declared dep is on 5.10.0,
however.

I'll update the scripts to make it explicit, but in the meantime,
please try the build with a newer version of Perl 5.

Regards.

Looks like MoarVM was the only place this happened. The next Star release should include this bugfix - in the meantime, if you use a recent version of perl5, you should be fine.

--
Will "Coke" Coleda

@p6rt p6rt closed this as completed Aug 10, 2015
@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

@coke - Status changed from 'open' to 'resolved'

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @coke

On Sun Aug 09 20​:09​:50 2015, coke wrote​:

On Sun Aug 09 20​:04​:17 2015, coke wrote​:

If we're using autodie in the perl5 Configure script, that's an
implicit dependency on 5.10.1 ; the declared dep is on 5.10.0,
however.

I'll update the scripts to make it explicit, but in the meantime,
please try the build with a newer version of Perl 5.

Regards.

Looks like MoarVM was the only place this happened. The next Star
release should include this bugfix - in the meantime, if you use a
recent version of perl5, you should be fine.

Shortly after I did this, someone submitted a patch that removes the requirement for 5.10.1 and made it 5.10.0 compatible.

If you apply MoarVM/MoarVM@e075ba6 to the copy of MoarVM shipped with Rakudo Star (ignoring the line that puts the version back to the original version, since you don't have that change), then you should be able to build with 5.10.0

Regards.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @coke

Sorry, there was apparently a small typo in that commit.

Just grab this copy of the file​:
https://github.com/MoarVM/MoarVM/blob/master/build/mk-moar-pc.in

Regards.

On Mon, Aug 10, 2015 at 8​:44 AM, Will Coleda via RT
<perl6-bugs-followup@​perl.org> wrote​:

On Sun Aug 09 20​:09​:50 2015, coke wrote​:

On Sun Aug 09 20​:04​:17 2015, coke wrote​:

If we're using autodie in the perl5 Configure script, that's an
implicit dependency on 5.10.1 ; the declared dep is on 5.10.0,
however.

I'll update the scripts to make it explicit, but in the meantime,
please try the build with a newer version of Perl 5.

Regards.

Looks like MoarVM was the only place this happened. The next Star
release should include this bugfix - in the meantime, if you use a
recent version of perl5, you should be fine.

Shortly after I did this, someone submitted a patch that removes the requirement for 5.10.1 and made it 5.10.0 compatible.

If you apply MoarVM/MoarVM@e075ba6 to the copy of MoarVM shipped with Rakudo Star (ignoring the line that puts the version back to the original version, since you don't have that change), then you should be able to build with 5.10.0

Regards.
--
Will "Coke" Coleda

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 11, 2015

From christian.aperghis@lidil.univ-mrs.fr

Ok, works now after upgrading to
perl 5, version 16, subversion 0 (v5.16.0) built for darwin-2level

Still having plenty of warnings :

clang​: warning​: argument unused during compilation​: ******

But all seems working

Test Summary Report


t/spec/S17-supply/watch_path.t (Wstat​: 5 Tests​: 1 Failed​: 0)
  Non-zero wait status​: 5
  Parse errors​: Bad plan. You planned 2 tests but ran 1.
t/spec/S32-io/IO-Socket-INET.t (Wstat​: 65280 Tests​: 37 Failed​: 0)
  Non-zero exit status​: 255
  Parse errors​: Bad plan. You planned 47 tests but ran 37.
Files=1028, Tests=45534, 1563 wallclock secs ( 9.91 usr 4.34 sys +
1217.54 cusr 148.20 csys = 1379.99 CPU)
Result​: FAIL

Thanks for help

Regards.

Le 10/08/15 15​:08, Will Coleda via RT a écrit :

Sorry, there was apparently a small typo in that commit.

Just grab this copy of the file​:
https://github.com/MoarVM/MoarVM/blob/master/build/mk-moar-pc.in

Regards.

On Mon, Aug 10, 2015 at 8​:44 AM, Will Coleda via RT
<perl6-bugs-followup@​perl.org> wrote​:

On Sun Aug 09 20​:09​:50 2015, coke wrote​:

On Sun Aug 09 20​:04​:17 2015, coke wrote​:

If we're using autodie in the perl5 Configure script, that's an
implicit dependency on 5.10.1 ; the declared dep is on 5.10.0,
however.

I'll update the scripts to make it explicit, but in the meantime,
please try the build with a newer version of Perl 5.

Regards.
Looks like MoarVM was the only place this happened. The next Star
release should include this bugfix - in the meantime, if you use a
recent version of perl5, you should be fine.
Shortly after I did this, someone submitted a patch that removes the requirement for 5.10.1 and made it 5.10.0 compatible.

If you apply MoarVM/MoarVM@e075ba6 to the copy of MoarVM shipped with Rakudo Star (ignoring the line that puts the version back to the original version, since you don't have that change), then you should be able to build with 5.10.0

Regards.
--
Will "Coke" Coleda

--
  \|||/
  (o o)
  +--ooO-( )-Ooo------------------------------------------+
  | Christian Aperghis-Tramoni |
  | |
  | Mel : chris@​aperghis.fr (\
  / ) WEB (provisoire) : http://www.dil.univ-mrs.fr/~chris ( \
  ( (+-------------------------------------------------------+) )
  ((\ \) / ) / ) (/ //)
  (\\\ \_/ / \ \_/ ///)
  \ / \ /
___\___ /____________________________________________ ____\____/________
  print join('',map({$i=1-$i;$a=$i?10*$_."\b\b"​:pack"c",$a+$_+0x16}split
  (//,"5110789279758710838810587992861093898779948387799310")),"...\n");
_______________________________________________________________________

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant