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

Diwaker Gupta updated THRIFT-1838:
----------------------------------

    Attachment: THRIFT-1838.patch

I've only tested this on OS X, so its likely that this breaks the build on 
other platforms. I'm happy to make the required changes but I won't be able to 
test all platforms myself.

Also available at https://github.com/maginatics/thrift/tree/feature/THRIFT-1838
                
> 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
>         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

Reply via email to