From: Christian J. <chr...@sl...> - 2001-10-07 22:00:43
|
Hi Mattia and all We've done a first attempt compiling wxPerl on MacOSX. 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. - 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 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' Note (probably harmless): No library found for -lwxxrc 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? Christian. -- Christian Jaeger Programmer & System Engineer +41 1 430 45 26 ETHLife CMS Project - warehouse.ch/ethlife/www - www.ethlife.ethz.ch |