From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Need help building pg_dumpfile
Date: Fri, 27 Oct 2006 12:37:36 -0700 [thread overview]
Message-ID: <7573e9640610271237w627441d1l3d324aaedf2d977c@mail.gmail.com> (raw)
In-Reply-To: <20061027190714.90709.qmail@web31806.mail.mud.yahoo.com>
On 10/27/06, Richard Broersma Jr <rabroersma@yahoo.com> 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-<version>.ebuild unpack
Then set the source directory to
/var/tmp/portage/dev-db/postgresql-<version>/work/postgresql-<version>
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-<version> 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 <version> 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
next prev parent reply other threads:[~2006-10-27 19:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-27 17:50 [gentoo-user] Need help building pg_dumpfile Richard Broersma Jr
2006-10-27 18:34 ` Richard Fish
2006-10-27 19:07 ` Richard Broersma Jr
2006-10-27 19:37 ` Richard Fish [this message]
2006-10-27 20:28 ` Richard Broersma Jr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7573e9640610271237w627441d1l3d324aaedf2d977c@mail.gmail.com \
--to=bigfish@asmallpond.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox