[wx-dev] #9546: Linux wx-config troubles

wxTrac noreply at wxsite.net
Sat Jun 7 06:14:40 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/9546>

#9546: Linux wx-config troubles
-------------------------+--------------------------------------------------
 Reporter:  bubla        |       Owner:       
     Type:  build error  |      Status:  new  
 Priority:  normal       |   Milestone:       
Component:  build        |     Version:  2.8.7
 Keywords:               |   Blockedby:       
    Patch:  0            |    Blocking:       
-------------------------+--------------------------------------------------
 wx-config seems to have broken --prefix and --host arguments

 wx-config does not behave according to expectations. This is a problem
 when attempting cross-compilation
 For instance,

 wx-config --prefix /usr/i486-mingw32 --host i486-mingw32
 throws
   *** Error: Unrecognised option: '--host'
 Use wx-config --help for information on command line options.

 and
 wx-config --prefix /usr/i486-mingw32 --host=i486-mingw32
 throws
   Warning: No config found to match: /usr/bin/wx-config --prefix
 /usr/i486-mingw32 --host=i486-mingw32
            in /usr/lib/wx/config
 The files are, however, located in /usr/i486-mingw32/lib/wx/config
 Running /usr/i486-mingw32/bin/wx-config solves the problem, but that wx-
 config doesn't see the Linux WXGTK :-)

 I don't know why, but the result is that the AM_PATH_WXCONFIG macro in
 configure script does not detect that mingw wxWidgets build.
 Any ideas?

 Using wx-config version 2.8.7 (both Linux and mingw)
 Distribution: Arch Linux


--
Ticket URL: <http://trac.wxwidgets.org/ticket/9546>


More information about the wx-dev mailing list