Quote: "You have to change the Makefile in utils/wxrc to include Pango-Cairo, Cairo and X11"
Aha! I had changed the main Makefile, I didnt realise some deeper one would re-define that.
I made the fix, but that just moves along to another error:
[root@desktop buildgtk]# make
(if test -f utils/wxrc/Makefile ; then cd utils/wxrc && make all ; fi)
make: Entering directory `/usr/src/wxWidgets-2.9.0/buildgtk/utils/wxrc'
g++ -o wxrc wxrc_wxrc.o -L/usr/src/wxWidgets-2.9.0/buildgtk/lib -pthread -lexpat -lwx_gtk2ud-2.9 -lwxregexud-2.9 -pthread -lz -ldl -lm -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpng12 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -lXxf86vm -lSM -lpng -lz -ljpeg -ltiff -lz -ldl -lm
/usr/bin/ld: /usr/src/wxWidgets-2.9.0/buildgtk/lib/libwx_gtk2ud-2.9.a(monolib_displayx11.o): undefined reference to symbol 'XineramaIsActive'
/usr/bin/ld: note: 'XineramaIsActive' is defined in DSO /usr/lib/libXinerama.so.1 so try adding it to the linker command line
/usr/lib/libXinerama.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [wxrc] Error 1
make: Leaving directory `/usr/src/wxWidgets-2.9.0/buildgtk/utils/wxrc'
make: *** [wxrc] Error 2
Adding -lXinerama doesnt fixes that.
So thanks! Looks like it compiled.
As to using the distribution wxWidgets, it is the wrong version, one specifically said not to work. The one required is missing, I can yum the previous one and the latest one but not the required one.
EDIT: to make bitcoin compile I also had to add all those lib specifications to the makefile.unix - maybe not all were really needed but trying to pick and choose which was too painful, putting them all in worked.