thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Amarillento <o7...@yahoo.com>
Subject Re: Error on $ make
Date Wed, 15 Sep 2010 08:21:09 GMT
I tried to make install also:

$ sudo make install
make  install-am
make[1]: Entering directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
make[2]: Entering directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c thrift '/usr/local/bin'
libtool: install: /usr/bin/install -c thrift /usr/local/bin/thrift
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
make[1]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'

Is that fine? Please advice. Thanks :)

--- On Wed, 9/15/10, samal gorai <samalgorai@gmail.com> wrote:

From: samal gorai <samalgorai@gmail.com>
Subject: Re: Error on $ make
To: thrift-user@incubator.apache.org
Date: Wednesday, September 15, 2010, 2:25 PM

Check for python-devel in your system.


On Wed, Sep 15, 2010 at 10:53 AM, Paolo Amarillento <o70vd@yahoo.com> wrote:

> Hello I've got an error after running $ make. :( Is that fine? Please
> advice. Thanks. :)
>
> $ make
> make  all-recursive
> make[1]: Entering directory `/home/nino/Downloads/thrift-0.4.0'
> Making all in compiler/cpp
> make[2]: Entering directory
> `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
> make  all-am
> make[3]: Entering directory
> `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
> make[2]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/compiler/cpp'
> Making all in lib
> make[2]: Entering directory `/home/nino/Downloads/thrift-0.4.0/lib'
> Making all in cpp
> make[3]: Entering directory `/home/nino/Downloads/thrift-0.4.0/lib/cpp'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/lib/cpp'
> Making all in py
> make[3]: Entering directory `/home/nino/Downloads/thrift-0.4.0/lib/py'
> /usr/bin/python setup.py build
> running build
> running build_py
> running build_ext
> building 'thrift.protocol.fastbinary' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c
> src/protocol/fastbinary.c -o
> build/temp.linux-x86_64-2.6/src/protocol/fastbinary.o
> src/protocol/fastbinary.c:20:20: error: Python.h: No such file or directory
> src/protocol/fastbinary.c:21:23: error: cStringIO.h: No such file or
> directory
> src/protocol/fastbinary.c:123: error: expected specifier-qualifier-list
> before ‘PyObject’
> src/protocol/fastbinary.c:133: error: expected specifier-qualifier-list
> before ‘PyObject’
> src/protocol/fastbinary.c:142: error: expected specifier-qualifier-list
> before ‘PyObject’
> src/protocol/fastbinary.c:153: error: expected specifier-qualifier-list
> before ‘PyObject’
> src/protocol/fastbinary.c:163: error: expected specifier-qualifier-list
> before ‘PyObject’
> src/protocol/fastbinary.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> src/protocol/fastbinary.c:170: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> src/protocol/fastbinary.c: In function ‘check_ssize_t_32’:
> src/protocol/fastbinary.c:175: warning: implicit declaration of function
> ‘PyErr_Occurred’
> src/protocol/fastbinary.c:179: warning: implicit declaration of function
> ‘PyErr_SetString’
> src/protocol/fastbinary.c:179: error: ‘PyExc_OverflowError’ undeclared
> (first use in this function)
> src/protocol/fastbinary.c:179: error: (Each undeclared identifier is
> reported only once
> src/protocol/fastbinary.c:179: error: for each function it appears in.)
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:186: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:205: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c: In function ‘parse_set_list_args’:
> src/protocol/fastbinary.c:206: warning: implicit declaration of function
> ‘PyTuple_Size’
> src/protocol/fastbinary.c:206: error: ‘typeargs’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:207: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c:211: warning: implicit declaration of function
> ‘PyInt_AsLong’
> src/protocol/fastbinary.c:211: warning: implicit declaration of function
> ‘PyTuple_GET_ITEM’
> src/protocol/fastbinary.c:216: error: ‘SetListTypeArgs’ has no member named
> ‘typeargs’
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:222: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c: In function ‘parse_map_args’:
> src/protocol/fastbinary.c:223: error: ‘typeargs’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:224: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c:238: error: ‘MapTypeArgs’ has no member named
> ‘ktypeargs’
> src/protocol/fastbinary.c:239: error: ‘MapTypeArgs’ has no member named
> ‘vtypeargs’
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:245: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c: In function ‘parse_struct_args’:
> src/protocol/fastbinary.c:246: error: ‘typeargs’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:247: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c:251: error: ‘StructTypeArgs’ has no member named
> ‘klass’
> src/protocol/fastbinary.c:252: error: ‘StructTypeArgs’ has no member named
> ‘spec’
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:258: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c: In function ‘parse_struct_item_spec’:
> src/protocol/fastbinary.c:261: error: ‘spec_tuple’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:262: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c:276: error: ‘StructItemSpec’ has no member named
> ‘attrname’
> src/protocol/fastbinary.c:277: error: ‘StructItemSpec’ has no member named
> ‘typeargs’
> src/protocol/fastbinary.c:278: error: ‘StructItemSpec’ has no member named
> ‘defval’
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:289: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:294: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:299: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:304: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:309: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:323: error: expected ‘)’ before ‘*’ token
> src/protocol/fastbinary.c:569: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> src/protocol/fastbinary.c: In function ‘free_decodebuf’:
> src/protocol/fastbinary.c:598: warning: implicit declaration of function
> ‘Py_XDECREF’
> src/protocol/fastbinary.c:598: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:599: error: ‘DecodeBuffer’ has no member named
> ‘refill_callable’
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:603: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c: In function ‘decode_buffer_from_obj’:
> src/protocol/fastbinary.c:604: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:604: warning: implicit declaration of function
> ‘PyObject_GetAttr’
> src/protocol/fastbinary.c:604: error: ‘obj’ undeclared (first use in this
> function)
> src/protocol/fastbinary.c:604: error: ‘_intern_cstringio_buf’ undeclared
> (first use in this function)
> src/protocol/fastbinary.c:605: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:609: warning: implicit declaration of function
> ‘PycStringIO_InputCheck’
> src/protocol/fastbinary.c:609: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:611: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c:615: error: ‘DecodeBuffer’ has no member named
> ‘refill_callable’
> src/protocol/fastbinary.c:615: error: ‘_intern_cstringio_refill’ undeclared
> (first use in this function)
> src/protocol/fastbinary.c:617: error: ‘DecodeBuffer’ has no member named
> ‘refill_callable’
> src/protocol/fastbinary.c:622: warning: implicit declaration of function
> ‘PyCallable_Check’
> src/protocol/fastbinary.c:622: error: ‘DecodeBuffer’ has no member named
> ‘refill_callable’
> src/protocol/fastbinary.c: In function ‘readBytes’:
> src/protocol/fastbinary.c:638: error: ‘PycStringIO’ undeclared (first use
> in this function)
> src/protocol/fastbinary.c:638: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:645: error: ‘PyObject’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:645: error: ‘newiobuf’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:648: warning: implicit declaration of function
> ‘PyObject_CallFunction’
> src/protocol/fastbinary.c:649: error: ‘DecodeBuffer’ has no member named
> ‘refill_callable’
> src/protocol/fastbinary.c:649: error: ‘NULL’ undeclared (first use in this
> function)
> src/protocol/fastbinary.c:655: warning: implicit declaration of function
> ‘Py_CLEAR’
> src/protocol/fastbinary.c:655: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:656: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:658: error: ‘DecodeBuffer’ has no member named
> ‘stringiobuf’
> src/protocol/fastbinary.c:666: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c: In function ‘checkTypeByte’:
> src/protocol/fastbinary.c:730: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c: In function ‘skip’:
> src/protocol/fastbinary.c:842: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:855: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> src/protocol/fastbinary.c:859: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c:859: error: expected declaration specifiers or
> ‘...’ before ‘PyObject’
> src/protocol/fastbinary.c: In function ‘decode_struct’:
> src/protocol/fastbinary.c:860: error: ‘spec_seq’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:868: error: ‘PyObject’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:868: error: ‘item_spec’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:869: error: ‘fieldval’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:869: error: ‘NULL’ undeclared (first use in this
> function)
> src/protocol/fastbinary.c:886: error: ‘Py_None’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:897: error: too many arguments to function
> ‘parse_struct_item_spec’
> src/protocol/fastbinary.c:902: error: ‘PyExc_TypeError’ undeclared (first
> use in this function)
> src/protocol/fastbinary.c:909: warning: implicit declaration of function
> ‘decode_val’
> src/protocol/fastbinary.c:909: error: ‘StructItemSpec’ has no member named
> ‘typeargs’
> src/protocol/fastbinary.c:914: warning: implicit declaration of function
> ‘PyObject_SetAttr’
> src/protocol/fastbinary.c:914: error: ‘output’ undeclared (first use in
> this function)
> src/protocol/fastbinary.c:914: error: ‘StructItemSpec’ has no member named
> ‘attrname’
> src/protocol/fastbinary.c:915: warning: implicit declaration of function
> ‘Py_DECREF’
> src/protocol/fastbinary.c: At top level:
> src/protocol/fastbinary.c:927: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> src/protocol/fastbinary.c:1144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or
> ‘__attribute__’ before ‘*’ token
> src/protocol/fastbinary.c:1179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or
> ‘__attribute__’ before ‘ThriftFastBinaryMethods’
> src/protocol/fastbinary.c:1188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or
> ‘__attribute__’ before ‘initfastbinary’
> error: command 'gcc' failed with exit status 1
> make[3]: *** [all-local] Error 1
> make[3]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/lib/py'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/nino/Downloads/thrift-0.4.0/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/nino/Downloads/thrift-0.4.0'
> make: *** [all] Error 2
>
>
>
>
>



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message