Hi,

You are aware that the 2.9 branch of wxWidgets is still experimental?

Anyhow, remove your private build from ldconf. It should not be there. It is a private build. Then try a Wx build.

You might also like to export the current svn for Alien::wxWidgets which will allow you to build wxWidgets 2.9.2. I've tested this on CentOS 5 so you should be good with CentOS 6.

svn export https://wxperl.svn.sourceforge.net/svnroot/wxperl/Alien-wxWidgets/trunk Alien-wxWidgets

If you are new to wxPerl + wxWidgets, you really ought to try with wxWidgets 2.8.12 first.

Note: current svn for Alien::wxWidgets will build 2.9.2 for Linux / Mac OSX - but there are still build issues to be resolved for Windows.


Regards

Mark




On 14/07/2011 09:16, Robin Cragg wrote:


Hi,



I am trying to compile Wx for wxWidgets 2.9.1 on CentOS  6. I have downloaded 
Alien::wxWidgets and Wx from CPAN. Running the install for  Alien, I chose to 
download and install wxWidgets 2.9.1. Everything built,  tested and installed 
fine. I added the new private build of wxWidgets into  ldconf and can see the 
libraries are visible:



[root@dev Wx-0.9901-kPod7h]# ldconfig -p | grep -i wx

          libwx_gtk2u_xrc-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_xrc-2.9.so.1

          libwx_gtk2u_xrc-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_xrc-2.9.so

          libwx_gtk2u_stc-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_stc-2.9.so.1

          libwx_gtk2u_stc-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_stc-2.9.so

          libwx_gtk2u_richtext-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_richtext-2.9.so.1

          libwx_gtk2u_richtext-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_richtext-2.9.so

          libwx_gtk2u_ribbon-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_ribbon-2.9.so.1

          libwx_gtk2u_ribbon-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_ribbon-2.9.so

          libwx_gtk2u_qa-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_qa-2.9.so.1

          libwx_gtk2u_qa-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_qa-2.9.so

          libwx_gtk2u_propgrid-2.9.so.1 (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_propgrid-2.9.so.1

          libwx_gtk2u_propgrid-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_propgrid-2.9.so

          libwx_gtk2u_html-2.9.so.1 (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_html-2.9.so.1

          libwx_gtk2u_html-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_html-2.9.so

         libwx_gtk2u_core-2.9.so.1  (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_core-2.9.so.1

          libwx_gtk2u_core-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_core-2.9.so

         libwx_gtk2u_aui-2.9.so.1  (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_aui-2.9.so.1

          libwx_gtk2u_aui-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_aui-2.9.so

          libwx_gtk2u_adv-2.9.so.1 (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_adv-2.9.so.1

          libwx_gtk2u_adv-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_gtk2u_adv-2.9.so

          libwx_baseu_xml-2.9.so.1 (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_baseu_xml-2.9.so.1

          libwx_baseu_xml-2.9.so (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_baseu_xml-2.9.so

          libwx_baseu_net-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_baseu_net-2.9.so.1

          libwx_baseu_net-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_baseu_net-2.9.so

          libwx_baseu-2.9.so.1 (libc6) =>  
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_baseu-2.9.so.1

          libwx_baseu-2.9.so (libc6) =>   
/usr/local/lib/perl5/Alien/wxWidgets/gtk_2_9_1_uni/lib/libwx_baseu-2.9.so







When I run make in Wx, I get a raft of not in scope  messages and the install 
errors out. Were I building Wx from binaries, I would  think I had not 
installed a development library, but as Alien claimed to build  and install 
properly, I am a little puzzled. Here is the tail end of the  errors.



cpp/st_constants.cpp:1747: error:  ‘wxSTC_WS_VISIBLEAFTERINDENT’ was not 
declared in this scope

cpp/st_constants.cpp:1750: error: ‘wxSTC_YAML_COMMENT’  was not declared in 
this scope

cpp/st_constants.cpp:1751: error:  ‘wxSTC_YAML_DEFAULT’ was not declared in 
this scope

cpp/st_constants.cpp:1752: error:  ‘wxSTC_YAML_DOCUMENT’ was not declared 
in this scope

cpp/st_constants.cpp:1753: error: ‘wxSTC_YAML_ERROR’  was not declared in 
this scope

cpp/st_constants.cpp:1754: error:  ‘wxSTC_YAML_IDENTIFIER’ was not declared 
in this scope

cpp/st_constants.cpp:1755: error:  ‘wxSTC_YAML_KEYWORD’ was not declared in 
this scope

cpp/st_constants.cpp:1756: error: ‘wxSTC_YAML_NUMBER’  was not declared in 
this scope

cpp/st_constants.cpp:1758: error:  ‘wxSTC_YAML_OPERATOR’ was not declared 
in this scope

cpp/st_constants.cpp:1760: error:  ‘wxSTC_YAML_REFERENCE’ was not declared 
in this scope

cpp/st_constants.cpp:1761: error: ‘wxSTC_YAML_TEXT’  was not declared in 
this scope

STC.c: In function ‘void boot_Wx__STC(PerlInterpreter*,  CV*)’:

STC.c:102: warning: unused variable ‘Perl___notused’

make[2]: *** [STC.o] Error 1

make[2]: Leaving directory  `/root/.cpan/build/Wx-0.9901-kPod7h/ext/stc'

make[1]: *** [subdirs] Error 2

make[1]: Leaving directory  `/root/.cpan/build/Wx-0.9901-kPod7h/ext'

make: *** [subdirs] Error 2





Any suggestions as to  where to look or what is missing?







Robin




Reply via email to