On Tue, May 6, 2008 at 11:34 PM, Eric Wilhelm
<[EMAIL PROTECTED]> wrote:
> # from Gabor Szabo
>  # on Tuesday 06 May 2008:
>
>
> >Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 95.
>
>  What do you get for `wx-config --cxxflags`?
>
-I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread


>  Perhaps you need to also install the '...-dev' package.

If you mean libwxbase2.8-dev then it is installed.

If you meant libwxgtk2.8-dev then, it was not.
Now I installed it and the installation of Alien::wxWidgets went well.
It now installs in
/home/gabor/perl5lib/lib/perl/5.8.8/Alien/wxWidgets.pm
which is better but still not what all other modules do.

my humble understanding is that it somehow does not care about my
LIB= parameter for Makemaker.PL
or the following param of Build.PL:
--install_path lib=/home/gabor/perl5lib/lib

With those parameters all other modules install directly
in /home/gabor/perl5lib/lib  (not the internal 5.8.8 specific directory)

This creates a problem when installing using CPAN.pm as even after the
successful installation of Alien::wxWidgets the installation of Wx won't find
the already installed Alien::wxWidgets.

I fixed that for myself by adding /home/gabor/perl5lib/lib/perl/5.8.8/
to PERL5LIB

===============
Now onto installing Wx (note the firts line after Looks good)


[EMAIL PROTECTED]:~/Wx-0.82$ perl Makefile.PL PREFIX=/home/gabor/perl5lib
LIB=/home/gabor/perl5lib/lib
Checking if your kit is complete...
Looks good
'WX' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lwx_gtk2_adv-2.8
Note (probably harmless): No library found for -lwx_gtk2_core-2.8
Note (probably harmless): No library found for -lwx_base-2.8
Note (probably harmless): No library found for -lwx_gtk2_adv-2.8
Note (probably harmless): No library found for -lwx_gtk2_html-2.8
Note (probably harmless): No library found for -lwx_gtk2_core-2.8
Note (probably harmless): No library found for -lwx_base_net-2.8
Note (probably harmless): No library found for -lwx_base-2.8
Note (probably harmless): No library found for -lwx_gtk2_richtext-2.8
Note (probably harmless): No library found for -lwx_gtk2_html-2.8
Note (probably harmless): No library found for -lwx_gtk2_adv-2.8
Note (probably harmless): No library found for -lwx_gtk2_core-2.8
Note (probably harmless): No library found for -lwx_base-2.8
...


$ make
...
3233 lines of error messages during compilation before it gives it up.

I'll continue my research later but if someone has ideas
what am I doing wrong or why it is so difficult to start using Wx on Ubuntu
I'd be glad to hear it.


Gabor

Reply via email to