4

I am trying to configure apache thrift and i have installed cygwin to be able run the bash scripts on windows and i have installed libtool package as well and i still seem to be getting an error message:

couldn't find libtoolize!

I have also tried this in the DOS prompt and the bash shell as well, although you cant un bash scripts in the DOS window. When I run a bash script. I would like some help with this please as I'm really interested in using the apache thrift platform.

JensG
  • 13,148
  • 4
  • 45
  • 55
user3461632
  • 83
  • 2
  • 13
  • what do you get when you execute: `which libtoolize`? Also what is the output of `echo $PATH`? – Red Cricket Apr 27 '14 at 01:37
  • This does not exactly answer your question, but you don't have to use Cygwin/MinGW. There is a Visual Studio solution which you can use to compile the compiler, and you don't event need to do that: The compiler is [available for download as prebuilt EXE file](http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.1/thrift-0.9.1.exe), see [Thrift download page](http://thrift.apache.org/download). For the libraries part, you use whatever environment you use normally: Windows & Visual Studio. – JensG Apr 27 '14 at 16:09
  • Did you follow the [Windows install from source](http://thrift.apache.org/docs/install/windows) steps and have you checked [this discussion how to install libtoolize on cygwin](http://cygwin.1069669.n5.nabble.com/how-to-install-libtoolize-td47374.html)? – JensG Apr 27 '14 at 16:13
  • i did install and download the EXE and although im pretty sure i didn't install it correctly. any ideas of how to use the exe and write the scripts. – user3461632 Apr 27 '14 at 17:28
  • yes, yes and yes to the JenG – user3461632 Apr 27 '14 at 17:35
  • when i try to enter a bash command in the git bash shell i do get command not found however this is also apparent when i attempt to execute a .sh script. – user3461632 Apr 27 '14 at 20:10
  • The EXE is a normal Windows EXE, to be used with the normal Windows command prompt. It is a command line tool that can be called with `-help` to get more information about all the options. For beginners, it is a good idea to follow the [Thrift tutorial](http://thrift.apache.org/tutorial/). Furthermore, you may want to have a look at [this question](http://stackoverflow.com/questions/23163260/windows-and-apache-thrift-executable) as you may run into the same problem described there (look for `shared.thrift`). – JensG Apr 27 '14 at 21:22
  • You may also find [this question](http://stackoverflow.com/questions/20653240/what-is-rpc-framework-and-apache-thrift/20664706#20664706) helpful, as it points out some good sources of further, in-depth information regarding Apache Thrift. – JensG Apr 27 '14 at 21:27

1 Answers1

1

'libtoolize' is a part of libtool. You can dowload latest version of libtool from http://ftp.gnu.org/gnu/libtool/, extract it, then run ./configure and make install from cygwin terminal. This worked for me.

Chamila Wijayarathna
  • 1,815
  • 5
  • 30
  • 54