Thread: wxWidgets version# update (v2.5 --> v2.6) --> pgadmin3 fails @ config check for 'stc' 'ogl'

hi all,

i just updated to latest wxWidgets HEAD, which is now reporting as v2.6, rather
than previouly as v2.5, and building/installing; changed sometime today ...

% ls -al /usr/local/wxWidgets-cvs/bin
    total 1460
    drwxr-xr-x  5 root    admin     170 Apr 11 17:59 .
    drwxr-xr-x  6 root    admin     204 Apr 11 17:59 ..
    lrwxr-xr-x  1 root    admin      69 Apr 11 17:59 wx-config ->
/usr/local/wxWidgets-cvs/lib/wx/config/mac-unicode-release-static-2.6
    lrwxr-xr-x  1 root    admin       8 Apr 11 17:59 wxrc -> wxrc-2.6
    -rwxr-xr-x  1 blakers wheel 1485428 Apr 11 17:56 wxrc-2.6

% ls -ald /usr/local/wxWidgets-cvs/include/wx-2.6/
    drwxr-xr-x  3 root admin 102 Apr 11 17:59
/usr/local/wxWidgets-cvs/include/wx-2.6/


there need to be some parallel changes in pgadmin3, currently referencing
"2.5", otherwise installed wxWidgets includes aren't found in config checks for
'stc;' & 'ogl', i.e. --

% grep -rln "wx-2.5".
    ./acinclude.m4
% grep "wx-2.5" acinclude.m4
  if test ! -f "${WX_HOME}/include/wx-2.5/wx/wx.h"
            if test ! -f "${WX_HOME}/include/wx-2.5/wx/wx.h"
        CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -I${WX_HOME}/include/wx-2.5"
        if test ! -f "${WX_HOME}/include/wx-2.5/wx/version.h"
        if test ! -f "${WX_HOME}/include/wx-2.5/wx/stc/stc.h"
        if test ! -f "${WX_HOME}/include/wx-2.5/wx/ogl/ogl.h"

% perl -pi -e 's/wx-2.5/wx-2.6/g' acinclude.m4

% grep "wx-2.5" acinclude.m4
% grep "wx-2.6" acinclude.m4
     if test ! -f "${WX_HOME}/include/wx-2.6/wx/wx.h"
         if test ! -f "${WX_HOME}/include/wx-2.6/wx/wx.h"
     CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -I${WX_HOME}/include/wx-2.6"
     if test ! -f "${WX_HOME}/include/wx-2.6/wx/version.h"
     if test ! -f "${WX_HOME}/include/wx-2.6/wx/stc/stc.h"
     if test ! -f "${WX_HOME}/include/wx-2.6/wx/ogl/ogl.h"

richard


Re: wxWidgets version# update (v2.5 --> v2.6) -->

From
Andreas Pflug
Date:
OpenMacNews wrote:
> hi all,
>
> i just updated to latest wxWidgets HEAD, which is now reporting as v2.6,
> rather than previouly as v2.5, and building/installing; changed sometime
> today ...

We should wait a bit to update our sources for 2.6, to avoid breakage of
our nightly builds. OTOH, it's a good idea to test wx CVS to notice
possible last minute problems invented in wx before 2.6 is frozen. I'd
really like pgAdmin3 to use vanilla 2.6, without any fixes.

so please continue testing wx CVS, we'll use 2.6 as soon as it is
released (which will be RSN).

Regards,
Andreas

Re: wxWidgets version# update (v2.5 --> v2.6) -->

From
OpenMacNews
Date:
hi andreas,

>> i just updated to latest wxWidgets HEAD, which is now reporting as v2.6,
>> rather than previouly as v2.5, and building/installing; changed sometime
>> today ...
>
> We should wait a bit to update our sources for 2.6, to avoid breakage of our
> nightly builds. OTOH, it's a good idea to test wx CVS to notice possible last
> minute problems invented in wx before 2.6 is frozen. I'd really like pgAdmin3
> to use vanilla 2.6, without any fixes.
>
> so please continue testing wx CVS, we'll use 2.6 as soon as it is released
> (which will be RSN).

although wx-2.6 CVS builds w/o error on OSX 10.3.8, a subsequent pgadmin3 make
dies w/ HUNDREDS of 'undefined symbol' warnings referencing "wx*" symbols.

although i'd made some testing changes in acinlcude.m4 to reference the 2.6 dir
tree, and get me past the config checks:

  % perl -pi -e 's/wx-2.5/wx-2.6/g' acinclude.m4
  % perl -pi -e 's/2.5\*\)/2.6\*\)/g' acinclude.m4
  % perl -pi -e 's/WX_VERSION="2.5"/WX_VERSION="2.6"/g' acinclude.m4


i'd venture i've missed some lib/include refs elsewhere ...

i'll see what i can blindly find, but i'd gather you'd know better what
changes/preparations need to be made for the "2.6" vs "2.5" references.

cheers,

richard

Re: wxWidgets version# update (v2.5 --> v2.6) -->

From
Andreas Pflug
Date:
OpenMacNews wrote:

> hi andreas,
>
> although wx-2.6 CVS builds w/o error on OSX 10.3.8, a subsequent
> pgadmin3 make dies w/ HUNDREDS of 'undefined symbol' warnings
> referencing "wx*" symbols.
>
> although i'd made some testing changes in acinlcude.m4 to reference
> the 2.6 dir tree, and get me past the config checks:
>
>  % perl -pi -e 's/wx-2.5/wx-2.6/g' acinclude.m4
>  % perl -pi -e 's/2.5\*\)/2.6\*\)/g' acinclude.m4
>  % perl -pi -e 's/WX_VERSION="2.5"/WX_VERSION="2.6"/g' acinclude.m4
>
>
> i'd venture i've missed some lib/include refs elsewhere ...
>
> i'll see what i can blindly find, but i'd gather you'd know better
> what changes/preparations need to be made for the "2.6" vs "2.5"
> references.
>
Well actually I don't know the build stuff in-deep, but basically the
libs should come from wx-config's output, so you maybe grab a wrong
version of that.

Regards,
Andreas