Has anyone built wxWidgets 2.8.10 on cygwin?

My attempt at building Alient::wxWidgets resulted in:

   % perl Build
   Subroutine version::qv redefined at inc/version.pm line 18.
   Building Alien-wxWidgets
   'base' library not found: can't use wxWidgets
   'core' library not found: can't use wxWidgets
   'richtext' library not found: some functionality will be missing
   'aui' library not found: some functionality will be missing
   'stc' library not found: some functionality will be missing
   'gl' library not found: some functionality will be missing
   'net' library not found: some functionality will be missing
   'html' library not found: some functionality will be missing
   'xml' library not found: some functionality will be missing
   'media' library not found: some functionality will be missing
   'xrc' library not found: some functionality will be missing
   'adv' library not found: some functionality will be missing

Backgrpound:

wxWidgets was built with gcc 4.4.0 in /usr/local. PATH contains /usr/local/bin and /usr/local/lib. The wxWidget demos such bomb and life work quite well.

% wx-config --list

    Default config is msw-ansi-release-2.8
    Default config will be used for output

% perl -MAlien::wxWidgets=:dump -e 42

$VAR1 = {
          'compiler_kind' => 'gcc',
          'version' => '2.008010',
          'build' => 'multi',
          'key' => 'msw_2_8_10_gcc_3_4',
          'package' => 'Alien::wxWidgets::Config::msw_2_8_10_gcc_3_4',
          'compiler_version' => '3.4',
          'mslu' => 0,
          'unicode' => 0,
          'toolkit' => 'msw',
          'debug' => 0
        };

If I understand the naming conventions here, Alien::wxWidgets would appears to think wxWidgets was compiled with gcc 3.4 rather than 4.4:


% gcc --version

   gcc (GCC) 4.4.0
   Copyright (C) 2009 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There
   is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE.

% build : g++ --version

   g++ (GCC) 4.4.0
   Copyright (C) 2009 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There
   is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE.

And the generated configuration package is somewhat sparse with no mention of the wxWidget libraries:


   package Alien::wxWidgets::Config::msw_2_8_10_gcc_3_4;

   use strict;

   our %VALUES;

   {
        no strict 'vars';
        %VALUES = %{
   $VAR1 = {
              'defines' => '-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
   -DWXUSINGDLL -D__WXMSW__ ',
              'include_path' =>
   '-I/usr/local/lib/wx/include/msw-ansi-release-2.8
   -I/usr/local/include/wx-2.8 ',
              'alien_package' =>
   'Alien::wxWidgets::Config::msw_2_8_10_gcc_3_4',
              'version' => '2.008010',
              'alien_base' => 'msw_2_8_10_gcc_3_4',
              'link_libraries' => ' -L/usr/local/lib',
              'c_flags' => '',
              '_libraries' => {},
              'compiler' => '/usr/local/bin/g++',
              'link_flags' => '',
              'linker' => '/usr/local/bin/g++ -shared  ',
              'config' => {
                            'compiler_version' => '3.4',
                            'compiler_kind' => 'gcc',
                            'mslu' => 0,
                            'toolkit' => 'msw',
                            'unicode' => 0,
                            'debug' => 0,
                            'build' => 'multi'
                          },
              'prefix' => '/usr/local'
            };
        };
   }

   my $key = substr __PACKAGE__, 1 + rindex __PACKAGE__, ':';

   sub values { %VALUES, key => $key }

   sub config {
       +{ %{$VALUES{config}},
          package       => __PACKAGE__,
          key           => $key,
          version       => $VALUES{version},
          }
   }

   1;

Reply via email to