I really like the idea behind XAMPP, having a self-contained webserver environment, but XAMPP itself is flawed in that a lot of the packages have hard-coded links to various libraries and to each other. IOW, it's impossible to run it from, say, a USB flash drive (although you can keep the Apache Document Root there), or anywhere except /Applications/xampp for that matter. But I'd like a completely self-contained installation. So I started downloading the packages XAMPP haslisted, and tried compiling them and installing them to a flash drive based on dependancy order. Unfortunately, anything more than the basic libraries (zlib, libpng, etc.), such as perl, will usually fail one or more of the make tests. Then make install will fail. Is there a particular trick to this beyond correctly specifying the necessary prefix(es) (I'm using --prefix=/Volumes/Flash/server ), or is there some technical barrier to installing some packages on a non-/ drive?