Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change 
notification.

The following page has been changed by JustinLebar:
http://wiki.apache.org/thrift/ThriftInstallationWin32

The comment on the change is:
Adding "possible Cygwin issues", formatting possible MinGW issues

------------------------------------------------------------------------------
  Look for the README file in the lib/<language>/ folder for more details on the
  installation of each language library package.
  
+ === Possible issues with Cygwin install ===
+ ==== Syntax error in ./configure ====
+ The following error occurs for some users when running ./configure:
+ {{{
+ ./configure: line 21183: syntax error near unexpected token `MONO,'
+ ./configure: line 21183: `  PKG_CHECK_MODULES(MONO, mono >= 1.2.6, 
have_mono=yes, have_mono=no)'
+ }}}
+ To resolve this, you'll need to find your pkg.m4 file and copy it to the 
thrift/aclocal directory.  From the top-level thrift directory, you can copy 
the file by running
+ {{{
+         cp /usr/share/aclocal/pkg.m4 aclocal
+ }}}
+ Finally, re-run ./bootstrap.sh and ./configure.  (Note that pkg.m4 is created 
by the pkg-config tool.  If your /usr/share/aclocal directory doesn't contain 
the pkg.m4 file, you may not have pkg-config installed.)
+ 
  == Installation steps(No Cygwin dependency) ==
  
  To compile the Thrift generator without the cygwin.dll dependency you need to 
install 
@@ -82, +95 @@

  
  === Possible issues with MinGW install ===
  
- 1) yywrap is not found
+ ==== yywrap is not found ====
+ Make sure you add -lfl in your cxxflags in Makefile, also try adding 
-Lc:/cygwin/libs 
  
- make sure you add -lfl in your cxxflags in Makefile, also try adding 
-Lc:/cygwin/libs 
- 
- 2) boost is not found
+ ==== boost is not found ====
- 
- try and change the include dir to use the windows path from c like this:
+ Try and change the include dir to use the windows path from c like this:
  Edit compiler/cpp/Makefile, look for the declaration of BOOST_CPPFLAGS, 
change that line for
  {{{
  BOOST_CPPFLAGS = -Ic:/cygwin/usr/include/boost-1_33_1
  }}}
  
- 3) realpath is not found
+ ==== realpath is not found ====
  
  add -DMINGW -mno-cygwin to the CXXDEFS variable in Makefile
  

Reply via email to