Re: perl6 INC

2016-05-11 Thread Bennett Todd
Agreed. I too found panda didn't successfully install, so I just switched from 
rakudo-star to rakudo, and I use zef. This package looks like it tries to build 
rakudo-star, panda doesn't, it installs what bits succeed, and quietly ignores 
those that don't.

I think the packager should work from rakudo, and call the rpm rakudo, unless 
they can fix the problems so panda gets built and installed. 


Re: perl6 INC

2016-05-11 Thread Sebastien Moretti

Rakudo Star = Rakudo plus Perl 6 modules.

It's a distribution of modules with a particular version of rakudo and
probably doesn't fit easily into the RPM model.

If you aren't including the Perl 6 modules it's not Rakudo Star but
plain "Rakudo" and should be named as such. and Fedora calling it Star
will confuse and mislead people.


The source file is rakudo-star but I have just noticed that the
   make modules-install
line is commented.
Only  make rakudo-install  is not commented.

Will re-try with make modules-install


S

On 11 May 2016 at 13:46, Sebastien Moretti  wrote:

It doesn't sound you are using Rakudo Star but a vendor packaged
version of plain Rakudo.



It's Rakudo Star, but packaged by Fedora


Maybe Fedora have packaged panda separately and its in another SRPM/spec
file?



Panda is not available.
Fedora does not look to support Perl6 actively for now.


Do you have a URL to the file(s) you are using?



http://pkgs.fedoraproject.org/cgit/rpms/rakudo-star.git/tree/rakudo-star.spec

I have just updated the version in the spec file to use Rakudo Star 2016.04



S

On 11 May 2016 at 13:28, Sebastien Moretti 
wrote:


I have a particular installation, so I follow Fedora spec files and at
the
end no panda.
And no mention of panda in spec files.

I can easily install panda by myself but I am faced with module path
issues.



Rakudo Star 2016.04 comes with panda but it's no longer in the same
directory as "perl6" so you will need to add it to the path.

If you install from source then it will display the path you need at
the end of the last step.

On a system which uses the --prefix /opt/rakudo-star-2016.04 panda
will be installed under
/opt/rakudo-star-2016.04/share/perl6/site/bin/panda

You don't need to change the library installation location.

S

On 11 May 2016 at 12:33, Sebastien Moretti 
wrote:



Hi

I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda.
So I try to install panda and its requirements (Shell::Command, ...)

I think the best place for those libraries are in /usr/share/perl6/lib
or
/usr/share/perl6/site|vendor/lib

Unfortunately once installed, perl6 cannot find them because it looks
into
/usr/share/perl6/ or /usr/share/perl6/site|vendor/, not in
sub-directory
lib
in those folders.

So what is the best/common place to install Perl6 modules?
Alternatively how to change the Perl6 behavior to look into lib
sub-directories.

Cheers


Re: perl6 INC

2016-05-11 Thread Steve Mynott
Rakudo Star = Rakudo plus Perl 6 modules.

It's a distribution of modules with a particular version of rakudo and
probably doesn't fit easily into the RPM model.

If you aren't including the Perl 6 modules it's not Rakudo Star but
plain "Rakudo" and should be named as such. and Fedora calling it Star
will confuse and mislead people.


S

On 11 May 2016 at 13:46, Sebastien Moretti  wrote:
>> It doesn't sound you are using Rakudo Star but a vendor packaged
>> version of plain Rakudo.
>
>
> It's Rakudo Star, but packaged by Fedora
>
>> Maybe Fedora have packaged panda separately and its in another SRPM/spec
>> file?
>
>
> Panda is not available.
> Fedora does not look to support Perl6 actively for now.
>
>> Do you have a URL to the file(s) you are using?
>
>
> http://pkgs.fedoraproject.org/cgit/rpms/rakudo-star.git/tree/rakudo-star.spec
>
> I have just updated the version in the spec file to use Rakudo Star 2016.04
>
>
>> S
>>
>> On 11 May 2016 at 13:28, Sebastien Moretti 
>> wrote:
>>>
>>> I have a particular installation, so I follow Fedora spec files and at
>>> the
>>> end no panda.
>>> And no mention of panda in spec files.
>>>
>>> I can easily install panda by myself but I am faced with module path
>>> issues.
>>>
>>>
 Rakudo Star 2016.04 comes with panda but it's no longer in the same
 directory as "perl6" so you will need to add it to the path.

 If you install from source then it will display the path you need at
 the end of the last step.

 On a system which uses the --prefix /opt/rakudo-star-2016.04 panda
 will be installed under
 /opt/rakudo-star-2016.04/share/perl6/site/bin/panda

 You don't need to change the library installation location.

 S

 On 11 May 2016 at 12:33, Sebastien Moretti 
 wrote:
