PostgreSQL 8.2.4 1C не запускается на slackware (для 1С)

WINE@Etersoft, "1С","Ананас" и прочие проекты

Модератор: Модераторы разделов

LVS
Сообщения: 264
Статус: All Hail Random
ОС: Kubuntu, CentOS, Slackware

PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение LVS »

Скачал с фтп етерсофта пропатченый postgresql. Установил. Не запустился.
Исправлял ситуацию по http://xeim.blogspot.com/2008/05/postgresq...ackware-12.html
только патч для init скрипта не подошел, поправил вручную.
Всеравно не запускается.

Код: Выделить всё

root@cs:~# /etc/init.d/postgresql start
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
                                                                        [FAILED]


/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
                                                                        [FAILED]

root@cs:~# /etc/init.d/postgresql initdb
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
                                                                        [FAILED]

root@cs:~# cd /var/lib/
root@cs:/var/lib# mc

root@cs:/var/lib# /etc/init.d/postgresql initdb
Initializing database:                                                  [FAILED]


Так понимаю база в директории data у всех одинаковая. Может кто-нибудь ее мне отправить? Или лучше помогите разобраться что ему не нравится.
Спасибо сказали:
Аватара пользователя
Hvzh
Сообщения: 711
Статус: Gone with Linux
ОС: Linux Mint 18.1

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение Hvzh »

А кластер стереть не пробовали?
HP 255 G4 A6-6310 + Linux Mint 18.1 + Windoze7 under VmWare + OS X Mavericks under VmWare
Спасибо сказали:
LVS
Сообщения: 264
Статус: All Hail Random
ОС: Kubuntu, CentOS, Slackware

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение LVS »

Усе. Разобрался.
Необходимо было чуть уменьшить значение shared_buffers в /usr/share/pgsql/postgresql.conf.sample
Я поставил 24M вместо 32M.

Еще для удобвства выкладываю рабочий скрипт /etc/init.d/postgresql
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Спасибо сказали:
Deicide
Сообщения: 11

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение Deicide »

Вот роблемка!
Взял исходники вот отсель: ссылко
установил их.
собираю rpmbuild -ba --target i686 blah-blah.spec
при сборке собсно сорцов вылетает вот с таким ошибком:

Код:

gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I/usr/local/include -I. -I../../src/include -D_GNU_SOURCE -c -o mchar_recode.o mchar_recode.c In file included from mchar_io.c:1: mchar.h:7:27: error: unicode/uchar.h: No such file or directory mchar.h:8:29: error: unicode/ustring.h: No such file or directory In file included from mchar_io.c:1: mchar.h:14: error: expected specifier-qualifier-list before 'UChar' mchar.h:31: error: expected specifier-qualifier-list before 'UChar' mchar.h:47: error: expected declaration specifiers or '...' before 'UChar' mchar.h:48: warning: type defaults to 'int' in declaration of 'UChar' mchar.h:48: error: expected ';', ',' or ')' before '*' token mchar.h:49: error: expected ')' before '*' token mchar.h:50: error: expected ')' before '*' token mchar.h:51: error: expected ')' before '*' token mchar.h:53: error: expected ')' before '*' token mchar_io.c: In function 'mchar_strip': mchar_io.c:31: warning: implicit declaration of function 'u_countChar32' mchar_io.c:31: error: 'MChar' has no member named 'data' mchar_io.c:31: error: 'MChar' has no member named 'data' mchar_io.c:31: error: 'UChar' undeclared (first use in this function) mchar_io.c:31: error: (Each undeclared identifier is reported only once mchar_io.c:31: error: for each function it appears in.) mchar_io.c:35: warning: implicit declaration of function 'U16_FWD_N' mchar_io.c:35: error: 'MChar' has no member named 'data' mchar_io.c:35: error: 'MChar' has no member named 'data' mchar_io.c:36: error: 'MChar' has no member named 'data' mchar_io.c:42: error: 'MChar' has no member named 'data' mchar_io.c:43: warning: implicit declaration of function 'u_isspace' mchar_io.c:43: error: 'MChar' has no member named 'data' mchar_io.c:46: error: 'MChar' has no member named 'data' mchar_io.c: In function 'mchar_in': mchar_io.c:62: error: 'MChar' has no member named 'data' mchar_io.c:62: error: 'UChar' undeclared (first use in this function) mchar_io.c:63: error: 'MChar' has no member named 'data' mchar_io.c:63: error: too many arguments to function 'Char2UChar' mchar_io.c:64: error: 'MChar' has no member named 'data' mchar_io.c: In function 'mchar_out': mchar_io.c:75: error: 'MChar' has no member named 'data' mchar_io.c:75: error: 'UChar' undeclared (first use in this function) mchar_io.c:76: error: 'MChar' has no member named 'data' mchar_io.c:83: warning: implicit declaration of function 'UChar2Char' mchar_io.c:83: error: 'MChar' has no member named 'data' mchar_io.c: In function 'mvarchar_in': mchar_io.c:127: error: 'MVarChar' has no member named 'data' mchar_io.c:127: error: 'UChar' undeclared (first use in this function) mchar_io.c:128: error: 'MVarChar' has no member named 'data' mchar_io.c:128: error: too many arguments to function 'Char2UChar' mchar_io.c:129: error: 'MVarChar' has no member named 'data' mchar_io.c:131: error: 'MVarChar' has no member named 'data' mchar_io.c:131: error: 'MVarChar' has no member named 'data' mchar_io.c: In function 'mvarchar_out': mchar_io.c:141: error: 'MVarChar' has no member named 'data' mchar_io.c:141: error: 'UChar' undeclared (first use in this function) mchar_io.c:146: error: 'MVarChar' has no member named 'data' mchar_io.c:146: error: 'MVarChar' has no member named 'data' mchar_io.c: In function 'mvarchar_strip': mchar_io.c:157: error: 'MVarChar' has no member named 'data' mchar_io.c:157: error: 'MVarChar' has no member named 'data' mchar_io.c:157: error: 'UChar' undeclared (first use in this function) mchar_io.c:161: error: 'MVarChar' has no member named 'data' mchar_io.c:162: error: 'MVarChar' has no member named 'data' mchar_io.c: In function 'mvarchar': mchar_io.c:172: error: 'MVarChar' has no member named 'data' mchar_io.c:172: error: 'MVarChar' has no member named 'data' mchar_io.c:172: error: 'UChar' undeclared (first use in this function)In file included from mchar_proc.c:1: mchar.h:7:27: error: unicode/uchar.h: No such file or directory mchar.h:8:29: error: unicode/ustring.h: No such file or directory In file included from mchar_proc.c:1: mchar.h:14: error: expected specifier-qualifier-list before 'UChar' mchar.h:31: error: expected specifier-qualifier-list before 'UChar' mchar.h:47: error: expected declaration specifiers or '...' before 'UChar' mchar.h:48: warning: type defaults to 'int' in declaration of 'UChar' mchar_io.c: In function 'mvarchar_mchar': mchar_io.c:199: error: 'MVarChar' has no member named 'data' mchar_io.c:199: error: 'MChar' has no member named 'data' mchar.h:48: error: expected ';', ',' or ')' before '*' token mchar.h:49: error: expected ')' before '*' token mchar_io.c:200: error: 'MVarChar' has no member named 'data' mchar.h:50: error: expected ')' before '*' token mchar_io.c:200: error: 'MChar' has no member named 'data' mchar.h:51: error: expected ')' before '*' token mchar_io.c:201: error: 'MChar' has no member named 'data' mchar_io.c:201: error: 'MVarChar' has no member named 'data' mchar_io.c:201: error: 'MVarChar' has no member named 'data' mchar.h:53: error: expected ')' before '*' token mchar_io.c: In function 'mchar_mvarchar': mchar_io.c:217: error: 'MChar' has no member named 'data' mchar_io.c:217: error: 'MChar' has no member named 'data' mchar_io.c:217: error: 'UChar' undeclared (first use in this function) mchar_io.c:225: error: 'MVarChar' has no member named 'data' mchar_io.c:227: error: 'MChar' has no member named 'data' mchar_io.c:229: error: 'MVarChar' has no member named 'data' mchar_io.c:229: error: 'MChar' has no member named 'data' mchar_io.c:229: error: 'MChar' has no member named 'data' mchar_io.c:231: warning: implicit declaration of function 'FillWhiteSpace' mchar_io.c:231: error: 'MVarChar' has no member named 'data' mchar_io.c:234: error: 'MVarChar' has no member named 'data' In file included from mchar_recode.c:1: mchar.h:7:27: error: unicode/uchar.h: No such file or directory mchar.h:8:29: error: unicode/ustring.h: No such file or directory In file included from mchar_recode.c:1: mchar.h:14: error: expected specifier-qualifier-list before 'UChar' mchar.h:31: error: expected specifier-qualifier-list before 'UChar' mchar_io.c: In function 'mchar_send': mchar_io.c:248: error: 'MChar' has no member named 'data'mchar.h:47: error: expected declaration specifiers or '...' before 'UChar' mchar_io.c:248: error: 'UChar' undeclared (first use in this function) mchar_io.c:249: error: 'MChar' has no member named 'data' mchar_io.c:255: error: 'MChar' has no member named 'data' mchar_io.c:259: error: 'white' undeclared (first use in this function) mchar.h:48: warning: type defaults to 'int' in declaration of 'UChar' mchar.h:48: error: expected ';', ',' or ')' before '*' token mchar_io.c: In function 'mchar_recv': mchar_io.c:284: error: 'MChar' has no member named 'data' mchar_io.c:285: error: 'MChar' has no member named 'data' mchar_io.c:287: error: 'MChar' has no member named 'data' mchar.h:49: error: expected ')' before '*' token mchar_io.c: In function 'mvarchar_send': mchar_io.c:299: error: 'MVarChar' has no member named 'data' mchar_io.c:299: error: 'UChar' undeclared (first use in this function) mchar_io.c:303: error: 'MVarChar' has no member named 'data' mchar.h:50: error: expected ')' before '*' token mchar.h:51: error: expected ')' before '*' token mchar.h:53: error: expected ')' before '*' token mchar_recode.c:3:26: error: unicode/ucol.h: No such file or directory mchar_recode.c:4:26:mchar_io.c: In function 'mvarchar_recv': mchar_io.c:323: error: 'MVarChar' has no member named 'data' mchar_io.c:324: error: 'MVarChar' has no member named 'data' mchar_io.c:325: error: 'MVarChar' has no member named 'data' error: unicode/ucnv.h: No such file or directoryIn file included from mchar_op.c:1: mchar.h:7:27: mchar_recode.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mchar_recode.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mchar_recode.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mchar_recode.c: In function 'createUObjs': mchar_recode.c:12: error: 'cnvDB' undeclared (first use in this function) mchar_recode.c:12: error: (Each undeclared identifier is reported only once mchar_recode.c:12: error: for each function it appears in.) mchar_recode.c:13: error: 'UErrorCode' undeclared (first use in this function) mchar_recode.c:13: error: expected ';' before 'err' mchar_recode.c:16: warning: implicit declaration of function 'ucnv_open' mchar_recode.c:16: error: 'err' undeclared (first use in this function) mchar_recode.c:19: warning: implicit declaration of function 'U_FAILURE' error: unicode/uchar.h: No such file or directorymchar_recode.c:20: warning: implicit declaration of function 'u_errorName' mchar_recode.c:20: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_recode.c:23: error: 'colCaseInsensitive' undeclared (first use in this function) mchar_recode.c:24: error: expected ';' before 'err' mchar_recode.c:26: warning: implicit declaration of function 'ucol_open' mchar_recode.c:28: error: 'colCaseSensitive' undeclared (first use in this function) mchar_recode.c:29: warning: implicit declaration of function 'ucol_close' mchar_recode.c:31: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_recode.c:34: warning: implicit declaration of function 'ucol_setStrength' mchar_recode.c:34: error: 'UCOL_SECONDARY' undeclared (first use in this function) mchar_recode.c:38: error: expected ';' before 'err' mchar_recode.c:45: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_recode.c:48: warning: implicit declaration of function 'ucol_setAttribute' mchar_recode.c:48: error: 'UCOL_CASE_FIRST' undeclared (first use in this function) mchar_recode.c:48: error: 'UCOL_UPPER_FIRST' undeclared (first use in this function) mchar.h:8:29: error: unicode/ustring.h: No such file or directory mchar_recode.c:53: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_recode.c: At top level: mchar_recode.c:59: error: expected declaration specifiers or '...' before 'UChar' In file included from mchar_op.c:1: mchar.h:14: error: expected specifier-qualifier-list before 'UChar' make[1]: *** [mchar_io.o] Error 1 mchar.h:31: error: expected specifier-qualifier-list before 'UChar' make[1]: *** Waiting for unfinished jobs.... mchar_recode.c: In function 'Char2UChar': mchar_recode.c:61: error: 'UErrorCode' undeclared (first use in this function) mchar_recode.c:61: error: expected ';' before 'err' mchar.h:47: error: expected declaration specifiers or '...' before 'UChar'mchar_recode.c:64: warning: implicit declaration of function 'ucnv_toUChars' mchar_recode.c:64: error: 'cnvDB' undeclared (first use in this function)mchar.h:48: warning: type defaults to 'int' in declaration of 'UChar' mchar.h:48: error: expected ';', ',' or ')' before '*' token mchar_recode.c:64: error: 'dst' undeclared (first use in this function) mchar_recode.c:64: error: 'err' undeclared (first use in this function) mchar.h:49: error: expected ')' before '*' token mchar.h:50: error: expected ')' before '*' token mchar.h:51: error: expected ')' before '*' token mchar_recode.c:66: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar.h:53: error: expected ')' before '*' token mchar_recode.c: At top level: mchar_recode.c:72: warning: type defaults to 'int' in declaration of 'UChar' mchar_op.c: In function 'mchar_icase_compare':mchar_recode.c:72: error: expected ';', ',' or ')' before '*' token mchar_op.c:6: warning: implicit declaration of function 'UCharCaseCompare' mchar_recode.c:85: error: expected ')' before '*' token mchar_op.c:7: error: 'MChar' has no member named 'data' mchar_recode.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'UCharWhiteSpace' mchar_recode.c:99: error: expected ')' before '*' token mchar_recode.c:115: error: expected ')' before '*' token mchar_op.c:7: error: 'MChar' has no member named 'data'mchar_recode.c:125: error: expected ')' before '*' token mchar_op.c:7: error: 'UChar' undeclared (first use in this function) mchar_op.c:7: error: (Each undeclared identifier is reported only once mchar_op.c:7: error: for each function it appears in.) mchar_op.c:8: error: 'MChar' has no member named 'data' mchar_op.c:8: error: 'MChar' has no member named 'data' mchar_op.c: In function 'mchar_case_compare': mchar_op.c:14: warning: implicit declaration of function 'UCharCompare' mchar_op.c:15: error: 'MChar' has no member named 'data' mchar_op.c:15: error: 'MChar' has no member named 'data' mchar_op.c:15: error: 'UChar' undeclared (first use in this function) mchar_op.c:16: error: 'MChar' has no member named 'data' mchar_op.c:16: error: 'MChar' has no member named 'data' make[1]: *** [mchar_recode.o] Error 1 mchar_op.c: In function 'mchar_concat': mchar_op.c:86: warning: implicit declaration of function 'u_countChar32' mchar_op.c:86: error: 'MChar' has no member named 'data' mchar_op.c:86: error: 'MChar' has no member named 'data' mchar_op.c:86: error: 'UChar' undeclared (first use in this function) mchar_op.c:87: error: 'MChar' has no member named 'data' mchar_op.c:87: error: 'MChar' has no member named 'data' mchar_op.c:93: error: 'MChar' has no member named 'data' mchar_op.c:95: error: 'MChar' has no member named 'data' mchar_op.c:97: error: 'MChar' has no member named 'data' mchar_op.c:97: error: 'MChar' has no member named 'data' mchar_op.c:97: error: 'MChar' has no member named 'data' mchar_op.c:99: warning: implicit declaration of function 'FillWhiteSpace' mchar_op.c:99: error: 'MChar' has no member named 'data' mchar_op.c:103: error: 'MChar' has no member named 'data' mchar_op.c:104: error: 'MChar' has no member named 'data' mchar_op.c:104: error: 'MChar' has no member named 'data' mchar_proc.c: In function 'mchar_length': mchar_proc.c:11: error: 'MChar' has no member named 'data' mchar_op.c:104: error: 'MChar' has no member named 'data' mchar_proc.c:11: error: 'UChar' undeclared (first use in this function) mchar_proc.c:11: error: (Each undeclared identifier is reported only once mchar_proc.c:11: error: for each function it appears in.) mchar_op.c:105: error: 'MChar' has no member named 'data' mchar_proc.c:13: warning: implicit declaration of function 'u_isspace' mchar_proc.c:13: error: 'MChar' has no member named 'data' mchar_op.c:108: error: 'MChar' has no member named 'data' mchar_proc.c:16: warning: implicit declaration of function 'u_countChar32' mchar_proc.c:16: error: 'MChar' has no member named 'data' mchar_op.c:113: error: 'MChar' has no member named 'data' mchar_proc.c: In function 'mvarchar_length': mchar_proc.c:29: error: 'MVarChar' has no member named 'data' mchar_proc.c:29: error: 'UChar' undeclared (first use in this function) mchar_proc.c:31: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'lengthWithoutSpace': mchar_op.c:124: error: 'MVarChar' has no member named 'data' mchar_proc.c:34: error: 'MVarChar' has no member named 'data' mchar_op.c:124: error: 'UChar' undeclared (first use in this function) mchar_op.c:126: warning: implicit declaration of function 'u_isspace' mchar_op.c:126: error: 'MVarChar' has no member named 'data' mchar_proc.c: At top level: mchar_op.c: In function 'mvarchar_icase_compare': mchar_proc.c:43: error: expected ')' before '*' token mchar_op.c:136: error: 'MVarChar' has no member named 'data' mchar_op.c:137: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'mvarchar_case_compare': mchar_op.c:144: error: 'MVarChar' has no member named 'data' mchar_op.c:145: error: 'MVarChar' has no member named 'data' mchar_proc.c: In function 'mchar_substring': mchar_proc.c:99: warning: implicit declaration of function 'uchar_substring' mchar_proc.c:100: error: 'MChar' has no member named 'data' mchar_proc.c:100: error: 'MChar' has no member named 'data' mchar_proc.c:100: error: 'UChar' undeclared (first use in this function) mchar_proc.c:102: error: 'MChar' has no member named 'data' mchar_proc.c:105: error: 'MChar' has no member named 'data' mchar_proc.c: In function 'mchar_substring_no_len': mchar_proc.c:121: error: 'MChar' has no member named 'data' mchar_proc.c:121: error: 'MChar' has no member named 'data' mchar_proc.c:121: error: 'UChar' undeclared (first use in this function) mchar_proc.c:123: error: 'MChar' has no member named 'data' mchar_proc.c:126: error: 'MChar' has no member named 'data' mchar_proc.c: In function 'mvarchar_substring': mchar_proc.c:142: error: 'MVarChar' has no member named 'data' mchar_proc.c:142: error: 'MVarChar' has no member named 'data' mchar_proc.c:142: error: 'UChar' undeclared (first use in this function) mchar_proc.c:144: error: 'MVarChar' has no member named 'data' mchar_proc.c:146: error: 'MVarChar' has no member named 'data' mchar_proc.c: In function 'mvarchar_substring_no_len': mchar_proc.c:162: error: 'MVarChar' has no member named 'data' mchar_proc.c:162: error: 'MVarChar' has no member named 'data' mchar_proc.c:162: error: 'UChar' undeclared (first use in this function) mchar_proc.c:164: error: 'MVarChar' has no member named 'data' mchar_proc.c:166: error: 'MVarChar' has no member named 'data' mchar_proc.c: At top level: mchar_proc.c:173: error: expected ')' before '*' token mchar_proc.c: In function 'mvarchar_hash': mchar_proc.c:201: warning: implicit declaration of function 'hash_uchar' mchar_proc.c:201: error: 'MVarChar' has no member named 'data' mchar_proc.c: In function 'mchar_hash': mchar_proc.c:213: error: 'MChar' has no member named 'data' mchar_proc.c:213: error: 'MChar' has no member named 'data' mchar_proc.c:213: error: 'UChar' undeclared (first use in this function) mchar_proc.c: In function 'mchar_upper': mchar_proc.c:226: error: 'MChar' has no member named 'data' mchar_proc.c:228: error: 'MChar' has no member named 'data' mchar_proc.c:228: error: 'UChar' undeclared (first use in this function) mchar_proc.c:230: error: 'UErrorCode' undeclared (first use in this function) mchar_proc.c:230: error: expected ';' before 'err' mchar_proc.c:232: warning: implicit declaration of function 'u_strToUpper' mchar_proc.c:232: error: 'MChar' has no member named 'data' mchar_proc.c:232: error: 'MChar' has no member named 'data' mchar_proc.c:233: error: 'MChar' has no member named 'data' mchar_proc.c:233: error: 'MChar' has no member named 'data' mchar_proc.c:234: error: 'err' undeclared (first use in this function) mchar_proc.c:238: warning: implicit declaration of function 'U_FAILURE' mchar_proc.c:239: warning: implicit declaration of function 'u_errorName' mchar_proc.c:239: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_proc.c: In function 'mchar_lower': mchar_proc.c:255: error: 'MChar' has no member named 'data' mchar_proc.c:257: error: 'MChar' has no member named 'data' mchar_proc.c:257: error: 'UChar' undeclared (first use in this function) mchar_proc.c:259: error: 'UErrorCode' undeclared (first use in this function) mchar_proc.c:259: error: expected ';' before 'err' mchar_proc.c:261: warning: implicit declaration of function 'u_strToLower' mchar_proc.c:261: error: 'MChar' has no member named 'data' mchar_proc.c:261: error: 'MChar' has no member named 'data' mchar_proc.c:262: error: 'MChar' has no member named 'data' mchar_proc.c:262: error: 'MChar' has no member named 'data' mchar_proc.c:263: error: 'err' undeclared (first use in this function) mchar_proc.c:268: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_proc.c: In function 'mvarchar_upper': mchar_proc.c:284: error: 'MVarChar' has no member named 'data' mchar_proc.c:286: error: 'MVarChar' has no member named 'data' mchar_proc.c:286: error: 'UChar' undeclared (first use in this function) mchar_proc.c:288: error: 'UErrorCode' undeclared (first use in this function) mchar_proc.c:288: error: expected ';' before 'err' mchar_proc.c:290: error: 'MVarChar' has no member named 'data' mchar_proc.c:290: error: 'MVarChar' has no member named 'data' mchar_proc.c:291: error: 'MVarChar' has no member named 'data' mchar_proc.c:291: error: 'MVarChar' has no member named 'data' mchar_proc.c:292: error: 'err' undeclared (first use in this function) mchar_proc.c:297: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_op.c: In function 'mvarchar_concat': mchar_proc.c: In function 'mvarchar_lower': mchar_op.c:214: error: 'MVarChar' has no member named 'data'mchar_proc.c:313: error: 'MVarChar' has no member named 'data' mchar_proc.c:315: error: 'MVarChar' has no member named 'data' mchar_op.c:214: error: 'MVarChar' has no member named 'data'mchar_proc.c:315: error: 'UChar' undeclared (first use in this function) mchar_op.c:214: error: 'UChar' undeclared (first use in this function) mchar_proc.c:317: error: 'UErrorCode' undeclared (first use in this function) mchar_proc.c:317: error: expected ';' before 'err' mchar_op.c:215: error: 'MVarChar' has no member named 'data' mchar_proc.c:319: error: 'MVarChar' has no member named 'data' mchar_op.c:215: error: 'MVarChar' has no member named 'data' mchar_proc.c:319: error: 'MVarChar' has no member named 'data' mchar_proc.c:320: error: 'MVarChar' has no member named 'data' mchar_op.c:217: error: 'MVarChar' has no member named 'data' mchar_proc.c:320: error: 'MVarChar' has no member named 'data' mchar_proc.c:321: error: 'err' undeclared (first use in this function) mchar_op.c:219: error: 'MVarChar' has no member named 'data' mchar_op.c:221: error: 'MVarChar' has no member named 'data' mchar_op.c:221: error: 'MVarChar' has no member named 'data' mchar_op.c:221: error: 'MVarChar' has no member named 'data' mchar_proc.c:326: warning: format '%s' expects type 'char *', but argument 4 has type 'int' mchar_op.c:223: error: 'MVarChar' has no member named 'data' mchar_op.c:224: error: 'MVarChar' has no member named 'data' mchar_op.c:224: error: 'MVarChar' has no member named 'data' mchar_op.c:224: error: 'MVarChar' has no member named 'data' mchar_op.c:225: error: 'MVarChar' has no member named 'data' mchar_op.c:228: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'mchar_mvarchar_concat': mchar_op.c:244: error: 'MChar' has no member named 'data' mchar_op.c:244: error: 'MChar' has no member named 'data' mchar_op.c:244: error: 'UChar' undeclared (first use in this function) mchar_op.c:245: error: 'MVarChar' has no member named 'data' mchar_op.c:245: error: 'MVarChar' has no member named 'data' mchar_op.c:249: error: 'MVarChar' has no member named 'data' mchar_op.c:251: error: 'MChar' has no member named 'data' mchar_op.c:253: error: 'MVarChar' has no member named 'data' mchar_op.c:253: error: 'MChar' has no member named 'data' mchar_op.c:253: error: 'MChar' has no member named 'data' mchar_op.c:255: error: 'MVarChar' has no member named 'data' mchar_op.c:259: error: 'MVarChar' has no member named 'data' mchar_op.c:260: error: 'MVarChar' has no member named 'data' mchar_op.c:260: error: 'MVarChar' has no member named 'data' mchar_op.c:260: error: 'MVarChar' has no member named 'data' mchar_op.c:261: error: 'MVarChar' has no member named 'data' mchar_op.c:264: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'mvarchar_mchar_concat': mchar_op.c:280: error: 'MVarChar' has no member named 'data' mchar_op.c:280: error: 'MVarChar' has no member named 'data' make[1]: *** [mchar_proc.o] Error 1 mchar_op.c:280: error: 'UChar' undeclared (first use in this function) mchar_op.c:281: error: 'MChar' has no member named 'data' mchar_op.c:281: error: 'MChar' has no member named 'data' mchar_op.c:285: error: 'MVarChar' has no member named 'data' mchar_op.c:287: error: 'MVarChar' has no member named 'data' mchar_op.c:289: error: 'MVarChar' has no member named 'data' mchar_op.c:289: error: 'MVarChar' has no member named 'data' mchar_op.c:289: error: 'MVarChar' has no member named 'data' mchar_op.c:291: error: 'MChar' has no member named 'data' mchar_op.c:292: error: 'MVarChar' has no member named 'data' mchar_op.c:292: error: 'MChar' has no member named 'data' mchar_op.c:292: error: 'MChar' has no member named 'data' mchar_op.c:293: error: 'MChar' has no member named 'data' mchar_op.c:296: error: 'MVarChar' has no member named 'data' mchar_op.c:300: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'mc_mv_icase_compare': mchar_op.c:314: error: 'MChar' has no member named 'data' mchar_op.c:314: error: 'MChar' has no member named 'data' mchar_op.c:314: error: 'UChar' undeclared (first use in this function) mchar_op.c:315: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'mc_mv_case_compare': mchar_op.c:322: error: 'MChar' has no member named 'data' mchar_op.c:322: error: 'MChar' has no member named 'data' mchar_op.c:322: error: 'UChar' undeclared (first use in this function) mchar_op.c:323: error: 'MVarChar' has no member named 'data' mchar_op.c: In function 'mv_mc_icase_compare': mchar_op.c:364: error: 'MVarChar' has no member named 'data' mchar_op.c:365: error: 'MChar' has no member named 'data' mchar_op.c:365: error: 'MChar' has no member named 'data' mchar_op.c:365: error: 'UChar' undeclared (first use in this function) mchar_op.c: In function 'mv_mc_case_compare': mchar_op.c:372: error: 'MVarChar' has no member named 'data' mchar_op.c:373: error: 'MChar' has no member named 'data' mchar_op.c:373: error: 'MChar' has no member named 'data' mchar_op.c:373: error: 'UChar' undeclared (first use in this function) make[1]: *** [mchar_op.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-8.2.4/contrib/mchar' make: *** [all] Error 2 make: Leaving directory `/usr/src/redhat/BUILD/postgresql-8.2.4/contrib' ошибка: Неверный код возврата из /var/tmp/rpm-tmp.72500 (%build) Ошибки сборки пакетов: Неверный код возврата из /var/tmp/rpm-tmp.72500 (%build)

В чем косяк?
ОСЬ FC8 i386
Спасибо сказали:
LVS
Сообщения: 264
Статус: All Hail Random
ОС: Kubuntu, CentOS, Slackware

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение LVS »

Что мешает использовать бинарные пакеты?
Спасибо сказали:
Deicide
Сообщения: 11

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение Deicide »

Незнание где их откопать :)
Я только этим занялся :)
Спасибо сказали:
LVS
Сообщения: 264
Статус: All Hail Random
ОС: Kubuntu, CentOS, Slackware

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение LVS »

Спасибо сказали:
zlob
Сообщения: 8

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение zlob »

Deicide писал(а):
07.08.2008 10:08
при сборке собсно сорцов вылетает вот с таким ошибком:

mchar.h:7:27: error: unicode/uchar.h: No such file or directory
mchar.h:8:29: error: unicode/ustring.h: No such file or directory


В чем косяк?
ОСЬ FC8 i386


Нужно поставить ICU причем версии 3.4
Спасибо сказали:
bsavelev
Сообщения: 231
ОС: Debian

Re: PostgreSQL 8.2.4 1C не запускается на slackware

Сообщение bsavelev »

3.8 тоже подойдет. она поновее.

LVS писал(а):
19.07.2008 12:55
Усе. Разобрался.
Необходимо было чуть уменьшить значение shared_buffers в /usr/share/pgsql/postgresql.conf.sample
Я поставил 24M вместо 32M.

Еще для удобвства выкладываю рабочий скрипт /etc/init.d/postgresql

об этом пишут в /var/lib/pgsql/что-то.log
с буфером надо аккуратно. иногда лучше увеличить kernel.shmmax
Спасибо сказали: