From: Mike S. <Mik...@Do...> - 2006-07-08 20:52:54
|
Wx-0.52 does fix the wxMediaCtrl compile issues, but here is a new one on OSX 10.4.7 -- I think all the other version numbers are below. Let me know if you need anything else... macbook:~/src/Wx-0.52 mike$ make g++ -c -I. -I. -I/Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/lib/wx/include/mac-ansi-release-2.6 -I/Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/include/wx-2.6 -UWX_PRECOMP -O3 -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA Wx.c Wx.c: In function 'void XS_Wx__Sound_CreateData(PerlInterpreter*, CV*)': Wx.c:10278: error: conversion from 'STRLEN' to 'const wxString' is ambiguous /Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/include/wx-2.6/wx/string.h:679: note: candidates are: wxString::wxString(const wchar_t*, wxMBConv&, size_t) <near match> /Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/include/wx-2.6/wx/string.h:674: note: wxString::wxString(const unsigned char*, size_t) <near match> /Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/include/wx-2.6/wx/string.h:649: note: wxString::wxString(const wxChar*) <near match> /Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/include/wx-2.6/wx/string.h:643: note: wxString::wxString(wxChar, size_t) /Library/Perl/5.8.6/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_6_3/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) make: *** [Wx.o] Error 1 |
From: Mattia B. <mat...@li...> - 2006-07-09 10:37:03
|
On Sat, 08 Jul 2006 14:52:44 -0600 Mike Schroeder <Mik...@Do...> wrote: Hi, > Wx-0.52 does fix the wxMediaCtrl compile issues, but here is a new one > on OSX 10.4.7 -- I think all the other version numbers are below. Let > me know if you need anything else... I just found and fixed the bug; I will commit the fix and release 0.53 in an hour or so. Thanks! Mattia |
From: Mike S. <Mik...@Do...> - 2006-07-09 22:47:21
|
Mattia Barbon wrote: > I just found and fixed the bug; I will commit the fix > and release 0.53 in an hour or so. > > Thanks Mattia -- one other thing I found in the generated Makefile -- it fails to create some needed directories at the end for the wxPerl generation for OSX. macbook:~/src/Wx-0.53 mike$ diff Makefile.org Makefile 1077a1078,1080 > mkdir -p cpp/wxPerl.osx/build/wxPerl.app > mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents > mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents/MacOS |
From: Mattia B. <mat...@li...> - 2006-07-15 09:25:52
|
On Sun, 09 Jul 2006 16:47:12 -0600 Mike Schroeder <Mik...@Do...> wrote: > Mattia Barbon wrote: > > I just found and fixed the bug; I will commit the fix > > and release 0.53 in an hour or so. > > > > > Thanks Mattia -- one other thing I found in the generated Makefile -- it > fails to create some needed directories at the end for the wxPerl > generation for OSX. > > macbook:~/src/Wx-0.53 mike$ diff Makefile.org Makefile > 1077a1078,1080 > > mkdir -p cpp/wxPerl.osx/build/wxPerl.app > > mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents > > mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents/MacOS ? These directories should be created by xcodebuild. Which directories are created instead? Thanks! Mattia |
From: Mike S. <Mik...@Do...> - 2006-07-16 17:24:12
|
Mattia Barbon wrote: > On Sun, 09 Jul 2006 16:47:12 -0600 > Mike Schroeder <Mik...@Do...> wrote >> Thanks Mattia -- one other thing I found in the generated Makefile -- it >> fails to create some needed directories at the end for the wxPerl >> generation for OSX. >> >> macbook:~/src/Wx-0.53 mike$ diff Makefile.org Makefile >> 1077a1078,1080 >> > mkdir -p cpp/wxPerl.osx/build/wxPerl.app >> > mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents >> > mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents/MacOS >> > > ? These directories should be created by xcodebuild. > Which directories are created instead? It creates the "cpp/wxPerl.osx/build" directory, but not the "wxPerl.app/Contents/MacOS" subdirectory, so wihtout manually tweaking the generated Makefile to create that, make will fail... |
From: Eric W. <scr...@gm...> - 2006-07-17 00:09:22
|
# from Mattia Barbon # on Saturday 15 July 2006 02:31 am: >> =A0> =A0 =A0 =A0 mkdir -p cpp/wxPerl.osx/build/wxPerl.app/Contents/MacOS > >=A0 ? These directories should be created by xcodebuild. >Which directories are created instead? $ xcodebuild -project wxPerl.xcode > /tmp/xcode.log (NOTE: project wxPerl was written by an older version of Xcode (39) --=20 temporarily upgrading it to version 42 (without modifying project file)) $ svn st ? build ? wxPerl.r $ tree build/ build/ |-- Default | `-- wxPerl.app | `-- Contents | |-- Info.plist | |-- MacOS | | `-- wxPerl | |-- PkgInfo | `-- Resources | `-- wxPerl.rsrc `-- wxPerl.build `-- Default `-- wxPerl.app.build |-- Objects-normal | `-- ppc | |-- main.o | `-- wxPerl.LinkFileList |-- ResourceManagerResources | |-- Objects | | `-- wxPerl.rsrc | `-- wxPerl.rsrc |-- wxPerl.app.dep `-- wxPerl.hmap $ xcodebuild -version Component versions: DevToolsCore-747.0; DevToolsSupport-733.0 =2D-Eric =2D-=20 So malloc calls a timeout and starts rummaging around the free chain, sorting things out, and merging adjacent small free blocks into larger blocks. This takes 3 1/2 days. =2D-Joel Spolsky =2D-------------------------------------------------- http://scratchcomputing.com =2D-------------------------------------------------- |
From: Eric W. <scr...@gm...> - 2006-07-17 00:50:51
|
# from Eric Wilhelm # on Sunday 16 July 2006 05:09 pm: >>=A0 ? These directories should be created by xcodebuild. >>Which directories are created instead? > >=A0 $ xcodebuild -project wxPerl.xcode > /tmp/xcode.log >=A0 (NOTE: project wxPerl was written by an older version of Xcode (39) > -- temporarily upgrading it to version 42 (without modifying project > file)) (sorry, that earlier message was actually on 0.27, but it appears to=20 have the same problem.) I'm seeing the same problem on 10.4.6, wx2.6.3, wxperl0.27, and xcode=20 2.3_8mumble. But on 0.53 I'm getting: Wx.c: In function 'void XS_Wx__Sound_newDefault(... Wx.c:10133: error: 'wxSound' was not declared in this scope (because my wxwidgets build started complaining about movies so I disabled wxsound -- hey, I've got enough problems as it is :-) Anyway, this patch gets me past the build issues on 0.27 and all tests=20 successful. http://scratchcomputing.com/tmp/MacOSX_GCC.pm.patch It applies cleanly on 0.53. Maybe someone without my sound problem can=20 verify that it works? I'm guessing it needs to be conditional on=20 `xcodebuild -version` ? Thanks, Eric =2D-=20 "Insert random misquote here" =2D-------------------------------------------------- http://scratchcomputing.com =2D-------------------------------------------------- |
From: Mattia B. <mat...@li...> - 2006-07-20 18:31:41
|
On Sun, 16 Jul 2006 17:50:45 -0700 Eric Wilhelm <scr...@gm...> wrote: > (sorry, that earlier message was actually on 0.27, but it appears to > have the same problem.) > > I'm seeing the same problem on 10.4.6, wx2.6.3, wxperl0.27, and xcode > 2.3_8mumble. But on 0.53 I'm getting: > > Wx.c: In function 'void XS_Wx__Sound_newDefault(... > Wx.c:10133: error: 'wxSound' was not declared in this scope > > (because my wxwidgets build started complaining about movies so I > disabled wxsound -- hey, I've got enough problems as it is :-) Apparently you created another one :-) wxPerl 0.54 works for me with wxWidgets 2.6.3. > Anyway, this patch gets me past the build issues on 0.27 and all tests > successful. > > http://scratchcomputing.com/tmp/MacOSX_GCC.pm.patch > > It applies cleanly on 0.53. Maybe someone without my sound problem can > verify that it works? I'm guessing it needs to be conditional on > `xcodebuild -version` ? Alternate tentative patch below. Regards Mattia Index: build/Wx/build/MakeMaker/MacOSX_GCC.pm =================================================================== RCS file: /cvsroot/wxperl/wxPerl/build/Wx/build/MakeMaker/MacOSX_GCC.pm,v retrieving revision 1.11 diff -u -2 -r1.11 MacOSX_GCC.pm --- build/Wx/build/MakeMaker/MacOSX_GCC.pm 29 May 2006 19:05:40 -0000 1.11 +++ build/Wx/build/MakeMaker/MacOSX_GCC.pm 20 Jul 2006 18:29:36 -0000 @@ -70,7 +70,7 @@ wxPerl : Makefile %s cd cpp/wxPerl.osx && xcodebuild -project wxPerl.xcode - cp -p $(PERL) cpp/wxPerl.osx/build/wxPerl.app/Contents/MacOS/wxPerl + cp -p $(PERL) `find cpp -name wxPerl.app`/Contents/MacOS/wxPerl mkdir -p $(INST_ARCHLIB)/auto/Wx - cp -rp cpp/wxPerl.osx/build/wxPerl.app $(INST_ARCHLIB)/auto/Wx + cp -rp `find cpp -name wxPerl.app` $(INST_ARCHLIB)/auto/Wx $(CC) cpp/wxPerl.osx/wxPerl.c -o wxPerl |