Обсуждение: build of 9.0 did not make an "etc" directory

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

build of 9.0 did not make an "etc" directory

От
Rob Sargent
Дата:
The log from make shows
echo "#define PGBINDIR \"/opt/PostgreSQL/9.0/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/opt/PostgreSQL/9.0/share/postgresql\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/opt/PostgreSQL/9.0/etc/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/opt/PostgreSQL/9.0/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/opt/PostgreSQL/9.0/include/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/opt/PostgreSQL/9.0/include/postgresql/server\"" >>pg_config_paths.h
echo "#define LIBDIR \"/opt/PostgreSQL/9.0/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/opt/PostgreSQL/9.0/lib/postgresql\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"/opt/PostgreSQL/9.0/share/locale\"" >>pg_config_paths.h
echo "#define DOCDIR \"/opt/PostgreSQL/9.0/share/doc//postgresql\"" >>pg_config_paths.h
echo "#define HTMLDIR \"/opt/PostgreSQL/9.0/share/doc//postgresql\"" >>pg_config_paths.h
echo "#define MANDIR \"/opt/PostgreSQL/9.0/share/man\"" >>pg_config_paths.h
but I do not see it in /opt/PostgreSQL/9.0.

Further, pc_config also believes it exists (or should):
am-rjs:bin$ pwd
/opt/PostgreSQL/9.0/bin
am-rjs:bin$ ./pg_config --sysconfdir
/opt/PostgreSQL/9.0/etc/postgresql
I do have the bin, include, lib and share directories.

I built with the following:
am-rjs:bin$ ./pg_config --configure
'--prefix=/opt/PostgreSQL/9.0' '--with-ossp-uuid' '--with-libxml' '--with-libxslt' '--with-openssl' '--with-perl' '--with-python'

Best to just restart?

Re: build of 9.0 did not make an "etc" directory

От
Tom Lane
Дата:
Rob Sargent <rsargent@xmission.com> writes:
>     echo "#define SYSCONFDIR \"/opt/PostgreSQL/9.0/etc/postgresql\""

SYSCONFDIR is a place where you might choose to put some handmade
configuration files, but the standard installation doesn't put anything
there.  So offhand I don't see a reason why it should create the
directory.

            regards, tom lane