Dancer2 - New App - compilation aborted
Starting to have closer look at using Dancer2 I found the following. I installed everything as documented (on OS-X with perl v.5.18.1). Then I do: dancer2 -a MyApp && cd MyApp Next perl bin/app.pl Can't locate MyApp.pm in @INC (you may need to install the MyApp module) (@INC contains: /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1 /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1 .) at bin/app.pl line 3. BEGIN failed--compilation aborted at bin/app.pl line 3. All this did work for Dancer (number one). Can anybody explain me how to solve this. Best, Gert
Hey Gert, Perhaps you could try: dancer2 -a MyApp && cd MyApp Next perl -Ilib bin/app.pl That is : minus capital 'I' (eye) then *lib.* * * Tell me how it goes? On Fri, Sep 20, 2013 at 12:59 PM, Gert van Oss <gertvanoss@me.com> wrote:
Starting to have closer look at using Dancer2 I found the following.
I installed everything as documented (on OS-X with perl v.5.18.1). Then I do:
dancer2 -a MyApp && cd MyApp
Next
perl bin/app.pl
Can't locate MyApp.pm in @INC (you may need to install the MyApp module) (@INC contains: /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1 /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1 .) at bin/ app.pl line 3. BEGIN failed--compilation aborted at bin/app.pl line 3.
All this did work for Dancer (number one). Can anybody explain me how to solve this.
Best, Gert
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Do you have perlbrew ? What the result of : which perl if you want to use the git repos, don't forget the "-Ilib" perl -Ilib ./script/dancer2 -a MyApp Or it will use the buggy installed version. 2013/9/20 Gideon D'souza <gidisrael@gmail.com>
Hey Gert,
Perhaps you could try:
dancer2 -a MyApp && cd MyApp
Next
perl -Ilib bin/app.pl
That is : minus capital 'I' (eye) then *lib.* * * Tell me how it goes?
On Fri, Sep 20, 2013 at 12:59 PM, Gert van Oss <gertvanoss@me.com> wrote:
Starting to have closer look at using Dancer2 I found the following.
I installed everything as documented (on OS-X with perl v.5.18.1). Then I do:
dancer2 -a MyApp && cd MyApp
Next
perl bin/app.pl
Can't locate MyApp.pm in @INC (you may need to install the MyApp module) (@INC contains: /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1 /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1 .) at bin/ app.pl line 3. BEGIN failed--compilation aborted at bin/app.pl line 3.
All this did work for Dancer (number one). Can anybody explain me how to solve this.
Best, Gert
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Hi Gideon, only see this e-mail at this moment just when I finished exploring all the files that came via github. I noticed that: dancer2 -v gave me 2.09 Not sure it was all necessary but I then did do the "dzil-things" mentioned in the file "GitGuide.md". Subsequently went into the "Dancer2-0.10" directory and did perl Build.pl /Build ./Build test sudo ./Build install Right now it all works as expected. I'm certainly going to explore further! Thanks On 20 sep. 2013, at 12:12, Gideon D'souza <gidisrael@gmail.com> wrote:
Hey Gert,
Perhaps you could try:
dancer2 -a MyApp && cd MyApp
Next
perl -Ilib bin/app.pl
That is : minus capital 'I' (eye) then lib.
Tell me how it goes?
On Fri, Sep 20, 2013 at 12:59 PM, Gert van Oss <gertvanoss@me.com> wrote: Starting to have closer look at using Dancer2 I found the following.
I installed everything as documented (on OS-X with perl v.5.18.1). Then I do:
dancer2 -a MyApp && cd MyApp
Next
perl bin/app.pl
Can't locate MyApp.pm in @INC (you may need to install the MyApp module) (@INC contains: /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1 /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1 .) at bin/app.pl line 3. BEGIN failed--compilation aborted at bin/app.pl line 3.
All this did work for Dancer (number one). Can anybody explain me how to solve this.
Best, Gert
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
participants (3)
-
Celogeek San -
Gert van Oss -
Gideon D'souza