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

Reply via email to