From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GdXaa-0006Xm-IV for garchives@archives.gentoo.org; Fri, 27 Oct 2006 19:42:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9RJdhvv002154; Fri, 27 Oct 2006 19:39:43 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9RJbbbj029913 for ; Fri, 27 Oct 2006 19:37:37 GMT Received: by nf-out-0910.google.com with SMTP id p46so2023423nfa for ; Fri, 27 Oct 2006 12:37:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sI65vhBh6J1iLPrgxGrl7vmaTfmorTmHxgMUewal/6K1nB0bX9Z4FI9DPFonGrCbCwMpIqpnY8qo7Fspusmt7BgVStZa07wc3RQWBQL5m4PtvQ4DVmqHgc+uJd735RwKx28YFt1lnW1MWANvDoyHv7jYqMdXD+BxLYhR3rHn4Ss= Received: by 10.82.109.19 with SMTP id h19mr9126buc; Fri, 27 Oct 2006 12:37:36 -0700 (PDT) Received: by 10.82.106.3 with HTTP; Fri, 27 Oct 2006 12:37:36 -0700 (PDT) Message-ID: <7573e9640610271237w627441d1l3d324aaedf2d977c@mail.gmail.com> Date: Fri, 27 Oct 2006 12:37:36 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Need help building pg_dumpfile In-Reply-To: <20061027190714.90709.qmail@web31806.mail.mud.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7573e9640610271134i224ac3e7j37fbfd8d9ab0eb0d@mail.gmail.com> <20061027190714.90709.qmail@web31806.mail.mud.yahoo.com> X-Google-Sender-Auth: 0474554dcefda755 X-Archives-Salt: 4cf89f67-59f3-442e-9cfd-243a607ce0e4 X-Archives-Hash: df30b542bbe3ebdbe5051eed76156f95 On 10/27/06, Richard Broersma Jr wrote: > > The source directory should point to...well...the package sources. > > That is, wherever you extracted the sources to. Pointing them to > > /usr/lib/postgresql is only valid if you extracted the sources there. > > If you extracted them to your home directory for example, you would > > point to the directory there. Most likely this will the same > > directory where the Makefile is located. > > Richard, thanks for your reply. I believe that PGSQL must point to the postgresql source > directory. I am not sure where these sources are since I used emerge to build PostgreSQL. I > can't remember if emerge removes the sources when it completes its processing. Do you have any > suggestions for me to find/re-add these directories? Ah, yes, portage will remove postgresql sources after building. So you'll need to re-create the sources. Probably the easiest thing to do is: # ebuild /usr/portage/dev-db/postgresql/postgresql-.ebuild unpack Then set the source directory to /var/tmp/portage/dev-db/postgresql-/work/postgresql- At least I think the above directory is right...basically you should end up with the source directory under /var/tmp/portage/cat-egory/package-version/work/ If for some reason pg_filedump needs compiled postgresql sources, you can do: # ebuild /usr/portage/dev-db/postgresql/postgresql- compile This will let portage recompile postgresql the same way as it is installed, so pg_filedump should be compatible. Obviously replace all instances of with the actual postgresql version you have installed. -Richard > > However, I did try your suggest by pointing the PGSQL to the source directory for pg_filedump: > # PGSQL MUST POINT TO pgsql SOURCE DIRECTORY > #PGSQL=../../../../postgres/pgsql > PGSQL=/home/richard/work/pg_filedump-8.1 > > However, I am still getting the same error as before: > make > make: *** No rule to make target > `/home/richard/work/pg_filedump-8.1/src/backend/utils/hash/pg_crc.c', needed by `pg_crc.o'. Stop. > > Thanks for your reply. > > Regards, > > Richard Broersma Jr. > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list