Общие > Базы данных
установка postgre
Elenka:
при ./configure
daet error:
...
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for optreset... no
checking for strtoll... yes
checking for strtoull... yes
checking for atexit... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... (cached) yes
checking test program... failed
configure: error:
*** Could not execute a simple test program. This may be a problem
*** related to locating shared libraries. Check the file \'config.log\'
*** for the exact reason.
скачано отсюда: http://ftp://ftp13.us.postgresql.org/mirror/postgresql/v8.0.2/postgresql-8.0.2.tar.gz
commander:
Elenka
какая ось?
Elenka:
red hat linux 9
commander:
Elenka
gcc установленно?
а вообще ставь из rpm ... и будет тебе счастье...
Elenka:
из рпм:
# rpm -ihv postgresql-8.0.1-2PGDG.i686.rpm
# rpm -ihv postgresql-server-8.0.1-2PGDG.i686.rpm
# rpm -ihv postgresql-devel-8.0.1-2PGDG.i686.rpm
# rpm -ihv postgresql-contrib-8.0.1-2PGDG.i686.rpm
далее:
# su - postgres
$ cd data
$ chmod u+w pg_hba.conf
>`pg_hba.conf\': No such file or directory
-bash-2.05b$ /usr/bin/postgres start
/usr/bin/postgres cannot access the server configuration file "/var/lib/pgsql/data/postgresql.conf": No such file or directory
Навигация
Перейти к полной версии