Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Win32::API in perl v5.20.2

by BillKSmith (Monsignor)
on Jul 02, 2015 at 18:19 UTC ( [id://1133009]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::API in perl v5.20.2
in thread Win32::API in perl v5.20.2

What else do I need to know?

C:\Users\Bill\Perl>ppm install http://www.sisyphusion.tk/ppm/Tk.ppd -- +force ppm install failed: 403 Forbidden C:\Users\Bill\Perl>
Bill

Replies are listed 'Best First'.
Re^3: Win32::API in perl v5.20.2
by syphilis (Archbishop) on Jul 03, 2015 at 00:40 UTC
    What else do I need to know?

    Seems to be a problem with the website ... that I'll have to sort out later today.
    In the meantime, download:
    http://www.sisyphusion.tk/ppm/x64/Tk-520_x64.tar.gz

    Place that file in some folder and, in the same folder place a file named Tk.ppd that contains:
    <?xml version="1.0" encoding="UTF-8" ?> <SOFTPKG NAME="Tk" VERSION="804,033,0,0"> <TITLE>Tk</TITLE> <ABSTRACT>a graphical user interface toolkit for Perl</ABSTRACT> <AUTHOR>Nick Ing-Simmons</AUTHOR> <PROVIDE NAME="Tk" VERSION="804.033" /> <IMPLEMENTATION> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x64-multi-thread-5.20" /> <CODEBASE HREF="Tk-520_x64.tar.gz" /> </IMPLEMENTATION> </SOFTPKG>
    (Beware the dreaded wrap-around if you copy'n'paste that code - safer to grab it by clicking on the 'download' link.)

    Then 'cd' to that folder and run:
    ppm install Tk.ppd --force
    I think that should work as an interim method. It works for me.
    If it doesn't, please let us know.

    And I'll get the problem (which seems to be affecting all ppm packages) fixed as soon as I can.

    Cheers,
    Rob
      so intermittent 403? Thats weird :)
        so intermittent 403?

        Well ... I can download the tarballs from my browser, but LWP::Simple and LWP::UserAgent are incapable of grabbing then (403 error).
        Is anyone else able to download (eg) http://www.sisyphusion.tk/ppm/x86/Device-USB-516.tar.gz using the browser ? (Or is it just me ?)
        Is anyone else able, perchance, to download that same file using LWP::UserAgent or LWP::Simple ?

        Cheers,
        Rob

      I am unable to follow your instructions. No problem downloading your link file with IE. When I click on your "download", IE downloads the file as a .mht file which contains your text surrounded by a lot of markup which I do not understand. If I tell IE to SAVE AS .pph, it only changes the .mht to .pph. The resulting file does not work/

      C:\Users\Bill\Perl>ppm install Tk.ppd --force No Perl script found in input
      If I create the .ppd file by pasting into gvim, the result is exactly the same.
      Bill
        The ppd file needs to be exactly as it appears in my post - no extra garbage. And both that file and the tarball need to be in the current working directory.
        I can copy'n'paste the ppd file or "download" it just fine - and I've absolutely no idea what's causing your difficulty in that regard.

        But the original problem should now be fixed (as I reported yesterday), so you *should* now be able to successfully run:
        ppm install http://www.sisyphusion.tk/ppm/Tk.ppd --force

        Cheers,
        Rob
Re^3: Win32::API in perl v5.20.2
by Anonymous Monk on Jul 02, 2015 at 19:03 UTC

    So where is the error message coming from? For what url? Increase verbosity in ppm and find out

    Also try force like suggested

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1133009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-19 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found