From owner-freebsd-questions@FreeBSD.ORG Fri Nov 2 05:03:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C17A169 for ; Fri, 2 Nov 2012 05:03:09 +0000 (UTC) (envelope-from crankycyclops@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 597E08FC14 for ; Fri, 2 Nov 2012 05:03:09 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so2368205pbb.13 for ; Thu, 01 Nov 2012 22:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=jmzSX919BXjDYCAu336uUDTk0K3qFC1+83637rWBFDg=; b=hLHOebavcprf7C6oooiXtMW2nNH39Pmt9SaezMxgJ5Z/zU9BwyyKBMwaEmLZC/z5nR zPnQqeJdMsbCrz1nQwOs1lrm8aIHsjfpLGTrkKgFbPJGuIBXJ7cHCm2Et5QEHGxFWH08 Ne/tgpvYE50ZJtn1szNB8+pK9HpD19SX/7uyJy+oyKQAJ6P7Sehokkef6TaiHhT/AyYs kIfSuCRbc92ErKDqxA6PIPDxoDlHoyPaSZMwAelbNq2JgFpp6riYFBMIvJVADj/feSvy iwIRYFcRknDA7zJaWqPKPdGa6AZXsVxFAHpY/lrg9nW4zMKnyQi8CS2ikH/60QHO9zTt joDw== Received: by 10.66.78.198 with SMTP id d6mr1939711pax.61.1351832583046; Thu, 01 Nov 2012 22:03:03 -0700 (PDT) Received: from [192.168.1.121] (cpe-76-172-144-79.socal.res.rr.com. [76.172.144.79]) by mx.google.com with ESMTPS id qj6sm5140221pbb.69.2012.11.01.22.03.01 (version=SSLv3 cipher=OTHER); Thu, 01 Nov 2012 22:03:02 -0700 (PDT) Message-ID: <5093539C.8090406@gmail.com> Date: Thu, 01 Nov 2012 22:01:16 -0700 From: James Colannino User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121014 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Autotools, libraries and man pages: oh my! References: <50934F91.4030701@gmail.com> In-Reply-To: <50934F91.4030701@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 05:03:09 -0000 On 11/01/12 21:44, James Colannino wrote: > [...]I'm able to use autotools on FreeBSD to > generate configure and Makefile.in, and can use gmake to compile and > install it. > > Unfortunately, the man pages are installed to /usr/local/share/man > instead of to /usr/local/man, which I thought the tools would've taken > care of. Also, even though I see my library was successfully compiled > and installed to /usr/local/lib, when I try to compile a program with > gcc source.c -ldstring, I get: > > /usr/bin/ld: cannot find -ldstring Update: I can compile against my dstring library by using the following line: gcc source.c -L/usr/local/lib -ldstring. I guess it didn't know to search /usr/local/lib. Still having trouble figuring out how to install the man pages properly, though :( James