Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi all,

I know this is a question that has been asked maybe a zillion times or more but still I want to take the risk asking it again.

What's the best environment to create GUI's in Perl?

Perl is maybe not the best language to create GUI's but since I am knowledgeable about wxWidgets, my first choice would be wxPerl. I know this is a bit biased and this question is very subjective (you hardly can't discuss about flavours and tastes, can you?) but my problem is that I can't install wxPerl on my Windows 10 PC where I installed Strawberry Perl. It fails when it wants to compile the Alien::wxWidgets module. This is what I get:

C:\Users\Geert>cpan -i Wx Loading internal logger. Log::Log4perl recommended for better logging CPAN: CPAN::SQLite loaded ok (v0.217) Database was generated on Sun, 05 Jul 2020 13:15:41 GMT Running install for module 'Wx' CPAN: Digest::SHA loaded ok (v6.02) CPAN: Compress::Zlib loaded ok (v2.093) Checksum for D:\WinApps\PROGRA~1\STRAWB~1\cpan\sources\authors\id\M\MD +\MDOOTSON\Wx-0.9932.tar.gz ok CPAN: Archive::Tar loaded ok (v2.36) CPAN: YAML::XS loaded ok (v0.81) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) ---- Unsatisfied dependencies detected during ---- ---- MDOOTSON/Wx-0.9932.tar.gz ---- Alien::wxWidgets [build_requires] Running install for module 'Alien::wxWidgets' Checksum for D:\WinApps\PROGRA~1\STRAWB~1\cpan\sources\authors\id\M\MD +\MDOOTSON\Alien-wxWidgets-0.69.tar.gz ok CPAN: Module::CoreList loaded ok (v5.20200314) CPAN: Module::Build loaded ok (v0.4231) Configuring M/MD/MDOOTSON/Alien-wxWidgets-0.69.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.69' MDOOTSON/Alien-wxWidgets-0.69.tar.gz D:\WinApps\Programming\StrawberryPerl\perl\bin\perl.exe Build.PL -- +OK Running Build for M/MD/MDOOTSON/Alien-wxWidgets-0.69.tar.gz Building Alien-wxWidgets process_begin: CreateProcess(NULL, D:/WinApps/Programming/StrawberryPe +rl/c/bin/ -c "echo gcc_mswdll/minimal_sample_rc.o >> gcc_mswdll/minim +al.exe.rsp.tmp", ...) failed. makefile.gcc:221: pipe: No such file or directory process_begin: CreateProcess(NULL, D:/WinApps/Programming/StrawberryPe +rl/c/bin/ -c "echo gcc_mswdll/minimal_minimal.o >> gcc_mswdll/minimal +.exe.rsp.tmp", ...) failed. makefile.gcc:221: pipe: No such file or directory Can't open(GLOB(0x2f31a90), D:\WinApps\Programming\wxWidgets\lib\gcc_d +ll\msw\build.cfg): No such file or directory at ./Build line 66. MDOOTSON/Alien-wxWidgets-0.69.tar.gz D:\WinApps\Programming\StrawberryPerl\perl\bin\perl.exe ./Build -- N +OT OK Stopping: 'install' failed for 'Alien::wxWidgets'.
An alternative would be Perl/Tk, but I have no experience with this. I've also seen Win32::GUI but again, no experience with this.

Next to the fact that I'm missing experience with those GUI "languages", I see those modules are quite old and I'm wondering if it's still useful to step into such "unsure" development environment.

Any suggestions?

Best rgds,
Geert

In reply to Best GUI for Perl? by geertvc

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-20 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found