Dancer::Plugin::Auth::Basic on Windows
I'm attempting to port a Dancer app to Windows. So far, all of the dependencies have installed fine, but cpanm fails to install Dancer::Plugin::Auth::Basic Building and testing Dancer-Plugin-Auth-Basic-0.02 Can't open README.pod for writing: Permission denied at C:\Users\zjt\.cpanm\work\1355758680.3396\Dancer-Plugin-Auth-Basic-0.02\_build\lib/My/Builder.pm line 11. It appears that the path .../My/Builder.pm is assuming the OS is *nix. Anyone know if a way to fix this? Jesse
On Tue, Dec 18, 2012 at 12:49 PM, Jesse Thompson <jesse.thompson@doit.wisc.edu> wrote:
Building and testing Dancer-Plugin-Auth-Basic-0.02 Can't open README.pod for writing: Permission denied at C:\Users\zjt\.cpanm\work\1355758680.3396\Dancer-Plugin-Auth-Basic-0.02\_build\lib/My/Builder.pm line 11.
I don't think it's a path issue. While it looks funky, I think Perl can sort out mixed back/forward slashes. "Permission denied" on README.pod is a hint that something is trying to update/modify README.pod -- which is completely unnecessary for installing a module. It looks like that custom builder is doing something wrong. David -- David Golden <xdg@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg
Hm. On cygwin, I tried 'cpanm -v Dancer-Plugin-Auth-Basic' and it fails with the same error message you mentioned 'cpan Dancer-Plugin-Auth-Basic' does the same. But good old 'make test', 'make install' works. Have no time to look into this right now. Sorry. Hope that helps. PS: Don't forget 'cpanm --look Dancer-Plugin-Auth-Basic' On Tue, Dec 18, 2012 at 11:25 AM, David Golden <xdg@xdg.me> wrote:
On Tue, Dec 18, 2012 at 12:49 PM, Jesse Thompson <jesse.thompson@doit.wisc.edu> wrote:
Building and testing Dancer-Plugin-Auth-Basic-0.02 Can't open README.pod for writing: Permission denied at
C:\Users\zjt\.cpanm\work\1355758680.3396\Dancer-Plugin-Auth-Basic-0.02\_build\lib/My/Builder.pm
line 11.
I don't think it's a path issue. While it looks funky, I think Perl can sort out mixed back/forward slashes.
"Permission denied" on README.pod is a hint that something is trying to update/modify README.pod -- which is completely unnecessary for installing a module. It looks like that custom builder is doing something wrong.
David
-- David Golden <xdg@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
I think that is has something to do with its use of Pod::Select. I'll reach out to the author(s). Anyway, it worked to install via --look, but I hate doing that since I can't automate my installations. Good news is that my dancer app now passes all tests on Windows. strawberry++ Jesse On Tuesday, December 18, 2012 8:36:53 PM, Maurice Mengel wrote:
Hm. On cygwin, I tried 'cpanm -v Dancer-Plugin-Auth-Basic' and it fails with the same error message you mentioned 'cpan Dancer-Plugin-Auth-Basic' does the same. But good old 'make test', 'make install' works. Have no time to look into this right now. Sorry. Hope that helps.
PS: Don't forget 'cpanm --look Dancer-Plugin-Auth-Basic'
On Tue, Dec 18, 2012 at 11:25 AM, David Golden <xdg@xdg.me <mailto:xdg@xdg.me>> wrote:
On Tue, Dec 18, 2012 at 12:49 PM, Jesse Thompson <jesse.thompson@doit.wisc.edu <mailto:jesse.thompson@doit.wisc.edu>> wrote: > Building and testing Dancer-Plugin-Auth-Basic-0.02 > Can't open README.pod for writing: Permission denied > at > C:\Users\zjt\.cpanm\work\1355758680.3396\Dancer-Plugin-Auth-Basic-0.02\_build\lib/My/Builder.pm > line 11.
I don't think it's a path issue. While it looks funky, I think Perl can sort out mixed back/forward slashes.
"Permission denied" on README.pod is a hint that something is trying to update/modify README.pod -- which is completely unnecessary for installing a module. It looks like that custom builder is doing something wrong.
David
-- David Golden <xdg@xdg.me <mailto:xdg@xdg.me>> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg _______________________________________________ dancer-users mailing list dancer-users@dancer.pm <mailto: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
On 12/19/2012 04:58 PM, Jesse Thompson wrote:
I think that is has something to do with its use of Pod::Select. I'll reach out to the author(s).
Anyway, it worked to install via --look, but I hate doing that since I can't automate my installations.
Good news is that my dancer app now passes all tests on Windows.
Author here. I saw that you emailed me about this problem, I just didn't have time to look into it yet, but I will (although the thought of maybe having to run a Windows VM to test this is a bit horrifying). Cheers, -- Michal Wojciechowski http://odyniec.net/ | http://search.cpan.org/~odyniec/
Judging from list interest, it looks like we can do windows testing for you if you dont have access to it. On Thu, Dec 20, 2012 at 2:00 AM, Michal Wojciechowski < odyniec@odyniec.eu.org> wrote:
ime to look into it yet, but I will (although the thought of maybe having to run a Windows VM to test this
On 12/20/2012 3:00 AM, Michal Wojciechowski wrote:
On 12/19/2012 04:58 PM, Jesse Thompson wrote:
I think that is has something to do with its use of Pod::Select. I'll reach out to the author(s).
Anyway, it worked to install via --look, but I hate doing that since I can't automate my installations.
Good news is that my dancer app now passes all tests on Windows.
Author here. I saw that you emailed me about this problem, I just didn't have time to look into it yet, but I will (although the thought of maybe having to run a Windows VM to test this is a bit horrifying).
Much appreciated if you manage to find the time. I did reach out to the author of Pod::Select, since it seems that the Windows compatibility issue resides there. It may be that you need to find an alternative to that dependency. FWIW, here's the counter argument for Windows support (Brian gave this lightning talk at YAPC::NA 2012, but I can't locate the video) http://www.slideshare.net/bbqsauls/windows-counterargument Jesse
participants (4)
-
David Golden -
Jesse Thompson -
Maurice Mengel -
Michal Wojciechowski