Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 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 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1030034]
Approved by Corion
[oiskuu]: from each height difference, there's a fixed number of "moves right" - "moves left". So it's a number of combinations.
[Discipulus]: I already know how much distinct paths exists but to demonstrate the property i want to have them all
[oiskuu]: ie C(n, k); where n is height difference, k is position in the line
[Discipulus]: infact there are 70 distinct path to reach the tale wich holds 70
[Discipulus]: what i want is to compute them
[oiskuu]: You want to draw the path? $iter = combinations( $TOP_HEIGHT .. $NODE_HEIGHT, $pos); then get the path from the iter, level change at depth x, for(..) $pos += $level_change; something like that

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2018-03-19 11:05 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.