David Cantrell wrote:
I'm trying to build Wx-0.84 on Debian.  It doesn't seem to want to play,
and yes, I *have* read the INSTALL.pod, and googled for relevant mailing
list posts :-)
It's been a while since I build wxPerl on Debian so these are tips from
the top of the head.
I have wxWidgets installed:

  $ dpkg -l|grep wx
  ii  libwxgtk2.4-1-contrib             2.4.5.1.1
  ii  libwxgtk2.4-contrib-dev           2.4.5.1.1
  ii  libwxgtk2.4-dev                   2.4.5.1.1
  ii  wx2.4-headers                     2.4.5.1.1

2.4 is very old. I advice to find these packages for 2.8 (or at least 2.6)
This is what I used on Ubuntu:
$ sudo apt-get install libwxgtk2.8-dev
(This will also install libwxbase2.8.0 libwxbase2.8-dev libwxgtk2.8-0
wx2.8-headers)

running Makefile.PL says ...

$ ~/perl-5.10.0/bin/perl Makefile.PL Warning: prerequisite Alien::wxWidgets 0.25 not found.

I assume this doesn't matter because I've already got wxwidgets installed.
This does matter. It's the layer that tells wxPerl where wxwidgets is
(there can be multiple)
Alien::wxWidgets does offer to build wxWidgets for you but if you answer
"no" it will most likely find your installed version.
  Writing Makefile for Wx::Socket
  Writing Makefile for Wx::DND
  ...
  Writing Makefile for Wx::Perl::TextValidator
  Writing Makefile for Wx::Perl
  Writing Makefile for Wx
  Writing Makefile for Wx
It's a bit odd that it's writing that last Makefile twice.
Yes, I don't recall seeing that...
  ======================================================================
  For installation instructions and further help please see
  docs/INSTALL.pod ...
then when I 'make':

  $ make
  Makefile out-of-date with respect to you_better_rebuild_me
  Cleaning current config before rebuilding Makefile...
  make -f Makefile.old clean > /dev/null 2>&1
/home/cantrelld/perl-5.10.0/bin/perl Makefile.PL Checking if your kit is complete...
  Looks good
  Warning: prerequisite Alien::wxWidgets 0.25 not found.
  Writing Makefile for Wx::Socket
  Writing Makefile for Wx::DND
  ...
  Writing Makefile for Wx
  Writing Makefile for Wx
  ...
  ==> Your Makefile has been rebuilt. <==
  ==> Please rerun the make command.  <==
  false
  make: *** [Makefile] Error 1
  $

any ideas on what's going wrong here?

Hope it helps...

Cheers,
Huub

Reply via email to