Thread: build of 9.0 did not make an "etc" directory
The log from make shows
Further, pc_config also believes it exists (or should):
I built with the following:
echo "#define PGBINDIR \"/opt/PostgreSQL/9.0/bin\"" >pg_config_paths.hbut I do not see it in /opt/PostgreSQL/9.0.
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
Further, pc_config also believes it exists (or should):
am-rjs:bin$ pwdI do have the bin, include, lib and share directories.
/opt/PostgreSQL/9.0/bin
am-rjs:bin$ ./pg_config --sysconfdir
/opt/PostgreSQL/9.0/etc/postgresql
I built with the following:
am-rjs:bin$ ./pg_config --configureBest to just restart?
'--prefix=/opt/PostgreSQL/9.0' '--with-ossp-uuid' '--with-libxml' '--with-libxslt' '--with-openssl' '--with-perl' '--with-python'
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