Aperture: Insufficient Disk Space

My relationship with Apple’s photo editing program Aperture was always a bit complicated, but generally we get along quite well (despite Apertures dooming end). However, sometimes the program is a bit too demanding:

"There is not enough free space on your Aperture Library Volume to import the selected items. It is estimated that you need at least 17179869175GB of additional free space."

“There is not enough free space on your Aperture Library Volume to import the selected items. It is estimated that you need at least 17179869175GB of additional free space.”

17.179.869.175 GB is a little more than 17 exabyte. Out of curiosity I looked up what that kind of a number means. It is way higher than the number of stars in our galaxy Milky Way (100-400 billion stars). It is also more than four times bigger than the estimated size of the whole World Wide Web back in 2013. And if it had been real photos of about 30MB each (Canon RAW), that would have meant more than 573 million photos (phew). Fortunately Aperture guessed a little bit too high… 🙂

Compiling My Traceroute (MTR) on Mac OS X Mountain Lion

My Traceroute (MTR) is a very nice tool to get an impression of your network neighborhood. When trying to compile the most recent version of the tool (mtr-0.82) on my Mac (OS X 10.8.1) i ran into this problem:

gcc -g -O2 -Wall -Wno-pointer-sign curses.o -o mtr mtr.o net.o dns.o raw.o split.o display.o report.o getopt.o getopt1.o select.o -lm -ltermcap
Undefined symbols for architecture x86_64:
 "_res_9_dn_expand", referenced from:
 _parserespacket in dns.o
 "_res_9_ninit", referenced from:
 _dns_open in dns.o
 "_res_9_nmkquery", referenced from:
 _dorequest in dns.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [mtr] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Turns out its missing libresolv. The solution is simple:

Europa:mtr-0.82 justusbeyer$ export LDFLAGS="-lresolv"
Europa:mtr-0.82 justusbeyer$ ./configure --prefix=/usr --without-gtk
<lots of configure output> 
Europa:mtr-0.82 justusbeyer$ make