Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1838

Can't build compiler on OS X because of missing thrifty.h

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • Compiler (General)
    • None
    • 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.

    • Patch Available

    Description

      With a clean checkout, run boostrap -> configure and try to build the compiler. Fails with:

              /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
      

      Attachments

        1. THRIFT-1838.patch
          1 kB
          Diwaker Gupta

        Issue Links

          Activity

            People

              jfarrell Jake Farrell
              diwaker Diwaker Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: