From: Mattia B. <mb...@ds...> - 2001-10-08 20:22:10
|
Forgot to reply-all ------- Forwarded message follows ------- From: Mattia Barbon <mb...@ds...> To: Christian Jaeger <chr...@sl...> Subject: Re: [wxperl-users] wxPerl-MacOSX compile Send reply to: mb...@ds... Date sent: Mon, 8 Oct 2001 02:37:33 +0200 > Hi Mattia and all > > We've done a first attempt compiling wxPerl on MacOSX. Great! > wxWindows (from CVS from Sept. 14th) installed fine. The wxWindows > examples work. > > Then fetched wxPerl (the CVS snapshot from some days ago, $Wx::VERSION > == 0.08): > > - There's no g++ on MacOSX, only c++ (it's gcc all the same :-/). So > changed build/Any_wx_config.pm. Will change in CVS. > - It didn't find wx/mac/*.h and wx/chkconfig.h, for some reason they did > not install - so did a manual cp from the wxWindows source to > /usr/local/include > - Now there are still warnings on `perl Makefile.PL': > > [localhost:/wxWin/wxPerl] philipp% perl Makefile.PL > Checking if your kit is complete... > Warning: the following files are missing in your kit: > demo/data/locale/en/wxperl_demo.mo > demo/data/locale/en/wxperl_demo.po.poedit > demo/data/locale/fr/wxperl_demo.mo > demo/data/locale/fr/wxperl_demo.po.poedit > demo/data/locale/it/wxperl_demo.mo > demo/data/locale/it/wxperl_demo.po.poedit My fault; they should not be there > Please inform the author. > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Writing Makefile for Wx::MDI > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Writing Makefile for Wx::DND > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Writing Makefile for Wx::Html > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Writing Makefile for Wx::Help > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Writing Makefile for Wx::FS > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' > Writing Makefile for Wx::Print > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'Carbon' > Unrecognized argument in LIBS ignored: '-framework' > Unrecognized argument in LIBS ignored: 'System' This might or might not be harmless; they seem to be linker flags; if a plain perl Makefile.PL fails to link, using perl Makefile.PL EXTRA_LIBS="-framework Carbon -framework System" might help > Note (probably harmless): No library found for -lwxxrc go in 'directory-where-you-built-wx'/contrib/src/xrc and do make && make install > Writing Makefile for Wx::XRC > Writing Makefile for Wx > > [localhost:/wxWin/wxPerl] philipp% make > ... > ... > /usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl > /System/Library/Perl/ExtUtils/xsubpp -C++ -noprototypes -typemap > /System/Library/Perl/ExtUtils/typemap -typemap ../../typemap -typemap > typemap MDI.xs > MDI.xsc && mv MDI.xsc MDI.c > c++ -c -I../.. -I/usr/local/include -I/usr/local/lib/wx/include -I. > -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" > -I/System/Library/Perl/darwin/CORE -DWXPL_EXT -D__USE_WXCONFIG__ > -D__WXMAC__ -D__UNIX__ -D__DARWIN__ -D__POWERPC__ -DTARGET_CARBON MDI.c > In file included from MDI.xs:15: > /usr/local/include/wx/defs.h:359: declaration does not declare anything > MDI.c: In function `void XS_Wx__MDIParentFrame_GetWindowMenu(CV *)': > MDI.c:242: no matching function for call to > `wxMDIParentFrame::GetWindowMenu ()' > MDI.c: In function `void XS_Wx__MDIParentFrame_SetWindowMenu(CV *)': > MDI.c:263: no matching function for call to > `wxMDIParentFrame::SetWindowMenu (Wx_Menu *&)' > make[1]: *** [MDI.o] Error 1 > make: *** [subdirs] Error 2 > > How to go on? The last error is some unimplemented wxWindows' function. Just issue a make -k >make.log 2>&1 and send the resultimg make.log privately to me ( no need to clutter the list ). If you know what you are doing, you might add #if !defined(__WXMAC__) Wx_Menu* Wx_MDIParentFrame::GetWindowMenu() #endif ( in ext/mdi/XS/MDIParentFrame.xs ) and any other missing function Otherwise I'll do it once I have the log Thanks for your work! Mattia ------- End of forwarded message ------- |
From: Christian J. <chr...@sl...> - 2001-10-30 13:15:02
|
Hello all Sorry that I haven't reported back yet. Unfortunately I haven't had time to investigate the issue further, since I haven't a MacOSX installation myself and my colleague who has has been busy with other work, we have set back wxperl for the moment because two guys have offered to write our app in C++ (but then they seem to take ages to respond again, so it's still not sure we won't get back to wxperl either). Christian. At 10:10 Uhr +0200 8.10.2001, Mattia Barbon wrote: >This might or might not be harmless; they seem to be linker >flags; if a plain >perl Makefile.PL fails to link, using >perl Makefile.PL EXTRA_LIBS="-framework Carbon -framework System" >might help > > > Note (probably harmless): No library found for -lwxxrc >go in 'directory-where-you-built-wx'/contrib/src/xrc and >do make && make install > > > How to go on? >The last error is some unimplemented wxWindows' function. >Just issue a > >make -k >make.log 2>&1 > >and send the resultimg make.log privately to me ( no need to clutter >the list ). If you know what you are doing, you might add > >#if !defined(__WXMAC__) > >Wx_Menu* >Wx_MDIParentFrame::GetWindowMenu() > >#endif > >( in ext/mdi/XS/MDIParentFrame.xs ) > >and any other missing function >Otherwise I'll do it once I have the log > >Thanks for your work! >Mattia |