Project

General

Profile

Actions

Emulator Issues #1890

closed

[Patch] Scons fix for MacOSX

Added by BhaaL over 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

The following issues might appear on MacOSX when trying to compile Dolphin
using scons:

  1. NameError: name 'wxmods' is not defined:
    File "SConstruct", line 312: env['HAVE_WX'] = conf.CheckWXConfig('2.8',
    wxmods, 0)

  2. AttributeError: 'tuple' object has no attribute 'startswith':
    File "SconsTests/utils.py", line 9:
    if not flag.startswith('-W')

  3. might appear on 64-bit Leopards (also snowy ones) that do not pass
    osx=64cocoa (or intentionally want to build a 32-bit Dolphin, who knows).
    This is due to the check on line 292 that checks for darwin first, and then
    only for 64cocoa. For darwin and non-64cocoa, wxmods was not defined at all.

  4. also appears in combination with 1) when parameters like "-arch=i386"
    are passed and added as tuple. This causes utils.py to barf on the tuple,
    effectively failing the build.

I am by no means a python coder, but I managed to throw together something
that works on my Snow Leopard: http://pastie.org/761665

Actions

Also available in: Atom PDF