Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL.
От
Alvaro Herrera
Тема
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL.
Дата
Msg-id
20091222193421.GB3949@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL. "Ashish Anand" <Ashish.The.Dev@Gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Robert Haas <robertmhaas@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Robert Haas <robertmhaas@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Dave Page <dpage@pgadmin.org>
Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL. Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL. Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Alvaro Herrera <alvherre@commandprompt.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Dave Page <dpage@pgadmin.org>
Re: BUG #5250: Tutorial examples(pre-compiled) not
present with precompiled binary version of PostgreSQL. Bruce Momjian <bruce@momjian.us>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Dave Page <dpage@pgadmin.org>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Dave Page <dpage@pgadmin.org>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Re: BUG #5250: Tutorial examples(pre-compiled) not present
with precompiled binary version of PostgreSQL. Ashish Anand <Ashish.The.Dev@gmail.com>
Tom Lane escribió:
> # Have to hack makefile to put correct path into tutorial scripts
> sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
> make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
> rm -f src/tutorial/GNUmakefile
>
> install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
> cp src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
>
> It looks to me like the unmodified Makefile builds the .sql files
> on the assumption they will be used *in the source tree*. So basically
> no installer could use that as-is anyway.
Sounds like something that should be fixed upstream, if someone is
sufficiently interested.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 supportВ списке pgsql-bugs по дате отправления
От: Ashish Anand
Дата:
От: Ashish Anand
Дата: