On Sun, Nov 29, 2009 at 1:57 PM, Mattia Barbon <mattia.bar...@libero.it> wrote:
> Gabor Szabo wrote:
>
>  Hi,
>
>> Now I moved it to an Ubuntu 9.04 and I get the following error:
>>
>> Can't load
>> '/home/gabor/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/i686-linux-thread-multi/auto/Wx/Wx.so'
>> for module Wx: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not
>> found (required by
>>
>> /home/gabor/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/i686-linux-thread-multi/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu-2.8.so.0)
>> at
>> /home/gabor/perl-5.10.1-xl-0.01/perl/lib/5.10.1/i686-linux-thread-multi/DynaLoader.pm
>> line 200. at
>> /home/gabor/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/Padre/Splash.pm
>> line 12
>>  This is where my knowledge of C compilation and linking ends.
>
>  You are linking with a recent libstdc++, and the older system does not have
> it.

Can I somehow include it in my distribution?


I tried to build Alien::wxWidgets and link it statically - in the following way:

$ perl Build.PL --wxWidgets-static


but after lots of comiplation I got several such warnings:

 Warning: No config found to match:
/tmp/pWc2oOF0NK/Alien-wxWidgets-0.46/wxWidgets-2.8.10/bld/lib/wx/config/gtk2-unicode-release-2.8
--static --cxx
           in 
/home/szabgab/.perldist_xl/perl-5.10.1-xl-0.01/perl/lib/site_perl/5.10.1/i686-linux-thread-multi/Alien/wxWidgets/gtk_2_8_10_uni/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


and it ended with this message:

Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 97.
system failed with 256
Done


>
>> Do I need to configure further environment variables or are there more
>> files I need to package from the build machine or do I need to
>> compile and link wxWidgets and wxPerl in a different way?
>
>  The easiest way is to perform the build on the _oldest_ platform you want
> to support and then check the binary on all the newest platforms,

In the meantime I am also trying to build it on Ubuntu 6.04 but it is a bit more
difficult.

Gabor

Reply via email to