From: Sam & L. S. <sam...@gm...> - 2007-02-17 18:03:58
|
I'm running Redhat Fedora Core 5 (FC5) and the Wx-0.67 'perl Makefile.PL' command complains about stc as follows. Please help me understand what's wrong. I was able to go back and install Wx-0.27 with no problems. [root@localhost Wx-0.67]# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Wx::Print Writing Makefile for Wx::DateTime Writing Makefile for Wx::Html Writing Makefile for Wx::Media Writing Makefile for Wx::Help Writing Makefile for Wx::XRC Writing Makefile for Wx::Grid Attempt to free unreferenced scalar: SV 0xa6aa3d8, Perl interpreter: 0x9ffa008 at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 190. ERROR from evaluation of /tmp/Wx-0.67/ext/Makefile.PL: ERROR from evaluation of /tmp/Wx-0.67/ext/stc/Makefile.PL: No such 'link' library: 'stc' at /tmp/Wx-0.67/build/Wx/build/MakeMaker.pm line 206 # Looks like your test died before it could output anything. ----------------------------------------------------- I've installed wxWidgets 2.6.2 from source, then installed the stc library from source. Here is the output from wx-config: [root@localhost Wx-0.67]# wx-config --libs stc -L/usr/local/lib -pthread -lwx_gtk2_stc-2.8 -lwx_base-2.8 ----------------------------------------------------- Here is a listing of the wx libs in /usr/local/lib: [root@localhost Wx-0.67]# ls /usr/local/lib/*wx* /usr/local/lib/libwx_base-2.6.so /usr/local/lib/libwx_base-2.6.so.0 /usr/local/lib/libwx_base-2.6.so.0.3.1 /usr/local/lib/libwx_base- 2.8.so /usr/local/lib/libwx_base-2.8.so.0 /usr/local/lib/libwx_base-2.8.so.0.0.0 /usr/local/lib/libwx_base_net-2.6.so /usr/local/lib/libwx_base_net-2.6.so.0 /usr/local/lib/libwx_base_net- 2.6.so.0.3.1 /usr/local/lib/libwx_base_net-2.8.so /usr/local/lib/libwx_base_net-2.8.so.0 /usr/local/lib/libwx_base_net-2.8.so.0.0.0 /usr/local/lib/libwx_base_xml- 2.6.so /usr/local/lib/libwx_base_xml-2.6.so.0 /usr/local/lib/libwx_base_xml-2.6.so.0.3.1 /usr/local/lib/libwx_base_xml-2.8.so /usr/local/lib/libwx_base_xml-2.8.so.0 /usr/local/lib/libwx_base_xml- 2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_adv-2.6.so /usr/local/lib/libwx_gtk2_adv-2.6.so.0 /usr/local/lib/libwx_gtk2_adv-2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_adv- 2.8.so /usr/local/lib/libwx_gtk2_adv-2.8.so.0 /usr/local/lib/libwx_gtk2_adv-2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_aui-2.8.so /usr/local/lib/libwx_gtk2_aui-2.8.so.0 /usr/local/lib/libwx_gtk2_aui- 2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_core-2.6.so /usr/local/lib/libwx_gtk2_core-2.6.so.0 /usr/local/lib/libwx_gtk2_core-2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_core- 2.8.so /usr/local/lib/libwx_gtk2_core-2.8.so.0 /usr/local/lib/libwx_gtk2_core-2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_html-2.6.so /usr/local/lib/libwx_gtk2_html-2.6.so.0 /usr/local/lib/libwx_gtk2_html- 2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_html-2.8.so /usr/local/lib/libwx_gtk2_html-2.8.so.0 /usr/local/lib/libwx_gtk2_html-2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_media- 2.6.so /usr/local/lib/libwx_gtk2_media-2.6.so.0 /usr/local/lib/libwx_gtk2_media-2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_qa-2.6.so /usr/local/lib/libwx_gtk2_qa-2.6.so.0 /usr/local/lib/libwx_gtk2_qa- 2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_qa-2.8.so /usr/local/lib/libwx_gtk2_qa-2.8.so.0 /usr/local/lib/libwx_gtk2_qa-2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_richtext- 2.8.so /usr/local/lib/libwx_gtk2_richtext-2.8.so.0 /usr/local/lib/libwx_gtk2_richtext-2.8.so.0.0.0 /usr/local/lib/libwx_gtk2_stc-2.6.so /usr/local/lib/libwx_gtk2_stc-2.6.so.0 /usr/local/lib/libwx_gtk2_stc-2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_xrc-2.6.so /usr/local/lib/libwx_gtk2_xrc-2.6.so.0 /usr/local/lib/libwx_gtk2_xrc-2.6.so.0.3.1 /usr/local/lib/libwx_gtk2_xrc- 2.8.so /usr/local/lib/libwx_gtk2_xrc-2.8.so.0 /usr/local/lib/libwx_gtk2_xrc-2.8.so.0.0.0 Thanks, Sam -- Sam and Lisa Skielnik |
From: Toxa <af-...@fr...> - 2007-02-20 14:44:39
|
hi is it normal, that your environment is configured for wx-2.8, but stc library is present for 2.6 only? I have the same problem with wxPerl-0.67 and wx-2.8 and the head revision as well (all the versions are coherent in my case). The only way to install 0.67 I found is by disabling the stc. Toxa. Sam & Lisa Skielnik wrote: > > I'm running Redhat Fedora Core 5 (FC5) and the Wx-0.67 'perl Makefile.PL' > command complains about stc as follows. Please help me understand what's > wrong. I was able to go back and install Wx-0.27 with no problems. > > ... > > Here is the output from wx-config: > [root@localhost Wx-0.67]# wx-config --libs stc > -L/usr/local/lib -pthread -lwx_gtk2_stc-2.8 -lwx_base-2.8 > > ... > > /usr/local/lib/libwx_gtk2_stc-2.6.so.0.3.1 > -- View this message in context: http://www.nabble.com/stc-library-not-found-while-trying-to-install-Wx-0.67-on-FC5-tf3245587.html#a9063032 Sent from the wxperl-users mailing list archive at Nabble.com. |
From: Toxa <af-...@fr...> - 2007-02-24 18:56:36
|
hi, Mark thank you for your reply! I build wx from cvs (head revision, as well as 2.8) and I build and install "stc" from the wx source tree. stc is installed on my system in the same directory as wx itself. But it looks like wxPerl does not detect it: ... Writing Makefile for Wx::XRC Writing Makefile for Wx::Grid Attempt to free unreferenced scalar: SV 0xfcb130, Perl interpreter: 0x503010 at /usr/local/share/perl/5.8.8/ExtUtils/MakeMaker.pm line 191. ERROR from evaluation of /nimble/src/wxPerl-0.67/ext/Makefile.PL: ERROR from evaluation of /nimble/src/wxPerl-0.67/ext/stc/Makefile.PL: No such 'link' library: 'stc' at /nimble/src/wxPerl-0.67/build/Wx/build/MakeMaker.pm line 206 # Looks like your test died before it could output anything. AF. -- View this message in context: http://www.nabble.com/stc-library-not-found-while-trying-to-install-Wx-0.67-on-FC5-tf3245587.html#a9136704 Sent from the wxperl-users mailing list archive at Nabble.com. |
From: Mark D. <mar...@zn...> - 2007-02-25 05:11:55
|
Hi, So what is in your Alien::wxWidgets directories? Are the required libraries there? Mark Toxa wrote: > > hi, Mark > > I build wx from cvs (head revision, as well as 2.8) and I build and install > "stc" from the wx source tree. > stc is installed on my system in the same directory as wx itself. > But it looks like wxPerl does not detect it: |
From: Mark D. <mar...@zn...> - 2007-02-23 22:15:17
|
Hi, Toxa wrote: > The only way to install 0.67 I found is by disabling the stc. The first question would be - have you actually built stc? Second, Wx now relies on Alien::wxWidgets which, amongst other things, will build wxWidgets nicely for you and give you independent wxWidgets libraries for wxPerl. Slight problem is that Alien::wxWidgets is currently attached to wxWidgets 2.6.3 - but this is easily fixed. 1.) Download source for Alien::wxWidgets. 2.) Replace file ....\patches\data with the attached file. 3.) Build Alien::wxWidgets with perl Build.PL perl Build perl Build test perl Build install When asked if you want to build wxWidgets, answer 'Yes' (THIS IS NOT THE DEFAULT) Go for coffee. Then build wx- 0.67 again. All should now be swimmingly fine. This works for me, but I have to follow the basic instructions and get Alien::wxWidgets to control the build process as I'm a linux novice. If you don't want to build a version of wxWidgets just for wxPerl, then I guess you'll have to figure out how to build STC properly. Regards Mark |
From: Mark D. <mar...@zn...> - 2007-02-23 22:18:49
Attachments:
data
|
Mark Dootson wrote: And once more, WITH attached file : -) |
From: Peter T. <pe...@Pe...> - 2007-02-25 22:13:37
|
I am displaying an IE window inside my Wx program. I am trying to find out the HTML/DOM element under the mouse, either by moving the mouse over elements or by clicking. I need some way for the user to identify an element visually and find out which element it is. I have a hunch that I could somehow put the IE window into 'Edit mode' and capture mouseOver events (or something), but no idea how I might follow up on that hunch. Or maybe I could force some javascript into the page that would catch mouseOver events, either all the time or modally, and write the element ID and NAME into the statusbar, then capture statusbar-changed events in ActiveX::IE... Any help? |