Sonntag, 3. Juli 2011

Using SSHfs from the command line

Until now, I've only ever used SSHfs (SSH file system on top of MacFuse) via the GUI, but using the command line is much quicker:

sshfs user@server:/remotedirectory/ /mountpath -oping_diskarb,volname=

although I'm a little disappointed that ~ apparently doesn't work for the remote dir :-(

Dienstag, 19. April 2011

XCode command line builds

Playing around with XCode command line builds (to verify some exported projects):

List all available SDKs:
xcodebuild -project FSPasswordsafe4.xcodeproj -showsdks


Build for iPhone Simulator 4.3:
xcodebuild -project FSPasswordsafe4.xcodeproj -sdk iphonesimulator4.3 -alltargets

Freitag, 25. Februar 2011

Erlang installation on Mac OS X 10.6

Since I'm currently reading "7 languages in 7 weeks", I decided to install Erlang. Grabbed the tarball from the erlang home page, extracted it and ran configure & make.

Bang! Say hello to showstopper #1:
error: 'RTLD_NEXT' undeclared (first use in this function)

After some googling, I renamed
/usr/local/include to /usr/local/include.bak,
and - lo and behold!
- the compile finished successfully.
Must have been an incompatible version of dlfcn.h, I guess.