I tried installing LaTeX using the MacTex distribution, but had trouble using it with the excellent text editor TextMate, it simply could not find pdflatex or any of the other binaries needed to compile my paper. The error message I got was simply
pdflatex not found
After some fumbling I was able to specify the whereabouts of pdflatex by using TextMate’s shell variables (Under Preferences->Advanced), only to find that it still could not find the needed binaries:
kpsewhich: command not found
The LaTeX bundle manual indicated that the MacTeX installer should modify the path environment variable, but it did not modify mine. The solution was to modify /etc/profile’s path variable by changing
Log in and out, and test it by pressing Command-R in TextMate. Voila!