Installing Samba 3.0.0

I’ve had fun and games installing Samba 3.0.0 onto the Linux box from source. I left the compilation running overnight, but by next morning, the machine had run out of disk space—and I had over 300MB free before I started!

I moved the source tree to a drive with a lot more space and recompiled. The tree took up something like 800MB on that disk when finished. I then installed the binaries back onto the first drive, and promptly ran out of space again!

It turns out that Samba leaves the debugging symbols in the binaries, resulting in a set of binaries taking up 474MB! A quick strip(1), and they're down to just 16MB. If you're trying to build this package with limited disk space, you may want to look around for configure options to build without debugging symbols built in.

Keywords: Samba Linux install installed installing compiling disk disc space strip debug size huge vast binaries source exhausted MB configure

Samba books

[Notes index]