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
Next revision
Previous revision
acdsn:acdsn-a:mac [2013/08/19 09:01] sbolayacdsn:acdsn-a:mac [2015/07/08 08:43] (current) – [Install wxPerl for Mac] tret
Line 1: Line 1:
 +==== Install wxPerl for Mac ====
 +
 +  $ sudo cpanm Wx
 +
 +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
 +
 +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 ====
 FIXME FIXME
Line 4: Line 30:
 Update to a threaded perlbrew version Update to a threaded perlbrew version
   * http://www.perlmonks.org/?node_id=953822   * http://www.perlmonks.org/?node_id=953822
 +
 +http://par.wikia.com/wiki/FAQ
 +
 +After a pp compilation
 +  $ ./iButton -D
 +  Can't load '/var/folders/kb/rmbskcf93r92q67vbmj9l2jw0000gn/T/par-73626f6c6179/cache-b2f452ea2657eae919a053b9feb81e83d7f16ef1/1e6456c3.bundle' for module Wx: dlopen(/var/folders/kb/rmbskcf93r92q67vbmj9l2jw0000gn/T/par-73626f6c6179/cache-b2f452ea2657eae919a053b9feb81e83d7f16ef1/1e6456c3.bundle, 1): Library not loaded: /Users/somebody/perl5/perlbrew/perls/perl-5.16.3_WITH_THREADS_CLANG/lib/site_perl/5.16.3/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_2_9_4_uni/lib/libwx_osx_cocoau_adv-2.9.dylib
 +
  
 First this small error: First this small error:
Line 113: Line 146:
 And now, the compilation should be ok! And now, the compilation should be ok!
  
 +===== Driver =====
 +You can find on the [[http://www.xbsd.nl/2011/07/pl2303-serial-usb-on-osx-lion.html|xbsd.nl]] web site the driver for OSX 10.7 and 10.8
 +
 +You may have to delete the extended attribute
 +  sudo xattr -d com.apple.quarantine /System/Library/Extensions/osx-pl2303.kex
acdsn/acdsn-a/mac.1376902882.txt.gz · Last modified: 2013/08/19 09:01 by sbolay