Discussion:
Kawa not building on OS X from Git
Duncan Mak
2018-01-04 21:34:49 UTC
Permalink
Hello,

I'm trying to build a clean tree of Kawa from git.

After running "./configure", I see this error:

configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
configure: error: ./configure failed for bin

and then make fails also:

***@hangul:Kawa (master)$ make
if test ! -e selected-java-source -o \
"%java8 +use:com.sun.net.httpserver +enable:XML -with:jline3
+use:java.awt" != "`cat selected-java-source`"; \
then /Library/Developer/CommandLineTools/usr/bin/make do-preprocess; \
fi

echo "%java8 +use:com.sun.net.httpserver +enable:XML -with:jline3
+use:java.awt" >selected-java-source

Making all in bin
make[1]: *** No rule to make target `all'. Stop.
make: *** [all-recursive] Error 1
--
Duncan.
Per Bothner
2018-01-04 21:39:04 UTC
Permalink
Post by Duncan Mak
Hello,
I'm trying to build a clean tree of Kawa from git.
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
configure: error: ./configure failed for bin
Did you run automake? The instructions say to run ./autogen.sh
which (among other things) runs automake:

https://www.gnu.org/software/kawa/Source-distribution.html#Build-Kawa-using-configure-and-make
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Duncan Mak
2018-01-07 18:21:28 UTC
Permalink
I tried running autogen.sh, but there might be some path issues:

***@furigana:~/git/Kawa (master)$ ./autogen.sh
configure.ac:11: error: required file '../compile' not found
configure.ac:11: 'automake --add-missing' can install 'compile'
***@furigana:~/git/Kawa (master)$ automake --add-missing
***@furigana:~/git/Kawa (master)$ ./autogen.sh
configure.ac:11: error: required file '../compile' not found
configure.ac:11: 'automake --add-missing' can install 'compile'
***@furigana:~/git/Kawa (master)$ ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether ln -s works... yes
checking for Posix find command... /usr/bin/find
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating bin/kawa
config.status: creating Makefile
config.status: creating gnu/bytecode/Makefile
config.status: creating gnu/Makefile
config.status: creating gnu/kawa/servlet/Makefile
config.status: creating gnu/brl/Makefile
config.status: creating gnu/kawa/brl/Makefile
config.status: creating kawa/lib/Makefile
config.status: creating gnu/kawa/slib/Makefile
config.status: creating gnu/commonlisp/lisp/Makefile
config.status: creating gnu/commonlisp/testsuite/Makefile
config.status: creating gnu/jemacs/lisp/Makefile
config.status: creating gnu/jemacs/testsuite/Makefile
config.status: creating gnu/q2/testsuite/Makefile
config.status: creating gnu/xquery/testsuite/Makefile
config.status: creating gnu/kawa/android/Makefile
config.status: creating gnu/kawa/javafx/Makefile
config.status: creating doc/Makefile
config.status: creating testsuite/Makefile
config.status: creating bin/kawa.bat
config.status: creating bin/qexo
config.status: linking testsuite/scribble.html.in to testsuite/scribble.html
=== configuring in bin (/Users/duncan/git/Kawa/bin)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./../install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of g++... (cached) gcc3
checking for add_history in -lhistory... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
configure: error: ./configure failed for bin
Post by Per Bothner
Post by Duncan Mak
Hello,
I'm trying to build a clean tree of Kawa from git.
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
configure: error: ./configure failed for bin
Did you run automake? The instructions say to run ./autogen.sh
https://www.gnu.org/software/kawa/Source-distribution.html#Build-Kawa-using-configure-and-make
--
--Per Bothner
--
Duncan.
Loading...