[
https://issues.apache.org/jira/browse/THRIFT-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell closed THRIFT-1838.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.0
Automake issue fixed in THRIFT-1614
> Can't build compiler on OS X because of missing thrifty.h
> ---------------------------------------------------------
>
> Key: THRIFT-1838
> URL: https://issues.apache.org/jira/browse/THRIFT-1838
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General)
> Affects Versions: 0.9
> Environment: OS X 10.8.2
> Thrift trunk
> bison (GNU Bison) 2.3
> flex 2.5.35 Apple(flex-31)
> Note that I'm using the bison/flex that ship with OS X.
> Reporter: Diwaker Gupta
> Assignee: Jake Farrell
> Fix For: 1.0
>
> Attachments: THRIFT-1838.patch
>
>
> With a clean checkout, run boostrap -> configure and try to build the
> compiler. Fails with:
> {noformat}
> /bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo
> './'`src/thrifty.yy y.tab.c thrifty.cc y.tab.h `echo thrifty.cc | sed -e
> s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s
> /c++$/h++/ -e s/c$/h/` y.output thrifty.output -- bison -y -d updating
> thrifty.hhg++ -DHAVE_CONFIG_H -I. -I../.. -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./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 `t
> est -f 'thriftl.cc' || echo './'`thriftl.cc
> src/thriftl.ll:51:21: error: thrifty.h: No such file or directory
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira