Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Informix [игнор отключен] [закрыт для гостей] / установка модуля: Informix 9 + RedHat 7.3 + Python 2.4 + InformixDB 2.1 = ?? / 1 сообщений из 1, страница 1 из 1
03.03.2006, 16:35
    #33580816
q___l
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
установка модуля: Informix 9 + RedHat 7.3 + Python 2.4 + InformixDB 2.1 = ??
Здравствуйте!

Я ставлю на линуксовую машину питоновский модуль informixdb 2.1. При компиляции получаю следующее сообщение:

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
[root@linux2 InformixDB-2.1]# python setup.py build_ext
running build_ext
/informix/var/bin/esql -e _informixdb.ec
building '_informixdb' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DPYTHON_INCLUDE=/usr/local/include/python2.4 -DHAVE_C_DATETIME=1 -DHAVE_PY_BOOL=1 -Iext -I/informix/var/incl/esql -I/usr/local/include/python2.4 -c ext/_informixdb.c -o build/temp.linux-i686-2.4/ext/_informixdb.o
In file included from ext/_informixdb.c:1:
/informix/var/incl/esql/sqlhdr.h:698: warning: function declaration isn't a prototype
/informix/var/incl/esql/sqlhdr.h:699: warning: function declaration isn't a prototype
/informix/var/incl/esql/sqlhdr.h:700: warning: function declaration isn't a prototype
_informixdb.ec: In function `doCopy':
_informixdb.ec:1889: warning: unused variable `__iesql1__'
_informixdb.ec:1908: warning: unused variable `__iesql2__'
_informixdb.ec: In function `Sblob_init':
_informixdb.ec:3155: warning: value computed is not used
_informixdb.ec:3160: warning: value computed is not used
_informixdb.ec:3166: warning: value computed is not used
_informixdb.ec:3172: warning: value computed is not used
_informixdb.ec:3182: warning: value computed is not used
_informixdb.ec:3192: warning: value computed is not used
_informixdb.ec:3198: warning: value computed is not used
_informixdb.ec:3204: warning: value computed is not used
_informixdb.ec: In function `init_informixdb':
_informixdb.ec:3679: `LO_ATTR_TEMP' undeclared (first use in this function)
_informixdb.ec:3679: (Each undeclared identifier is reported only once
_informixdb.ec:3679: for each function it appears in.)
error: command 'gcc' failed with exit status 1

Поскольку единственный результат поиска гулгем по имени констаты приводит в файл esql.c, думаю, что проблема в установке Informix'а: константы LO_ATTR_TEMP нету ни в одном из заголовочных файлов на машине. Если у кого-нибудь есть машина с установленным информиксом и ESQL/C - можете поискать эту константу в /informix/*.h ?

Прочие идеи о том, что может быть не так, тоже приветствуются.
...
Рейтинг: 0 / 0
Форумы / Informix [игнор отключен] [закрыт для гостей] / установка модуля: Informix 9 + RedHat 7.3 + Python 2.4 + InformixDB 2.1 = ?? / 1 сообщений из 1, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]