Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
acdsn:acdsn-a:mac [2013/08/19 09:01] – sbolay | acdsn:acdsn-a:mac [2015/07/08 08:25] – tret |
---|
| ==== Install wxPerl for Mac ==== |
| |
| # 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 |
| - 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 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'' |
| - Rebuild: ''sudo make && sudo make install'' |
| |
==== Compile acdsn-a for Mac ==== | ==== Compile acdsn-a for Mac ==== |
FIXME | FIXME |
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: |
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 |