Re: -c question
[email protected] (Andy Bach)
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <CACV6rWK=mps0K_P+Wvfjg2G98kHibqFxApw=mcS+0mn4-F=fFA@mail.gmail.com> |
Well, as the current dir is not in the @INC path
Could not find NativeConvert in:
/home/tony/.raku
/opt/rakudo-pkg/share/perl6/site
/opt/rakudo-pkg/share/perl6/vendor
/opt/rakudo-pkg/share/perl6/core
CompUnit::Repository::AbsolutePath<4639587332824>
CompUnit::Repository::NQP<4639586267208>
CompUnit::Repository::Perl5<4639586267248>
it's not being found. Need to add the dir
On Tue, Feb 6, 2024 at 10:52 AM ToddAndMargo via perl6-users <
[email protected]> wrote:
> >> On 6 Feb 2024, at 00:39, ToddAndMargo via perl6-users <
> [email protected]> wrote:
> >>
> >> Hi All,
> >>
> >> Is there a way to syntax a module? Sort of like the "-c"
> >> option on main programs?
> >>
> >> Many thanks,
> >> -T
>
> On 2/6/24 01:34, Elizabeth Mattijsen wrote:
> > $ raku -c foo.rakumod
> > Syntax OK
> >
>
> $ raku -c WinMessageBox.pm6
> ===SORRY!=== Error while compiling
> /home/CDs/Windows/NtUtil/WinMessageBox.pm6
> Could not find NativeConvert in:
> /home/tony/.raku
> /opt/rakudo-pkg/share/perl6/site
> /opt/rakudo-pkg/share/perl6/vendor
> /opt/rakudo-pkg/share/perl6/core
> CompUnit::Repository::AbsolutePath<4639587332824>
> CompUnit::Repository::NQP<4639586267208>
> CompUnit::Repository::Perl5<4639586267248>
> at /home/CDs/Windows/NtUtil/WinMessageBox.pm6:50
>
> $ which NativeConvert.pm6
> ./NativeConvert.pm6
> and three other pm.6's WinMessageBox imports.
>
> I can only compile check my modules if I
> import them to a program and -c the program.
>
> For example, the following program uses
> the above module:
> $ raku -c CobianWrapper.pl6
> Syntax OK
>
> I just want to do a syntax check on my modules
> at time without the program.
>
> :'(
>
--
a
Andy Bach,
[email protected]
608 658-1890 cell
608 261-5738 wk