David Cantrell wrote:
Hi,
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 :-)
My bad, I should have updated INSTALL.pod:
0.60 Sat Nov 11 16:48:57 CET 2006
<snip>
- Removed support for wxWidgets 2.4. Supports 2.5.3 and above.
Sorry for the wasted time :-(
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
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.
It matters becaus A::wx is the interface to getting the
compilation flags for wxWidgets.
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.
Makefile.PL vs. ext/Makefile.PL
======================================================================
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?
Yes: Alien::wxWidgets is required when running Makefile.PL,
so if it is missing, a re-run of Makefile.PL is forced. It would
have been smarter on my part to also print an explanation message
when this is detected...
Regards,
Mattia