>
>
> Hi
>
> I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda.
> So I try to install panda and its requirements (Shell::Command, ...)
>
> I think the best place for those libraries are in /usr/share/perl6/lib
> or
> /usr/share/perl6/site|vendor/lib
>
> Unfortunately once installed, perl6 cannot find them because it looks
> into
> /usr/share/perl6/ or /usr/share/perl6/site|vendor/, not in
> sub-directory
> lib
> in those folders.
>
> So what is the best/common place to install Perl6 modules?
> Alternatively how to change the Perl6 behavior to look into lib
> sub-directories.
>
> Cheers
>
>



-- 
4096R/EA75174B Steve Mynott 


Re: perl6 INC

2016-05-11 Thread Sebastien Moretti

It doesn't sound you are using Rakudo Star but a vendor packaged
version of plain Rakudo.


It's Rakudo Star, but packaged by Fedora


Maybe Fedora have packaged panda separately and its in another SRPM/spec file?


Panda is not available.
Fedora does not look to support Perl6 actively for now.


Do you have a URL to the file(s) you are using?


http://pkgs.fedoraproject.org/cgit/rpms/rakudo-star.git/tree/rakudo-star.spec

I have just updated the version in the spec file to use Rakudo Star 2016.04


S

On 11 May 2016 at 13:28, Sebastien Moretti  wrote:

I have a particular installation, so I follow Fedora spec files and at the
end no panda.
And no mention of panda in spec files.

I can easily install panda by myself but I am faced with module path issues.



Rakudo Star 2016.04 comes with panda but it's no longer in the same
directory as "perl6" so you will need to add it to the path.

If you install from source then it will display the path you need at
the end of the last step.

On a system which uses the --prefix /opt/rakudo-star-2016.04 panda
will be installed under
/opt/rakudo-star-2016.04/share/perl6/site/bin/panda

You don't need to change the library installation location.

S

On 11 May 2016 at 12:33, Sebastien Moretti 
wrote:


Hi

I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda.
So I try to install panda and its requirements (Shell::Command, ...)

I think the best place for those libraries are in /usr/share/perl6/lib or
/usr/share/perl6/site|vendor/lib

Unfortunately once installed, perl6 cannot find them because it looks
into
/usr/share/perl6/ or /usr/share/perl6/site|vendor/, not in sub-directory
lib
in those folders.

So what is the best/common place to install Perl6 modules?
Alternatively how to change the Perl6 behavior to look into lib
sub-directories.

Cheers




Re: perl6 INC

2016-05-11 Thread Steve Mynott
It doesn't sound you are using Rakudo Star but a vendor packaged
version of plain Rakudo.

Maybe Fedora have packaged panda separately and its in another SRPM/spec file?

Do you have a URL to the file(s) you are using?

S

On 11 May 2016 at 13:28, Sebastien Moretti  wrote:
> I have a particular installation, so I follow Fedora spec files and at the
> end no panda.
> And no mention of panda in spec files.
>
> I can easily install panda by myself but I am faced with module path issues.
>
>
>> Rakudo Star 2016.04 comes with panda but it's no longer in the same
>> directory as "perl6" so you will need to add it to the path.
>>
>> If you install from source then it will display the path you need at
>> the end of the last step.
>>
>> On a system which uses the --prefix /opt/rakudo-star-2016.04 panda
>> will be installed under
>> /opt/rakudo-star-2016.04/share/perl6/site/bin/panda
>>
>> You don't need to change the library installation location.
>>
>> S
>>
>> On 11 May 2016 at 12:33, Sebastien Moretti 
>> wrote:
>>>
>>> Hi
>>>
>>> I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda.
>>> So I try to install panda and its requirements (Shell::Command, ...)
>>>
>>> I think the best place for those libraries are in /usr/share/perl6/lib or
>>> /usr/share/perl6/site|vendor/lib
>>>
>>> Unfortunately once installed, perl6 cannot find them because it looks
>>> into
>>> /usr/share/perl6/ or /usr/share/perl6/site|vendor/, not in sub-directory
>>> lib
>>> in those folders.
>>>
>>> So what is the best/common place to install Perl6 modules?
>>> Alternatively how to change the Perl6 behavior to look into lib
>>> sub-directories.
>>>
>>> Cheers



