Can't open perl script "Build.PL": No such file or directory

This means that Perl can't find a file named Build.PL within your current directory. Are you sure you're in the right place? If you do an ls/dir do you see Build.PL?

cpan> look Alien::wxWidgets

If in doubt the above command within cpan will download the module and drop you into a shell within the unpacked distribution. You can then do what you want (install notes in README.txt?). To exit this shell type exit.

Update: I see you're using cpanp rather than cpan. Use the z argument to achieve the same as above:

z MODULE ... # extract module(s) and open command prompt in it

Update 2: fixed typo.

update 3: added link to README.txt


In reply to Re^5: Need help installing wxWidgets 2.9.4 by marto
in thread Need help installing wxWidgets 2.9.4 by HelenCr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.