git - Installing modules for Perl 6 using Panda but behind a proxy -


seem lost on one.

anytime panda, (update/install) following error:

could not download module metadata: failed connect: connection timed out. falling curl command. curl failed: spawned process exited unsuccessfully (exit code: -16). falling wget command. wget failed well: spawned process exited unsuccessfully (exit code: -16). sorry, have give up.   in block  @ c:\rakudo\share\perl6\site\sources\61c4e003fb65304a1a6771d177815a47c2333d7e line 138   in  @ h:\.perl6\2016.01.1\precomp\34c40ed80206941c844106c0becebd0bce0e58e3.1454618830.87862\61\61c4e003fb6530 4a1a6771d177815a47c2333d7e line 1   in block  @ c:\rakudo\share\perl6\site\sources\61c4e003fb65304a1a6771d177815a47c2333d7e line 134   in  @ h:\.perl6\2016.01.1\precomp\34c40ed80206941c844106c0becebd0bce0e58e3.1454618830.87862\61\61c4e003fb6530 4a1a6771d177815a47c2333d7e line 1   in block  @ c:\rakudo\share\perl6\site\sources\61c4e003fb65304a1a6771d177815a47c2333d7e line 128   in  @ h:\.perl6\2016.01.1\precomp\34c40ed80206941c844106c0becebd0bce0e58e3.1454618830.87862\61\61c4e003fb6530 4a1a6771d177815a47c2333d7e line 1   in method update @ c:\rakudo\share\perl6\site\sources\61c4e003fb65304a1a6771d177815a47c2333d7e line 94   in sub main @ c:\rakudo\bin\panda line 43   in block <unit> @ c:\rakudo\bin\panda line 95 

i found on blog http://perl6maven.com/how-to-install-perl6-modules, in comments having same problem:

gave shot, behind web proxy. panda install task::star  failed. ok, research , find http::useragent needed. go  it, , install instructions "use panda install http::useragent".  catch-22 time. not encouraging @ point.  clone http::useragent github , point panda local  directory: git install ./http-useragent , still connection timed out  in retrieveing metadata. ideas? 

so... ideas?

alright , anyone, think i've figured out. , fyi i'm on windows try , read between lines other os's.

i can't panda

if getting above error message, means have run panda update early. while every module tells run panda update before panda install ....

what do now?

you have remove rakudo star , re-install! noticed after re-installing raduko, panda list started working again. ecstatic! problem right after ran panda update resulted in above error. upon attempted run panda list again, , surprise panda broken once again. basically, re-install , don't run panda update.

ok, i'm started not being able connect github

the stars have align (not really) able connect github being behind proxy. solution involved few things:

  • ensure have latest version of git installed (otherwise complain)
  • git config http.proxy http://user:password@proxy.website.com:port
  • git config https.proxy http://user:password@proxy.website.com:port
  • git config --global http.proxy http://user:password@proxy.website.com:port
  • git config --global https.proxy http://user:password@proxy.website.com:port
  • git config http.sslverify=false
  • set http_proxy=http://user:password@proxy.website.com:port
  • set https_proxy=http://user:password@proxy.website.com:port
  • set git_protocol=https
  • set git_ssl_no_verify=true

now have no idea i'm doing , there large number of cross-over settings there i'm pretty sure had of them set doesn't seem hurt having more.

success!

so assuming you've gotten far , haven't used panda update yet, should able install modules perl6 using panda install ...!


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -