On Tue, May 6, 2008 at 10:06 AM, Huub Peters <[EMAIL PROTECTED]> wrote:
>  I'm not going to discuss whether Alien::wxWidgets should or should not
> download wxwidgets by itself but I think it is great that it offers this.
>  Anyway, as always in perl, there's more than one way to do it.

Yup. I don't know the considerations but maybe it would be better to include
all the necessary files in the Alien::wxWidgets distro  similarry to
what DBD::SQLite does.


>
>  Quick and easy on Ubuntu:
>
>  *Make sure your build environment is in order:*
>  $ sudo apt-get build-essential
>
>  *Install the wxWidgets dev package:*
>  $ sudo apt-get install libwxgtk2.8-dev
>  (This will also install: libwxbase2.8-0 libwxbase2.8-dev libwxgtk2.8-0
> wx2.8-headers)
>
>  Run cpan (I always upgrade CPAN on a fresh system but I think that's
> optional: "install Bundle::CPAN")
>
>  cpan> install Alien::wxWidgets
>
>  (Now the build question will default to [no ] because wxWidgets is already
> installed)

Thanks for the pointers.
Following the above (After installing  libwxbase2.8-dev) I get this:


Do you want to build wxWidgets? [no ]
no
Creating new 'Build' script for 'Alien-wxWidgets' version '0.35'
/usr/bin/perl Build --makefile_env_macros 1
Copying lib/Alien/wxWidgets/Utility.pm -> blib/lib/Alien/wxWidgets/Utility.pm
Copying lib/Alien/wxWidgets.pm -> blib/lib/Alien/wxWidgets.pm
Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 95.
make: *** [all] Error 9
  MBARBON/Alien-wxWidgets-0.35.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make


Gabor

Reply via email to