Forklift 2 crashes on OS X LION

It seems that MacFuse can cause crashes on Forklift2 while you update your OS to LION version.
I got this


Process:         ForkLift [68711]
Path:            /Users/USER/Downloads/ForkLift.app/Contents/MacOS/ForkLift
Identifier:      com.binarynights.ForkLift2
Version:         2.5 Beta 4 (540)
Code Type:       X86-64 (Native)
Parent Process:  launchd [266]

Date/Time:       2012-04-07 19:14:40.278 +0200
OS Version:      Mac OS X 10.7.3 (11D50d)
Report Version:  9

Interval Since Last Report:          567 sec
Crashes Since Last Report:           4
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      8A36E98B-7F21-48FA-9860-6CC1BC314D2F

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/lib/libfuse_ino64.2.dylib
  Referenced from: /Library/Frameworks/MacFUSE.framework/Versions/A/MacFUSE
  Reason: image not found

Binary Images:
       0x10aa98000 -        0x10ab61fff +com.binarynights.ForkLift2 (2.5 Beta 4 - 540) <90432FE9-7366-3E9F-A35F-591DADF96A4B> /Users/USER/Downloads/ForkLift.app/Contents/MacOS/ForkLift
       0x10ac2d000 -        0x10ac3cff7 +com.google.MacFUSE (2.0.3 - 2.0.3) <1968CCFF-4844-524C-AAE8-413243679F56> /Library/Frameworks/MacFUSE.framework/Versions/A/MacFUSE
       0x10ac4a000 -        0x10ac79fff +com.growl.growlframework (1.3.1 - 1.3.1) <81F2E452-20C8-3F2D-94B2-B58FA5DE1ECE> /Users/USER/Downloads/ForkLift.app/Contents/Frameworks/Growl.framework/Versions/A/Growl
       0x10aca1000 -        0x10ad19fff +com.binarynights.FLCore (2.0.6 - 1) <80F41E97-BDD6-3B3B-97D6-5A844F27DADE> /Users/USER/Downloads/ForkLift.app/Contents/Frameworks/FLCore.framework/Versions/A/FLCore
       0x10ada3000 -        0x10b085fff  com.apple.security (7.0 - 55110) <252F9E04-FF8A-3EA7-A38E-51DD0653663C> /System/Library/Frameworks/Security.framework/Versions/A/Security
       0x10b1a5000 -        0x10b1aafff +org.sbooth.CrashReporter (??? - 1.0) <C715CEC4-E80D-C283-B393-858D27565F0A> /Users/USER/Downloads/ForkLift.app/Contents/Frameworks/SFBCrashReporter.framework/Versions/A/SFBCrashReporter
       0x10b1b6000 -        0x10b1cdfff +org.andymatuschak.Sparkle (1.5 Beta 6 - 313) <9253F8F7-250B-1114-7AE9-A10A54EB2298> /Users/USER/Downloads/ForkLift.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
       0x10b1ec000 -        0x10b1fdfff +org.mozilla.universalchardet (??? - 1.0) <7CAA7A15-2B36-39D5-9910-7849C4874A92> /Users/USER/Downloads/ForkLift.app/Contents/Frameworks/UniversalDetector.framework/Versions/A/UniversalDetector
       0x10b214000 -        0x10b2cfff7 +de.dstoecker.xadmaster (??? - 2.7 [libxad 13.0, modified]) <85EED6E9-A21A-3777-B9B2-EFF40D94D8D0> /Users/USER/Downloads/ForkLift.app/Contents/Frameworks/XADMaster.framework/Versions/A/XADMaster
       0x10b37e000 -        0x10b3abfe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
       0x10b3bf000 -        0x10bfc3fff  com.apple.AppKit (6.7.3 - 1138.32) <A9EB81C6-C519-3F29-89F1-42C3E8930281> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff6a698000 -     0x7fff6a6ccbaf  dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
    0x7fff8772b000 -     0x7fff8772bfff  com.apple.ApplicationServices (41 - 41) <89B6AD5B-5C75-3E83-8C2B-AA7F4C55E400> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff895e7000 -     0x7fff89786fff  com.apple.QuartzCore (1.7 - 270.2) <F2CCDEFB-DE43-3E32-B242-A22C82617186> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff8a12b000 -     0x7fff8a444ff7  com.apple.Foundation (6.7.1 - 833.24) <6D4E6F93-64EF-3D41-AE80-2BB10E2E6323> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff8ac13000 -     0x7fff8acf7e5f  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
    0x7fff8d9b5000 -     0x7fff8d9b5fff  com.apple.Cocoa (6.6 - ???) <7EC4D759-B2A6-3A99-AC75-809FED1500C6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8db5f000 -     0x7fff8db5ffff  com.apple.quartzframework (1.5 - 1.5) <2C13AE76-C86B-3D48-A583-121689190F74> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x7fff8f2aa000 -     0x7fff8f2aafff  com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8f9ec000 -     0x7fff8fbc0fff  com.apple.CoreFoundation (6.7.1 - 635.19) <57B77925-9065-38C9-A05B-02F4F9ED007C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff90e3e000 -     0x7fff90fc8ff7  com.apple.WebKit (7534.53 - 7534.53.11) <2969964C-2759-3407-9EBB-C1304A556755> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x7fff937ce000 -     0x7fff938dafff  libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <3A8E1F89-5E26-3C8B-B538-81F5D61DBF8A> /usr/lib/libcrypto.0.9.8.dylib

