User Tools

Site Tools


acdsn:acdsn-a:mac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
acdsn:acdsn-a:mac [2015/07/08 08:25] tretacdsn:acdsn-a:mac [2015/07/08 08:43] (current) – [Install wxPerl for Mac] tret
Line 1: Line 1:
 ==== Install wxPerl for Mac ==== ==== Install wxPerl for Mac ====
  
-  cpanm Wx+  $ sudo cpanm Wx
  
 If you get the error ''failed to find Carbon/Carbon.r'', follow this: If you get the error ''failed to find Carbon/Carbon.r'', follow this:
-  - Find your ''Carbon.r'': ''# sudo find / -name Carbon.r -print'' => /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/Carbon.r + 
-  Go to your Wx build directory: ''# cd ~/.cpanm/work/timestamp.something/Wx-0.9927'' +Find your ''Carbon.r''
-  Edit ''cpp/wxPerl.osx/Makefile'' and add the path to the Frameworks directory (a parent dir of your ''Carbon.r''to the ''Rez'' line (36): ''-F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks'' + 
-  You should have a line like this: ''$(RESTOOLDIR)/Rez -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks -d __DARWIN__ -useDF -o $(BUILD)/wxPerl.rsrc $(ARCH_FLAGS) wxPerl.r'' +  $ sudo find / -name Carbon.r -print 
-  Rebuild: ''sudo make && sudo make install''+  $ # => /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/Carbon.r 
 + 
 +We're only interested by the path up to the ''Frameworks'' directory. 
 + 
 +Go to your Wx build directory
 + 
 +  $ cd ~/.cpanm/work/timestamp.something/Wx-0.9927 
 + 
 +Edit ''cpp/wxPerl.osx/Makefile'' and add the path to the ''Frameworks'' to the ''Rez'' call (line 36). 
 + 
 +You should have a line like this: 
 +  $(RESTOOLDIR)/Rez -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks -d __DARWIN__ -useDF -o $(BUILD)/wxPerl.rsrc $(ARCH_FLAGS) wxPerl.r 
 +   
 +Rebuild
 + 
 +  $ sudo make && sudo make install
  
 ==== Compile acdsn-a for Mac ==== ==== Compile acdsn-a for Mac ====
acdsn/acdsn-a/mac.1436343901.txt.gz · Last modified: 2015/07/08 08:25 by tret