Thanks, I think I get the concept of what an -dev is. But what is a header file?
On 3/16/15, Eric Pruitt <eric.pru...@gmail.com> wrote: > On Sun, Mar 15, 2015 at 11:07:26PM +0800, Ivan Tham wrote: >> Thanks, but how do I know about the -dev, but how do I know >> libxinerama-dev? > > Experience and / or guess-work. Compiler complaining about "$HEADER.h"? > Try installing lib$HEADER-dev (Debian) or $HEADER-devel (RHEL). Failing > that, just Google it. If you search "debian xinerama.h", the first > result is "Debian -- File list of package libxinerama-dev/wheezy/s...".* > Even better, the 5th result is "[SOLVED] Cannot compile dwm window > manager - Ubu..." (http://ubuntuforums.org/showthread.php?t=1843661). > There are also things like apt-file or "yum whatprovides" which can aid > in offline searching. > > * This is assuming Google isn't doing personalized search result > munging. > > Eric > >