[ 
https://issues.apache.org/jira/browse/THRIFT-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-2559.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.2
         Assignee: Randy Abernethy

Hey [~JDP10101],  since this is working in trunk i'm going to close and will 
create a new tracking ticket for making a Vagrantfile for centos and creating 
the RPM's similar to how the ubuntu one is setup. if you have the time would 
love to see new contributions for this, if not i'll try and take a look into it 
when i have some free time later on 

> Centos 6.5 unable to "make" with Thrift 0.9.1
> ---------------------------------------------
>
>                 Key: THRIFT-2559
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2559
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.9.1
>         Environment: Centos 6.5
>            Reporter: Joe Percivall
>            Assignee: Randy Abernethy
>            Priority: Blocker
>             Fix For: 0.9.2
>
>
> This bug is in reference to a stack overflow issue: 
> http://stackoverflow.com/questions/23917118/issue-statically-compiling-thrift-0-9-0-on-centos-6-5/23934742?noredirect=1#comment36907016_23934742
> I am attempting to setup and retrieve the static binaries for thrift 0.9.1 on 
> centos 6.5. I follow the steps laid out in this link: 
> http://thrift.apache.org/docs/install/centos. Following those steps I hit an 
> error when attempting to do a "make".  The output is copied below. I didn't 
> delete the '\'s to encourage readability because I wanted to give an output 
> that was exactly as it put out. If necessary I can put a more readable 
> version in the comments.
> The centos box I used is here: 
> https://github.com/2creatives/vagrant-centos/releases/download/v6.5.1/centos65-x86_64-20131205.box.
>  I use vagrant to run it.
> [vagrant@vagrant-centos65 thrift]$ make
> make  all-recursive
> make[1]: Entering directory `/home/vagrant/thrift'
> Making all in compiler/cpp
> make[2]: Entering directory `/home/vagrant/thrift/compiler/cpp'
> \
>        \
>       /bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo 
> './'`src/thrifty.yy y.tab.c thrifty.cc y.tab.h thrifty.h y.output 
> thrifty.output -- bison -y  -d
> updating thrifty.h
> make  all-am
> make[3]: Entering directory `/home/vagrant/thrift/compiler/cpp'
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall 
> -Wno-sign-compare -Wno-unused -g -O2 -MT libparse_a-thrifty.o -MD -MP -MF 
> .deps/libparse_a-thrifty.Tpo -c -o libparse_a-thrifty.o `test -f 'thrifty.cc' 
> || echo './'`thrifty.cc
> mv -f .deps/libparse_a-thrifty.Tpo .deps/libparse_a-thrifty.Po
> \
>        \
>       /bin/sh ../../ylwrap `test -f 'src/thriftl.ll' || echo 
> './'`src/thriftl.ll lex.yy.c thriftl.cc -- flex  
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall 
> -Wno-sign-compare -Wno-unused -g -O2 -MT libparse_a-thriftl.o -MD -MP -MF 
> .deps/libparse_a-thriftl.Tpo -c -o libparse_a-thriftl.o `test -f 'thriftl.cc' 
> || echo './'`thriftl.cc
> mv -f .deps/libparse_a-thriftl.Tpo .deps/libparse_a-thriftl.Po
> rm -f libparse.a
> ar cru libparse.a libparse_a-thrifty.o libparse_a-thriftl.o 
> ranlib libparse.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall -g 
> -O2 -MT thrift-main.o -MD -MP -MF .deps/thrift-main.Tpo -c -o thrift-main.o 
> `test -f 'src/main.cc' || echo './'`src/main.cc
> mv -f .deps/thrift-main.Tpo .deps/thrift-main.Po
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src   -g -O2 
> -MT thrift-md5.o -MD -MP -MF .deps/thrift-md5.Tpo -c -o thrift-md5.o `test -f 
> 'src/md5.c' || echo './'`src/md5.c
> mv -f .deps/thrift-md5.Tpo .deps/thrift-md5.Po
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall -g 
> -O2 -MT thrift-t_generator.o -MD -MP -MF .deps/thrift-t_generator.Tpo -c -o 
> thrift-t_generator.o `test -f 'src/generate/t_generator.cc' || echo 
> './'`src/generate/t_generator.cc
> mv -f .deps/thrift-t_generator.Tpo .deps/thrift-t_generator.Po
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall -g 
> -O2 -MT thrift-t_typedef.o -MD -MP -MF .deps/thrift-t_typedef.Tpo -c -o 
> thrift-t_typedef.o `test -f 'src/parse/t_typedef.cc' || echo 
> './'`src/parse/t_typedef.cc
> mv -f .deps/thrift-t_typedef.Tpo .deps/thrift-t_typedef.Po
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall -g 
> -O2 -MT thrift-parse.o -MD -MP -MF .deps/thrift-parse.Tpo -c -o 
> thrift-parse.o `test -f 'src/parse/parse.cc' || echo './'`src/parse/parse.cc
> mv -f .deps/thrift-parse.Tpo .deps/thrift-parse.Po
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall -g 
> -O2 -MT thrift-t_c_glib_generator.o -MD -MP -MF 
> .deps/thrift-t_c_glib_generator.Tpo -c -o thrift-t_c_glib_generator.o `test 
> -f 'src/generate/t_c_glib_generator.cc' || echo 
> './'`src/generate/t_c_glib_generator.cc
> g++: Internal error: Killed (program as)
> Please submit a full bug report.
> See <http://bugzilla.redhat.com/bugzilla> for instructions.
> make[3]: *** [thrift-t_c_glib_generator.o] Error 1
> make[3]: Leaving directory `/home/vagrant/thrift/compiler/cpp'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/vagrant/thrift/compiler/cpp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/vagrant/thrift'
> make: *** [all] Error 2



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to