Update: I am trying to install sphinxbase. But after I cd to the sphinxbase directory and run ./autogen.sh, the terminal(cygwin) tells me:
Error: You must have `libtool' installed. Get ftp:// (or a newer version if it is available)
Error: You must have `automake' installed. Get ftp:// (or a newer version if it is available)
I am using cygwin to execute the configure of automake under unzipped automake directory , but I encounter this:
User@6F-287202-NB-01 /cygdrive/c/Users/User/Desktop/cpythonworkspace/sphinx/automake-1.9
$ ./configure --build x86_64-pc-cygwinchecking build system type... x86_64-pc-cygwin checking for a
BSD-compatible install... /usr/bin/install -c checking whether build
environment is sane... yes checking for gawk... gawk checking whether
make sets $(MAKE)... ./configure: eval: line 1542: unexpected EOF
while looking for matching `"' ./configure: eval: line 1543: syntax
error: unexpected end of file
How to solve the unexpected EOF problem?
I open the configure file and jump to 1541th, 1542th line:
7# GNU make sometimes prints "make1: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1 Answer
Install libtool and automake with Cygwin setup.
You will need also python2-devel or python3-devel, gcc-core and swig
You can check after installation with:
$ cygcheck -cd libtool automake
Cygwin Package Information
Package Version
automake 10-1
libtool 2.4.6-6The package automake will pull all versions of automake 1.x available.
If other packages are reported missing, check if they already available in cygwin before trying to install by source.
The following works without extra package from what available on cygwin
$ unzip sphinxbase-master.zip
$ cd sphinxbase-master
$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Running libtoolize...
...
config.status: executing libtool commands
Now type `make' to compile the package. 2