Перейти к содержанию
Посмотреть в приложении

A better way to browse. Learn more.

Форум Академгородка, Новосибирск

A full-screen app on your home screen with push notifications, badges and more.

Чтобы установить это приложение на iOS и iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
Чтобы установить это приложение на Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Проблема с установкой postgreSQL

Опубликовано

root@Router:/billing/postgresql/postgresql-8.2.3# ./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking which template to use... linux

checking whether to build with 64-bit integer date/time support... no

checking whether NLS is wanted... no

checking for default port number... 5432

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking if gcc supports -Wdeclaration-after-statement... yes

checking if gcc supports -Wendif-labels... yes

checking if gcc supports -fno-strict-aliasing... yes

configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing

checking whether the C compiler still works... yes

checking how to run the C preprocessor... gcc -E

checking allow thread-safe client libraries... no

checking whether to build with Tcl... no

checking whether to build Perl modules... yes

checking whether to build Python modules... no

checking whether to build with Kerberos 5 support... no

checking whether to build with PAM support... no

checking whether to build with LDAP support... no

checking whether to build with Bonjour support... no

checking whether to build with OpenSSL support... no

checking for egrep... grep -E

configure: using CPPFLAGS=-D_GNU_SOURCE

configure: using LDFLAGS=

checking for gawk... no

checking for mawk... mawk

checking for flex... no

configure: WARNING:

*** Without Flex you will not be able to build PostgreSQL from CVS or

*** change any of the scanner definition files. You can obtain Flex from

*** a GNU mirror site. (If you are using the official distribution of

*** PostgreSQL then you do not need to worry about this because the Flex

*** output is pre-generated.)

checking whether ln -s works... yes

checking for ld used by GCC... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for ranlib... ranlib

checking for tar... /bin/tar

checking for strip... strip

checking whether it is possible to strip libraries... yes

checking for bison... no

configure: WARNING:

*** Without Bison you will not be able to build PostgreSQL from CVS nor

*** change any of the parser definition files. You can obtain Bison from

*** a GNU mirror site. (If you are using the official distribution of

*** PostgreSQL then you do not need to worry about this, because the Bison

*** output is pre-generated.) To use a different yacc program (possible,

*** but not recommended), set the environment variable YACC before running

*** 'configure'.

checking for perl... /usr/bin/perl

checking for Perl archlibexp... /usr/lib/perl/5.8

checking for Perl privlibexp... /usr/share/perl/5.8

checking for Perl useshrplib... true

checking for flags to link embedded Perl... -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt

checking for main in -lm... yes

checking for library containing setproctitle... no

checking for library containing dlopen... -ldl

checking for library containing socket... none required

checking for library containing shl_load... no

checking for library containing getopt_long... none required

checking for library containing crypt... -lcrypt

checking for library containing fdatasync... none required

checking for library containing shmget... none required

checking for -lreadline... no

checking for -ledit... no

configure: error: readline library not found

If you have readline already installed, see config.log for details on the

failure. It is possible the compiler isn't looking in the proper directory.

Use --without-readline to disable readline support.

root@Router:/billing/postgresql/postgresql-8.2.3# make all install

You need to run the 'configure' program first. See the file

'INSTALL' for installation instructions.

make: *** [all] Error 1

 

Рекомендуемые сообщения

Опубликовано
readline ставьте, или ./configure --without-readline делайте, если поддержка readline не нужна. А уж после успешного прохождения ./configure делайте make
Опубликовано
Может, я чего не понимаю, но почему нельзя поставить бинарный пакет? К тому же у Вас, если мне не изменяет память установлено что-то дебианоподобное.
Опубликовано
  • Автор

у меня убунту. но мне нужно установить

1. в директорию /opt/postgresql

2. чтобы было не 32 одновременных конекта а 1024

Опубликовано

QUOTE (ko-antoha @ Mar 16 2007, 12:36)
у меня убунту. но мне нужно установить
1. в директорию /opt/postgresql
2. чтобы было не 32 одновременных конекта а 1024

./configure --prefix=/opt/postgresql --without-readline

make

make install

Опубликовано

Для Ubuntu можно сделать так (с PostgreSQL не пробовал):

1. Добавить в /etc/apt/sources.list:

deb-src http://debian.nsu.ru/debian sid main non-free contrib

это нужно для того, чтобы apt-get знал, что есть исходники (на debian.nsu.ru нет deb-src для Ubuntu).

2. `sudo apt-get build-dep postgresql`

3. Собрать PostgreSQL любым удобным способом (я бы это делал при помощи apt-source и dpkg-buildpackage).

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

Аккаунт

Навигация

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.