Обсуждение: Missing files after make install ?

Поиск
Список
Период
Сортировка

Missing files after make install ?

От
Olivier Thauvin
Дата:
Hi,

I am the packager of postgresql for mandriva, and I receive this bug to
today

https://qa.mandriva.com/show_bug.cgi?id=47722

postgresql8.3-contribe missed some files like uuid-ossp.sql

Description of problem:
uuid-ossp was not found in the .spec file

By take a look in the /contrib/README file, some items are missed
intagg
intarray
spi
start-scripts
xml2 (libxml2 ?)

***

I just check, and trully, files provided in contrib, mainly *.sql, are
not installed during %make install from contrib/ subdirectory.

Is this an error ? a mistake ? If this should be fix, can you provide a
patch quickly (before I release 8.3.6 :) ?

Thanks by advance.


Re: Missing files after make install ?

От
Tom Lane
Дата:
Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr> writes:
> By take a look in the /contrib/README file, some items are missed
> intagg 
> intarray 
> spi 
> start-scripts 
> xml2 (libxml2 ?)

Your complainant seems to be assuming that there's a one-to-one mapping
between contrib module names and .sql files.  Not so, at least not in
these cases.

The names I see in the Fedora RPM are

./usr/share/pgsql/contrib/_int.sql            <= intarray
./usr/share/pgsql/contrib/adminpack.sql
./usr/share/pgsql/contrib/autoinc.sql
./usr/share/pgsql/contrib/btree_gist.sql
./usr/share/pgsql/contrib/chkpass.sql
./usr/share/pgsql/contrib/cube.sql
./usr/share/pgsql/contrib/dblink.sql
./usr/share/pgsql/contrib/dict_int.sql
./usr/share/pgsql/contrib/dict_xsyn.sql
./usr/share/pgsql/contrib/earthdistance.sql
./usr/share/pgsql/contrib/fuzzystrmatch.sql
./usr/share/pgsql/contrib/hstore.sql
./usr/share/pgsql/contrib/insert_username.sql
./usr/share/pgsql/contrib/int_aggregate.sql        <= intagg
./usr/share/pgsql/contrib/isn.sql
./usr/share/pgsql/contrib/lo.sql
./usr/share/pgsql/contrib/ltree.sql
./usr/share/pgsql/contrib/moddatetime.sql
./usr/share/pgsql/contrib/pageinspect.sql
./usr/share/pgsql/contrib/pg_buffercache.sql
./usr/share/pgsql/contrib/pg_freespacemap.sql
./usr/share/pgsql/contrib/pg_trgm.sql
./usr/share/pgsql/contrib/pgcrypto.sql
./usr/share/pgsql/contrib/pgrowlocks.sql
./usr/share/pgsql/contrib/pgstattuple.sql
./usr/share/pgsql/contrib/pgxml.sql            <= xml2
./usr/share/pgsql/contrib/refint.sql
./usr/share/pgsql/contrib/seg.sql
./usr/share/pgsql/contrib/sslinfo.sql
./usr/share/pgsql/contrib/tablefunc.sql
./usr/share/pgsql/contrib/test_parser.sql
./usr/share/pgsql/contrib/timetravel.sql
./usr/share/pgsql/contrib/tsearch2.sql

Maybe this should be cleaned up sometime, but that's how it is in 8.3.
        regards, tom lane