-- 
4096R/EA75174B Steve Mynott 


Re: perl6 INC

2016-05-11 Thread Sebastien Moretti

Panda or zef will have the same issue for me.

What is the right place to put Perl6 modules?
panda installed them in /usr/share/perl6/site/lib/ but Perl6 looks only 
in /usr/share/perl6/site/ in my case.



If you ran Configure with --prefix specifying the final install dir, not the 
temporary buildroot, might that help?

Also, have you tried zef instead of panda?

When I built perl6 on (NB _on_, not just _for_) Android, I found zef easier to 
get going.

I put a note up about that on bet.github.io.


Re: perl6 INC

2016-05-11 Thread Tom Browder
On Wed, May 11, 2016 at 7:28 AM, Sebastien Moretti
 wrote:
> I have a particular installation, so I follow Fedora spec files and at the
> end no panda.
> And no mention of panda in spec files.
>
> I can easily install panda by myself but I am faced with module path issues.

In a pinch you can define the environment variable PERL6LIB to point
to module directories.

HTH

-Tom


Re: perl6 INC

2016-05-11 Thread Sebastien Moretti
I have a particular installation, so I follow Fedora spec files and at 
the end no panda.

And no mention of panda in spec files.

I can easily install panda by myself but I am faced with module path issues.


Rakudo Star 2016.04 comes with panda but it's no longer in the same
directory as "perl6" so you will need to add it to the path.

If you install from source then it will display the path you need at
the end of the last step.

On a system which uses the --prefix /opt/rakudo-star-2016.04 panda
will be installed under
/opt/rakudo-star-2016.04/share/perl6/site/bin/panda

You don't need to change the library installation location.

S

On 11 May 2016 at 12:33, Sebastien Moretti  wrote:

Hi

I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda.
So I try to install panda and its requirements (Shell::Command, ...)

I think the best place for those libraries are in /usr/share/perl6/lib or
/usr/share/perl6/site|vendor/lib

Unfortunately once installed, perl6 cannot find them because it looks into
/usr/share/perl6/ or /usr/share/perl6/site|vendor/, not in sub-directory lib
in those folders.

So what is the best/common place to install Perl6 modules?
Alternatively how to change the Perl6 behavior to look into lib
sub-directories.

Cheers


Re: perl6 INC

2016-05-11 Thread Steve Mynott
Rakudo Star 2016.04 comes with panda but it's no longer in the same
directory as "perl6" so you will need to add it to the path.

If you install from source then it will display the path you need at
the end of the last step.

On a system which uses the --prefix /opt/rakudo-star-2016.04 panda
will be installed under
/opt/rakudo-star-2016.04/share/perl6/site/bin/panda

You don't need to change the library installation location.

S

On 11 May 2016 at 12:33, Sebastien Moretti  wrote:
> Hi
>
> I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda.
> So I try to install panda and its requirements (Shell::Command, ...)
>
> I think the best place for those libraries are in /usr/share/perl6/lib or
> /usr/share/perl6/site|vendor/lib
>
> Unfortunately once installed, perl6 cannot find them because it looks into
> /usr/share/perl6/ or /usr/share/perl6/site|vendor/, not in sub-directory lib
> in those folders.
>
> So what is the best/common place to install Perl6 modules?
> Alternatively how to change the Perl6 behavior to look into lib
> sub-directories.
>
> Cheers



-- 
4096R/EA75174B Steve Mynott