Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

"cpan force install" can't connect to sourceforge.net

by Amphiaraus (Beadle)
on Mar 07, 2017 at 18:33 UTC ( [id://1183868]=perlquestion: print w/replies, xml ) Need Help??

Amphiaraus has asked for the wisdom of the Perl Monks concerning the following question:

When I run "cpan force install Alien::wxWidgets", it can't connect to sourceforge.net
Error message stated:
Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets- +3.0.2.tar.bz2 Fetch failed! HTTP response: 500 Internal Server Error [500 Can't conn +ect to svwh.dl.sourceforge.net:443] at inc/My/Build/Base.pm line 306. Fetch failed! HTTP response: 599 [Internal Exception] at inc/My/Build/ +Base.pm line 306. Could not open socket to 'prdownloads.sourceforge.net', 'No connection + could be made because the target machine actively refused it.' at in +c/My/Build/Base.pm line 306. Unable to fetch archive at inc/My/Build/Base.pm line 307.

I can put http://svwh.dl.sourceforge.net into my Intenet Explorer and open that page, but cannot reach that target server when running "cpan force install Alien::wxWidgets "

Replies are listed 'Best First'.
Re: "cpan force install" can't connect to sourceforge.net
by genio (Beadle) on Mar 07, 2017 at 18:56 UTC

    Alien:: Modules sometimes try to pull down the library from their source if they can't be detected on the machine.

    Currently that's a problem as the author is looking for the build to be in sourceforge, which is no fun.

    If you have cpanm installed, you can do the following:

    • cpanm --look Alien::WxWidgets
    • grep -RE 'sourceforge' *
    Try replacing the sourceforge URL with the GitHub Releases instead?

    I haven't tried this particular package, but in general that's how I remember things working. Talk to us on IRC if you can't get any further along. The people in that channel are very knowledgable.

Re: "cpan force install" can't connect to sourceforge.net
by Amphiaraus (Beadle) on Mar 07, 2017 at 21:10 UTC
    My laptop has no compiler that would seem to block me from using GitHub Releases. Is there a way I can download Alien::wxWidgets such that in my Perl scripts

    use Alien::wxWidgets;

    Would work?

      Yeah, read the README/INSTALL file and follow the instructions

        Apparently a change has been made in the sourceforge.net site, in my latest "cpan force install Alien::wxWidgets" there was no error complaining that sourceforge.net could not be reached. Alien-wxWidgets-0.67.tar.gz downloaded successfully.

        I now have an error message saying Alien::wxWidgets cannot be compiled:

        Running Build for M/MD/MDOOTSON/Alien- wxWidgets-0.67.tar.gz
        Building Alien-wxWidgets
        gmake: makefile.gcc: No such file or directory
        gmake: *** No rule to make target 'makefile.gcc'. Stop.
        Could not find wxWidgets lib directory at inc/My/Build/Win32_MinGW_Bakefile.pm line 68.
        MDOOTSON/Alien-wxWidgets-0.67.tar.gz
        C:\Strawberry\perl\bin\perl.exe ./Build -- NOT OK
        Stopping: 'install' failed for 'Alien::wxWidgets'.


        Internet searches suggest "gmake" is a UNIX-like makefile distributed by the GNU Project. My computer uses Windows, not UNIX. Is there a solution for the "gmake: makefile.gcc" error shown above that does not require your computer to have UNIX?
Re: "cpan force install" can't connect to sourceforge.net
by Amphiaraus (Beadle) on Mar 10, 2017 at 22:43 UTC
    I have installed Padre and its dependencies on my home computer which has its own compiler. Padre powers up, can be used as an editor, but its debugging features don't work. This thread / problem can be considered closed.
Re: "cpan force install" can't connect to sourceforge.net
by Amphiaraus (Beadle) on Mar 09, 2017 at 18:34 UTC
    Does anyone know which Perl Modules in the 64-bit Strawberry Perl enable "gcc" compilation of CPAN Perl Modules that require such compilation?

    Are there Perl modules in CPAN equivalent to the 64-bit Strawberry Perl's modules (which enable "gcc" compilation), that would work in a computer where your operating system is Windows 32-bit and your Strawberry Perl is also 32-bit?

    My Strawberry Perl is version 5.24.1001 (32-bit).

      This makes absolutely no sense at all. See your previous post and the responses.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found