From: Emmanuel. M. D. <em...@sc...> - 2001-12-14 20:56:35
|
Hello, I have installed WxWindow (wxMAC-2.3.2) with success (I think) on OS X 10.1.1, but WxPerl fail to install. This is on G4 400 AGP with 320 MB of RAM. I tried from CPAN.pm or from the sources that I got here: <http://prdownloads.sourceforge.net/wxperl/Wx-0.08.tar.gz> Here's the what I get back for the tests. >mem: ~/Telechargement/Wx-0.08 % make test >make[1]: Nothing to be done for `all'. >make[1]: Nothing to be done for `all'. >PERL_DL_NONLAZY=3D1 /usr/bin/perl -Iblib/arch -Iblib/lib >-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use >Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests @ARGV;' >t/*.t >t/1_load...........ClassInfo initialization failed 'wxTimer' at >/System/Library/Perl/darwin/DynaLoader.pm line 200. >Compilation failed in require at t/1_load.t line 6. >BEGIN failed--compilation aborted at t/1_load.t line 6. >t/1_load...........dubious = > Test returned status 255 (wstat 65280, 0xff00) >DIED. FAILED test 1 > Failed 1/1 tests, 0.00% okay >t/2_inheritance....ClassInfo initialization failed 'wxTimer' at >/System/Library/Perl/darwin/DynaLoader.pm line 200. >Compilation failed in require at t/2_inheritance.t line 4. >BEGIN failed--compilation aborted at t/2_inheritance.t line 4. >t/2_inheritance....dubious = > Test returned status 255 (wstat 65280, 0xff00) >t/3_event..........ClassInfo initialization failed 'wxTimer' at >/System/Library/Perl/darwin/DynaLoader.pm line 200. >Compilation failed in require at t/3_event.t line 9. >BEGIN failed--compilation aborted at t/3_event.t line 9. >t/3_event..........dubious = > Test returned status 255 (wstat 65280, 0xff00) >DIED. FAILED test 1 > Failed 1/1 tests, 0.00% okay >t/4_userdata.......ClassInfo initialization failed 'wxTimer' at >/System/Library/Perl/darwin/DynaLoader.pm line 200. >Compilation failed in require at t/4_userdata.t line 9. >BEGIN failed--compilation aborted at t/4_userdata.t line 9. >t/4_userdata.......dubious = > Test returned status 255 (wstat 65280, 0xff00) >DIED. FAILED tests 1-5 > Failed 5/5 tests, 0.00% okay >Failed Test Stat Wstat Total Fail Failed List of Failed >---------------------------------------------------------------------------= ---- >t/1_load.t 255 65280 1 1 100.00% 1 >t/2_inheritance.t 255 65280 ?? ?? % ?? >t/3_event.t 255 65280 1 1 100.00% 1 >t/4_userdata.t 255 65280 5 5 100.00% 1-5 >Failed 4/4 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay. >make: *** [test_dynamic] Error 2 Each test seems to fail on the line: "use Wx;" So, what should I do to test that WxWindows was properly builds and to be able to install WxPerl. TIA -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emmanuel D=E9carie - Consultant Programmation pour le Web - Programming for the Web UserLand Frontier - Perl - JavaScript - AppleScript - HTML - XML http://www.scriptdigital.com ---> The Frontier Newbie Toolbox: <http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html> |
From: Emmanuel. M. D. <em...@sc...> - 2001-12-15 00:51:28
|
Hello Mattia, thanks for the reply. Mattia said: >To test wxWindows, just > >cd path_to_wx_build_dir/samples/minimal >make >./minimal Hmm, that's odd. When I do so, I get this: >mem: ~/Telechargement/wxMAC-2.3.2/samples/minimal % make ./minimal >g++ minimal.cpp -o minimal >make: g++: Command not found >make: *** [minimal] Error 127 I don't have g++ and I see that gcc is symlinked to cc, so I symlinked g++ to cc in /usr/bin. Now I get this when I run the command make ./minimal: >~/Telechargement/wxMAC-2.3.2/samples/minimal >mem: ~/Telechargement/wxMAC-2.3.2/samples/minimal % make ./minimal >g++ minimal.cpp -o minimal >In file included from /usr/local/include/wx/defs.h:23, > from /usr/local/include/wx/wxprec.h:13, > from minimal.cpp:21: >/usr/local/include/wx/platform.h:62: wx/setup.h: No such file or directory >In file included from /usr/local/include/wx/debug.h:17, > from /usr/local/include/wx/defs.h:298, > from /usr/local/include/wx/wxprec.h:13, > from minimal.cpp:21: >/usr/local/include/wx/wxchar.h:400: warning: `_T' redefined >/usr/include/ctype.h:82: warning: this is the location of the >previous definition >/usr/local/include/wx/wxchar.h:455: #error "Please define string >case-insensitive compare for your OS/compiler" >In file included from /usr/local/include/wx/memory.h:20, > from /usr/local/include/wx/object.h:20, > from /usr/local/include/wx/wx.h:16, > from minimal.cpp:30: >/usr/local/include/wx/string.h:170: #error "Please define string >case-insensitive compare for your OS/compiler" >In file included from /usr/local/include/wx/wx.h:22, > from minimal.cpp:30: >/usr/local/include/wx/log.h:19: wx/setup.h: No such file or directory >In file included from /usr/local/include/wx/event.h:28, > from /usr/local/include/wx/wx.h:23, > from minimal.cpp:30: >/usr/local/include/wx/thread.h:21: wx/setup.h: No such file or directory >make: *** [minimal] Error 1 I have a lot of header files at /usr/local/include/wx. TIA ps: I'm on the digest, but I check the archive on the web to see if there is more developments to this query. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emmanuel D=E9carie - Consultant Programmation pour le Web - Programming for the Web UserLand Frontier - Perl - JavaScript - AppleScript - HTML - XML http://www.scriptdigital.com ---> The Frontier Newbie Toolbox: <http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html> |
From: Emmanuel. M. D. <em...@sc...> - 2001-12-15 01:04:29
|
>I don't have g++ and I see that gcc is symlinked to cc, so I >symlinked g++ to cc in /usr/bin. I tried also with g++ symlinked to c++ and I get exactly the same errors. I'm not an Unix guru, so I don' t understand what's happening here. TIA -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emmanuel D=E9carie - Consultant Programmation pour le Web - Programming for the Web UserLand Frontier - Perl - JavaScript - AppleScript - HTML - XML http://www.scriptdigital.com ---> The Frontier Newbie Toolbox: <http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html> |
From: Mattia B. <mb...@ds...> - 2001-12-15 08:38:16
|
> Hello Mattia, thanks for the reply. > > Mattia said: > >To test wxWindows, just > > > >cd path_to_wx_build_dir/samples/minimal > >make > >./minimal > > Hmm, that's odd. When I do so, I get this: > > >mem: ~/Telechargement/wxMAC-2.3.2/samples/minimal % make ./minimal do not do "make ./minimal", just "make" and then run the resulting program ./minimal ( or maybe it has some extension in Mac ) ( I don't know if it makes any difference, but just try ) > >g++ minimal.cpp -o minimal > >make: g++: Command not found > >make: *** [minimal] Error 127 > > I don't have g++ and I see that gcc is symlinked to cc, so I > symlinked g++ to cc in /usr/bin. this should not be necessay, but it does not hurt, neither > Now I get this when I run the command make ./minimal: > > >~/Telechargement/wxMAC-2.3.2/samples/minimal > >mem: ~/Telechargement/wxMAC-2.3.2/samples/minimal % make ./minimal > >g++ minimal.cpp -o minimal > >In file included from /usr/local/include/wx/defs.h:23, <snip> > >/usr/local/include/wx/thread.h:21: wx/setup.h: No such file or directory > >make: *** [minimal] Error 1 > > I have a lot of header files at /usr/local/include/wx. Regards Mattia |