Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

adding perlQt ask for bzip2

by pelos (Initiate)
on Apr 23, 2013 at 04:33 UTC ( #1030034=perlquestion: print w/ replies, xml ) Need Help??
pelos has asked for the wisdom of the Perl Monks concerning the following question:

hello everyone, I'm new to Perl, well to programming in general. I've been playing with PYQT and I want to start doing a GUI but I get this error message
cpan> install QtCore4 Reading 'C:\Perl64\cpan\Metadata' Database was generated on Sun, 21 Apr 2013 08:41:02 GMT Running install for module 'QtCore4' Running make for C/CB/CBUREL/Qt4-0.99.0.tar.bz2 CPAN.pm needs the external program bzip2 in order to handle 'C:\Perl64 +\cpan\sour ces\authors\id\C\CB\CBUREL\Qt4-0.99.0.tar.bz2'. Please install it now and run 'o conf init bzip2' from the CPAN shell prompt to register it as external program. cpan> o conf init bzip2 C:\Program Files (x86)\GnuWin32\bin 'C:Program' is not a valid configuration variable
I downloaded the bzip2 and i am following this http://www.thegeekstuff.com/2008/12/how-to-resolve-cpanpm-needs-tar-gzip-and-bzip2-installed-error-message/ And here is where I'm stuck, do you have any tips or recommendations regarding what to do to set up the bzip? thanks guys.

Replies are listed 'Best First'.
Re: adding perlQt ask for bzip2
by Khen1950fx (Canon) on Apr 23, 2013 at 05:07 UTC
    Welcome to Perl, pelos! First, when you do o conf init, don't forget to give the absolute path. For example:
    cpan>o conf init bzip2 C:\Program Files (x86)\GnuWin32-bin/bzip2
    Then run o conf commit:
    cpan>o conf commit
    Note that you will also need to download and install the external program QT4. You might enjoy Perl/Tk more than Qt4. It's also much easier to install and use. Good luck!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2016-06-25 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.