Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Problem installing Wx::TreeListCtrl (solved!)

by isync (Hermit)
on Jan 27, 2013 at 16:32 UTC ( #1015578=perlquestion: print w/ replies, xml ) Need Help??
isync has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am encountering a stange error on a fairly fresh install of Ubuntu 12.04.1 32bit when I try to install Wx::TreeListCtrl 0.13 via cpan:
$ sudo cpan Wx::TreeListCtrl CPAN: Storable loaded ok (v2.27) Going to read '/home/isync/.cpan/Metadata' Database was generated on Sun, 27 Jan 2013 16:06:54 GMT Running install for module 'Wx::TreeListCtrl' Running make for M/MD/MDOOTSON/Wx-TreeListCtrl-0.13.tar.gz CPAN: Digest::SHA loaded ok (v5.61) CPAN: Compress::Zlib loaded ok (v2.033) Checksum for /home/isync/.cpan/sources/authors/id/M/MD/MDOOTSON/Wx-Tre +eListCtrl-0.13.tar.gz ok CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.112621) CPAN: Module::CoreList loaded ok (v2.49_02) CPAN.pm: Going to build M/MD/MDOOTSON/Wx-TreeListCtrl-0.13.tar.gz Writing 'cpp/ovl_const.h'. Writing 'cpp/ovl_const.cpp'. Searching configuration for: wxWidgets (any version) for (any toolkit); compiler compatibility: (an +y compiler) (any version); Available configurations: wxWidgets 2.008012 for gtk2; compiler compatibility: gcc 3.4; options: + no debug, unicode, no mslu Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] CPAN: YAML loaded ok (v0.84) MDOOTSON/Wx-TreeListCtrl-0.13.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determi +ne prerequisites
Any pointers?

Comment on Problem installing Wx::TreeListCtrl (solved!)
Download Code
Re: Problem installing Wx::TreeListCtrl
by tobyink (Abbot) on Jan 27, 2013 at 17:51 UTC

    You could try manually downloading the tarball and then running...

    tar zxfv Wx-TreeListCtrl-0.13.tar.gz cd Wx-TreeListCtrl perl Makefile.PL make make test sudo make install

    FWIW, I just installed Wx-TreeListCtrl-0.13 on my Ubuntu 12.10 box (running Perl 5.16.2 via perlbrew) and it had no problems.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
      Did that. Makefile configure failed with same error. make then had no make-file.

      And I know this *should* work. I've got another machine, same Ubuntu, and it has the module happily installed... Seems to be related to the mix of cpan and apt-get installed modules...
Re: Problem installing Wx::TreeListCtrl
by isync (Hermit) on Jan 27, 2013 at 18:59 UTC
    Interesting...
    I had Wx installed via apt-get, at least I thought so, as I remembered it to fail via cpan. Then running "sudo cpan -i Wx" again, ran through and compiled fine.
    Doing "cpan -i Wx::TreeListCtrl" then, succeeded as well: So, as it seems, the system simply was lacking Wx....

    *facepalm*

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-12-25 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls