ginesvengeance / open-rp

Automatically exported from code.google.com/p/open-rp
0 stars 0 forks source link

wxWidgets fails to build on OS X 10.6 #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download source
2. run make on 10.6

What is the expected output? What do you see instead?
Should build, instead I get

./src/common/intl.cpp: In static member function ‘static int 
wxLocale::GetSystemLanguage()’:
./src/common/intl.cpp:2060: error: ‘smScriptLang’ was not declared in this 
scope
./src/common/intl.cpp:2060: error: ‘GetScriptVariable’ was not declared in 
this scope
./src/common/intl.cpp:2061: warning: ‘GetScriptManagerVariable’ is 
deprecated (declared at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Hea
ders/Script.h:993)
./src/common/intl.cpp:2061: warning: ‘GetScriptManagerVariable’ is 
deprecated (declared at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor
k/Hea
ders/Script.h:993)
make[2]: *** [monolib_intl.o] Error 1
make[1]: *** [.orp-stamp] Error 1
make: *** [all] Error 2

What version of the product are you using? On what operating system?
r307 on 10.6.2

Please provide any additional information below.
This is due to a bug in wxWidgets. I'm working on throwing a fix together. 
Hopefully I'll have this 
whole thing building tonight or tomorrow.

Original issue reported on code.google.com by dyla...@gmail.com on 22 Nov 2009 at 6:47

GoogleCodeExporter commented 8 years ago

Original comment by darryl...@gmail.com on 22 Nov 2009 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by darryl...@gmail.com on 22 Nov 2009 at 7:40

GoogleCodeExporter commented 8 years ago
Again, this is a bug in wxWidgets. Supposedly there is a fix to get 2.8.10 
working on Snow Leopard (compile as 
32-bit), but I can't seem to make it happen. 2.9 seems to build flawlessly 
after ./configure --with-macosx-
version-min=10.5 --with-osx_cocoa and a really minor patch to one file (see 
attached). I'm not entirely sure 
that this will get ORP building, but it's at least building wxWidgets. 
Definitely not resolved here. I'll keep you 
updated as I fiddle around.

Original comment by dyla...@gmail.com on 24 Nov 2009 at 5:18

GoogleCodeExporter commented 8 years ago
Forgot to include my patch- keep in mind this is for 2.9.0

Original comment by dyla...@gmail.com on 24 Nov 2009 at 5:19

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the feedback!

I assume the instructions you tried to compile 2.8.10 was from here?
http://wiki.wxwidgets.org/Development:_wxMac#Building_under_10.6_Snow_Leopard

If 2.9 compiles and runs properly under Linux and Windows, I have no problem 
updating
to 2.9 (even though the wxOSX/Cocoa implementation is not considered stable 
yet). 
I'll test 2.9 on the other platforms and wait to hear back from your testing.

Thanks again.

Original comment by darryl...@gmail.com on 24 Nov 2009 at 4:33

GoogleCodeExporter commented 8 years ago
Yeah, those instructions didn't work for me no matter what I did. Maybe I was 
missing something obvious, 
but I doubt it.

I've been trying to get wxWidgets 2.9.0 to build with the ./configure flags 
that 11-wxWidgets passes, but it 
looks (again, due to a bug in wxWidgets) I can't compile it without sockets and 
stopwatch (which sockets 
needs to work).

With that said, I have managed to build ORP (on wxWidgets 2.9.0) using the 
attached file and the patch I 
posted earlier.

Original comment by dyla...@gmail.com on 24 Nov 2009 at 6:58

Attachments:

GoogleCodeExporter commented 8 years ago
Fixes merged in to r315.  Thanks again!

Original comment by darryl...@gmail.com on 24 Nov 2009 at 9:42