Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: проблема при сборке UniConvertor 1.1.2  (Прочитано 853 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Kravus

  • Автор темы
  • Любитель
  • *
  • Сообщений: 55
    • Просмотр профиля
Всем привет. Такая проблема. Не могу собрать UniConvertor 1.1.2, вот что пишется при сборке

running install
running build
running build_py
package init file 'src/app/modules/__init__.py' not found (or not a regular file)
package init file 'src/app/modules/__init__.py' not found (or not a regular file)
running build_ext
building 'uniconvertor.app.modules.streamfilter' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -I/usr/include/python2.5 -c src/modules/filter/streamfilter.c -o build/temp.linux-i686-2.5/src/modules/filter/streamfilter.o
src/modules/filter/streamfilter.c:24:20: error: Python.h: No such file or directory
In file included from src/modules/filter/streamfilter.c:26:
src/modules/filter/filterobj.h:31: error: expected declaration specifiers or ‘...’ before ‘*’ token
src/modules/filter/filterobj.h:31: error: expected declaration specifiers or ‘...’ before ‘PyObject’
src/modules/filter/filterobj.h:32: error: expected declaration specifiers or ‘...’ before ‘size_t’
src/modules/filter/filterobj.h:32: warning: type defaults to ‘int’ in declaration of ‘size_t’
src/modules/filter/filterobj.h:32: error: ‘size_t’ declared as function returning a function
src/modules/filter/filterobj.h:32: warning: function declaration isn’t a prototype
src/modules/filter/filterobj.h:33: error: expected declaration specifiers or ‘...’ before ‘PyObject’
src/modules/filter/filterobj.h:34: error: ‘filter_write_proc’ declared as function returning a function
src/modules/filter/filterobj.h:35: error: expected declaration specifiers or ‘...’ before ‘PyObject’
src/modules/filter/filterobj.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/modules/filter/filterobj.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/modules/filter/filterobj.h:55: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:56: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/modules/filter/filterobj.h:60: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:63: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:64: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:67: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:75: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
src/modules/filter/filterobj.h:92: warning: return type defaults to ‘int’
src/modules/filter/filterobj.h:92: warning: function declaration isn’t a prototype
src/modules/filter/filterobj.h: In function ‘DL_IMPORT’:
src/modules/filter/filterobj.h:92: error: expected declaration specifiers before ‘FilterType’
src/modules/filter/filterobj.h:118: error: expected ‘)’ before ‘*’ token
src/modules/filter/filterobj.h:119: error: expected ‘;’ before ‘size_t’
src/modules/filter/filterobj.h:130: error: storage class specified for parameter ‘Filter_Functions’
In file included from src/modules/filter/streamfilter.c:27:
src/modules/filter/linefilter.h:29: error: expected declaration specifiers before ‘PyObject’
In file included from src/modules/filter/streamfilter.c:28:
src/modules/filter/subfilefilter.h:28: error: expected declaration specifiers before ‘PyObject’
In file included from src/modules/filter/streamfilter.c:29:
src/modules/filter/base64filter.h:28: error: expected declaration specifiers before ‘PyObject’
src/modules/filter/base64filter.h:29: error: expected declaration specifiers before ‘PyObject’
In file included from src/modules/filter/streamfilter.c:30:
src/modules/filter/stringfilter.h:29: error: expected declaration specifiers before ‘PyObject’
In file included from src/modules/filter/streamfilter.c:31:
src/modules/filter/nullfilter.h:29: error: expected declaration specifiers before ‘PyObject’
src/modules/filter/nullfilter.h:30: error: expected declaration specifiers before ‘PyObject’
In file included from src/modules/filter/streamfilter.c:32:
src/modules/filter/hexfilter.h:28: error: expected declaration specifiers before ‘PyObject’
src/modules/filter/hexfilter.h:29: error: expected declaration specifiers before ‘PyObject’
In file included from src/modules/filter/streamfilter.c:38:
src/modules/filter/binfile.h:28: error: expected declaration specifiers before ‘PyObject’
src/modules/filter/streamfilter.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filter_functions’
src/modules/filter/streamfilter.c:58: error: expected declaration specifiers before ‘;’ token
src/modules/filter/streamfilter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘functions’
src/modules/filter/streamfilter.c:77: error: expected declaration specifiers before ‘;’ token
src/modules/filter/streamfilter.c:80: error: expected declaration specifiers before ‘DL_EXPORT’
src/modules/filter/filterobj.h:130: error: declaration for parameter ‘Filter_Functions’ but no such parameter
src/modules/filter/filterobj.h:98: error: declaration for parameter ‘_Filter_Overflow’ but no such parameter
src/modules/filter/filterobj.h:97: error: declaration for parameter ‘_Filter_Underflow’ but no such parameter
src/modules/filter/streamfilter.c:94: error: expected ‘{’ at end of input
error: command 'gcc' failed with exit status 1

чем ему не нравится gcc

Thread

  • Гость
Re: проблема при сборке UniConvertor 1.1.2
« Ответ #1 : 21 Май 2008, 10:00:37 »
src/modules/filter/streamfilter.c:24:20: error: Python.h: No such file or directory

python-dev

Оффлайн Kravus

  • Автор темы
  • Любитель
  • *
  • Сообщений: 55
    • Просмотр профиля
Re: проблема при сборке UniConvertor 1.1.2
« Ответ #2 : 21 Май 2008, 12:28:15 »
хелп, пытаюсь установить python-dev мне пишет

python-dev:
 Зависит: python (=2.5.1-0ubuntu3) but 2.5.1-1ubuntu2 is to be installed
 Зависит: python2.5-dev but it is not going to be installed

Оффлайн prokoudine

  • Заслуженный пользователь
  • Активист
  • *
  • Сообщений: 497
    • Просмотр профиля
    • Мультимедиа в Linux
Re: проблема при сборке UniConvertor 1.1.2
« Ответ #3 : 21 Май 2008, 15:06:43 »
Всем привет. Такая проблема. Не могу собрать UniConvertor 1.1.2
Чем-то не устраивает готовый .deb? :)

Thread

  • Гость
Re: проблема при сборке UniConvertor 1.1.2
« Ответ #4 : 21 Май 2008, 15:45:07 »
хелп, пытаюсь установить python-dev мне пишет

python-dev:
 Зависит: python (=2.5.1-0ubuntu3) but 2.5.1-1ubuntu2 is to be installed
 Зависит: python2.5-dev but it is not going to be installed

https://help.ubuntu.com/8.04/add-applications/C/index.html

 

Страница сгенерирована за 0.054 секунд. Запросов: 22.