Model: MacBookPro5,1, BootROM MBP51.007E.B06, 2 processors, Intel Core 2 Duo, 2.53 GHz, 8 GB, SMC 1.33f8
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393955353432382D3034312E413031472020
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393955353432382D3034312E413031472020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.100.98.75.19)
Bluetooth: Version 4.0.3f12, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS543232L9SA02, 320,07 GB
Serial ATA Device: MATSHITADVD-R   UJ-868
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24400000 / 2
USB Device: Android Phone, 0x0bb4  (HTC Corporation), 0x0ff9, 0x26200000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x04600000 / 3
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06110000 / 4

just enought to update macFuse to 2.2 version

Xcode 4

Finally I decided to ugrade OSX Tiger to Lion … seems good idea, system speed up quite much but try to get your developer tools running :/

After short fight with Homebrew and missing GCC library I decided to quit this idea and get back to macports which I previously removed because they cause troubles with Homebrew. So this is what I did.

I downloaded MacPorts from http://guide.macports.org/chunked/installing.xcode.html
and try …

sudo port install wget
The installed version of Xcode (3.2.6) is too old to use on the installed OS version. Version 4.1 or later is recommended on Mac OS X 10.7.

check it
/Developer/usr/bin/xcodebuild -version

ok so lets have some fun and remove all devtools

sudo /Developer/Library/uninstall-devtools ?mode=all

of course after that you do not have anything :) and trying to use ports will back to you with this

wadziu@wadziu-2:~$ sudo port install wget
Warning: xcodebuild exists but failed to execute
Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build.
Warning: You may need to run `sudo xcode-select -switch /Applications/Xcode.app`
Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
---> Computing dependencies for wgetError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
To report a bug, see

I installed Xcode 4 from http://itunes.apple.com/us/app/xcode/id497799835 just great it shows I do have installed brand new app :) but is it true ?

http://wadziu.com/wp-content/2012/04/Screen-Shot-2012-04-07-at-10.38.55.png

well even if Xcode shows Command Line Tool installed it was not true :/

Anyway, I downloaded Command Line Tools from https://developer.apple.com/downloads/ and install .pkg

Ufff … nw I got it

just needed to

sudo xcode-select -switch /Applications/Xcode.app and Well Done.

Conclusion: it is nice to have System which does all for you but seems to be the best choice for simple user but for developer … ?

This is not all, now I get

Warning: xcodebuild exists but failed to execute

Needed to install GCC GCC-10.7-v2.pkg and check some more things at https://trac.macports.org/wiki/ProblemHotlist#xcode43

What can I say … HAVE FUN

PHP IDE

A tak sobie z ciekawości sprawdziłem ile zasobów zajmą poszczególne edytory PHP. Wybrałem sobie 4: Eclipse, Netbeans, Textmate, Aptana, VIM.
Bardziej szczegółowo:

  • Eclipse Helios (Helios Service Release 2, build 20110218-0911)
  • Netbeans 7 (Build 201104080000)
  • Textmate (versja 1.5.10 (1631))
  • Aptana (versja 3, build: 3.0.5.201110061808)
  • VIM (versja 7.2.108)

w każdym edytorze został otwarty ten sam projekt ten sam plik do edycji, no może poza VIM gdzie otworzony został plik a nie projekt. I tak oto wyglądają zasoby mojego komputera.

VIM (2,9 MB) RAM
Textmate (46,5 MB) RAM
Eclipse (377,7 MB) RAM
Aptana 3 (389,3 MB) RAM
Netbeans (595 MB) RAM

To ja jednak zostanę przy Textmate :)

Rails 3.0.3 – mysql2 na OSX 10.6.8

Znowu ten sam problem, nowe Rails wymaga nowszego MySQL… odpalam Rails new project -d mysql no to super, potem baza rake db:create i …

rake aborted!
dlopen(/Users/wadziu/Sites/project/vendor/bundle/ruby/1.8/gems/mysql2-0.2.13/lib/mysql2/mysql2.bundle, 9): Library not loaded: /opt/local/lib/mysql5/mysql/libmysqlclient_r.16.dylib
  Referenced from: /Users/wadziu/Sites/project/vendor/bundle/ruby/1.8/gems/mysql2-0.2.13/lib/mysql2/mysql2.bundle
  Reason: Incompatible library version: mysql2.bundle requires version 17.0.0 or later, but libmysqlclient_r.16.dylib provides version 16.0.0 - /Users/wadziu/Sites/project/vendor/bundle/ruby/1.8/gems/mysql2-0.2.13/lib/mysql2/mysql2.bundle
/Users/wadziu/Sites/project/Rakefile:4
(See full trace by running task with --trace)

Rails 3.0.3 z wtyczką mysql2 wymagają min. libmysqlclient_r.17.dylib tak więc wypadałoby zainstalować nowszą wersję MySQL’a np.: versję 5.5.16 która ma libmysqlclient_r.18.dylib czyli wersję o +1 :)

no to ze strony http://dev.mysql.com/downloads pobieramy .dmg (oczywiście można pobrać źródła, skompilować etc. ale skoro jest paczka no korzystajmy z udogodnień). Instalacja click, click

MySQL

aliasy do .profile

alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin

no i przeładować

. ~/.profile

odpalamy MySQL’a

sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

i właściwie to wszystko, już można zrobić rake db:create, rake db:migrate

warto jeszcze przejrzeć README.txt dostarczony z paczką mysql-5.5.16-osx10.6-x86_64.dmg

Posted in ROR