sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
installing uniconvertor
ferpof
#1 Print Post
Posted on 31-07-2013 22:03
Member

Posts: 8
Joined: 20.05.11

Hi,
I downloaded the code for installing uniconvertor and printdesing and I obtained the following output enclosed below, reporting errors with gcc.

The dev packages are installed in my debian (squeeze version).

Regards and good luck

Fernando
--------------------------------------
[email protected]:~/DESCARGAS/printdesing/uniconvertor$python setup.py bdist_deb

produces the following output

running build
running build_py
running build_ext
building 'uc2.utils.streamfilter' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I/usr/include/python2.6 -c src/uc2/utils/streamfilter/streamfilter.c -o build/temp.linux-i686-2.6/src/uc2/utils/streamfilter/streamfilter.o
src/uc2/utils/streamfilter/streamfilter.c:24:20: error: Python.h: No existe el fichero o el directorio
In file included from src/uc2/utils/streamfilter/streamfilter.c:26:
src/uc2/utils/streamfilter/filterobj.h:31: error: expected declaration specifiers or '...' before '*' token
src/uc2/utils/streamfilter/filterobj.h:31: error: expected declaration specifiers or '...' before 'PyObject'
src/uc2/utils/streamfilter/filterobj.h:32: error: expected declaration specifiers or '...' before 'size_t'
src/uc2/utils/streamfilter/filterobj.h:32: warning: type defaults to 'int' in declaration of 'size_t'
src/uc2/utils/streamfilter/filterobj.h:32: error: 'size_t' declared as function returning a function
src/uc2/utils/streamfilter/filterobj.h:32: warning: function declaration isn't a prototype
src/uc2/utils/streamfilter/filterobj.h:33: error: expected declaration specifiers or '...' before 'PyObject'
src/uc2/utils/streamfilter/filterobj.h:34: error: 'filter_write_proc' declared as function returning a function
src/uc2/utils/streamfilter/filterobj.h:35: error: expected declaration specifiers or '...' before 'PyObject'
src/uc2/utils/streamfilter/filterobj.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/uc2/utils/streamfilter/filterobj.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/uc2/utils/streamfilter/filterobj.h:55: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:56: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/uc2/utils/streamfilter/filterobj.h:60: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:63: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:64: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:67: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:75: error: expected specifier-qualifier-list before 'PyObject_HEAD'
src/uc2/utils/streamfilter/filterobj.h:92: warning: return type defaults to 'int'
src/uc2/utils/streamfilter/filterobj.h:92: warning: function declaration isn't a prototype
src/uc2/utils/streamfilter/filterobj.h: In function 'DL_IMPORT':
src/uc2/utils/streamfilter/filterobj.h:92: error: expected declaration specifiers before 'FilterType'
src/uc2/utils/streamfilter/filterobj.h:118: error: expected 'Wink' before '*' token
src/uc2/utils/streamfilter/filterobj.h:119: error: expected ';' before 'size_t'
src/uc2/utils/streamfilter/filterobj.h:130: error: storage class specified for parameter 'Filter_Functions'
In file included from src/uc2/utils/streamfilter/streamfilter.c:27:
src/uc2/utils/streamfilter/linefilter.h:29: error: expected declaration specifiers before 'PyObject'
In file included from src/uc2/utils/streamfilter/streamfilter.c:28:
src/uc2/utils/streamfilter/subfilefilter.h:28: error: expected declaration specifiers before 'PyObject'
In file included from src/uc2/utils/streamfilter/streamfilter.c:29:
src/uc2/utils/streamfilter/base64filter.h:28: error: expected declaration specifiers before 'PyObject'
src/uc2/utils/streamfilter/base64filter.h:29: error: expected declaration specifiers before 'PyObject'
In file included from src/uc2/utils/streamfilter/streamfilter.c:30:
src/uc2/utils/streamfilter/stringfilter.h:29: error: expected declaration specifiers before 'PyObject'
In file included from src/uc2/utils/streamfilter/streamfilter.c:31:
src/uc2/utils/streamfilter/nullfilter.h:29: error: expected declaration specifiers before 'PyObject'
src/uc2/utils/streamfilter/nullfilter.h:30: error: expected declaration specifiers before 'PyObject'
In file included from src/uc2/utils/streamfilter/streamfilter.c:32:
src/uc2/utils/streamfilter/hexfilter.h:28: error: expected declaration specifiers before 'PyObject'
src/uc2/utils/streamfilter/hexfilter.h:29: error: expected declaration specifiers before 'PyObject'
In file included from src/uc2/utils/streamfilter/streamfilter.c:38:
src/uc2/utils/streamfilter/binfile.h:28: error: expected declaration specifiers before 'PyObject'
src/uc2/utils/streamfilter/streamfilter.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filter_functions'
src/uc2/utils/streamfilter/streamfilter.c:58: error: expected declaration specifiers before ';' token
src/uc2/utils/streamfilter/streamfilter.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'functions'
src/uc2/utils/streamfilter/streamfilter.c:77: error: expected declaration specifiers before ';' token
src/uc2/utils/streamfilter/streamfilter.c:80: error: expected declaration specifiers before 'DL_EXPORT'
src/uc2/utils/streamfilter/filterobj.h:130: error: declaration for parameter 'Filter_Functions' but no such parameter
src/uc2/utils/streamfilter/filterobj.h:98: error: declaration for parameter '_Filter_Overflow' but no such parameter
src/uc2/utils/streamfilter/filterobj.h:97: error: declaration for parameter '_Filter_Underflow' but no such parameter
src/uc2/utils/streamfilter/streamfilter.c:94: error: expected '{' at end of input
error: command 'gcc' failed with exit status 1
 
igor
#2 Print Post
Posted on 03-08-2013 20:21
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

src/uc2/utils/streamfilter/streamfilter.c:24:20: error: Python.h: No existe el fichero o el directorio
------------
The message means that you have not installed python dev package (in Ubuntu it's installed out-of-box)
Regards,

Igor Novikov
sK1 Project
 
Jump to Forum: