You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Yuri Levinsky <yu...@celltick.com> on 2013/07/24 10:52:05 UTC

thrift installation fails on SUN Solaris 10.

Dear developers,
Please help me with the following issue: I am installing thrift by issuing "pip install thrift" and getting the error below..

Running setup.py install for thrift
    building 'thrift.protocol.fastbinary' extension
    gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.6 -c src/protocol/fastbinary.c -o build/temp.solaris-2.10-sun4v-2.6/src/protocol/fastbinary.o
    In file included from src/protocol/fastbinary.c:24:
    /usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment."
    src/protocol/fastbinary.c:100:4: #error "Cannot determine endianness"


The details:

1.       Python 2.6.2

2.      SUN Solaris 10

3.      gcc version 3.4.3

Many thanks in advance.

Sincerely yours,

[Description: Celltick logo_highres]
Yuri Levinsky, DBA
Celltick Technologies Ltd., 32 Maskit St., Herzliya 46733, Israel
Mobile: +972 54 6107703, Office: +972 9 9710239; Fax: +972 9 9710222


AW: thrift installation fails on SUN Solaris 10.

Posted by Roger Meier <ro...@bufferoverflow.ch>.
Please try a more recent compiler, gcc 4.x.x

-roger

 

Von: Yuri Levinsky [mailto:yuril@celltick.com] 
Gesendet: Mittwoch, 24. Juli 2013 10:52
An: user@thrift.apache.org
Betreff: thrift installation fails on SUN Solaris 10.

 

Dear developers, 

Please help me with the following issue: I am installing thrift by issuing
"pip install thrift" and getting the error below..

 

Running setup.py install for thrift

    building 'thrift.protocol.fastbinary' extension

    gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/usr/local/include/python2.6 -c
src/protocol/fastbinary.c -o
build/temp.solaris-2.10-sun4v-2.6/src/protocol/fastbinary.o

    In file included from src/protocol/fastbinary.c:24:

    /usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in
a c99 compilation environment."

    src/protocol/fastbinary.c:100:4: #error "Cannot determine endianness"

 

 

The details:

1.       Python 2.6.2

2.      SUN Solaris 10

3.      gcc version 3.4.3

 

Many thanks in advance.

 

Sincerely yours,

 

Description: Celltick logo_highres

Yuri Levinsky, DBA

Celltick Technologies Ltd., 32 Maskit St., Herzliya 46733, Israel

Mobile: +972 54 6107703, Office: +972 9 9710239; Fax: +972 9 9710222