Subject: Re: pkg/32113
To: None <tonio@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: pkgsrc-bugs
Date: 11/30/2005 18:24:01
The following reply was made to PR pkg/32113; it has been noted by GNATS.

From: georg.schwarz@freenet.de (Georg Schwarz)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/32113
Date: Wed, 30 Nov 2005 19:23:26 +0100

 Added the patch. Now I end up like this:
 
 ...
 Useable version of ALSA not found.
 checking for esd-config... /home/schwarz/pkg/bin/esd-config
 checking for ESD - version >= 0.2.1... yes
 checking for gmp.h... (cached) no
 configure: error: Found GNU MP library, but can't find gmp.h.  Install
 the gmp development package, or pass --enable-pure-java-math to
 configure.
 *** Error code 1
 
 Stop.
 bmake: stopped in /home/schwarz/pkgsrc/pkgsrc/lang/kaffe
 ===> 
 ===> There was an error during the ``configure'' phase.
 ===> Please investigate the following for more information:
 ===>      * config.log
 ===>      * /home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/.work.log
 ===> 
 *** Error code 1
 
 Stop.
 bmake: stopped in /home/schwarz/pkgsrc/pkgsrc/lang/kaffe
 a
 
 config.log has:
 
 configure:50076: checking for gmp.h
 configure:50081: result: no
 configure:50218: error: Found GNU MP library, but can't find gmp.h.
 Install the
  gmp development package, or pass --enable-pure-java-math to  configure.
 
 I then added --enable-pure-java-math to CONFIGURE_ARGS (probably I could
 as well have made sure I had gmp.h instead by including the respective
 buildlink.mk file).
 
 
 This time I end up like this:
 
 /usr/include/stdio.h:32: error: stray '\324' in program
 /usr/include/stdio.h:32: error: stray '\214' in program
 /usr/include/stdio.h:32: error: stray '\377' in program
 /usr/include/stdio.h:32: error: syntax error at '#' token
 /usr/include/stdio.h:32: error: stray '\377' in program
 /usr/include/stdio.h:32:64: missing terminating " character
 In file included from ../kaffevm/utf8const.h:14,
                  from main.c:19:
 ../kaffevm/debug.h:135:2: #error "no known 64-bit type for debugmask_t"
 In file included from ../kaffevm/utf8const.h:14,
                  from main.c:19:
 ../kaffevm/debug.h:214: error: parse error before "mask"
 main.c:43: error: parse error before '*' token
 main.c:43: warning: type defaults to `int' in declaration of `include'
 main.c:43: warning: data definition has no type or storage class
 main.c:44: error: parse error before '*' token
 main.c:44: warning: type defaults to `int' in declaration of
 `jni_include'
 main.c:44: warning: data definition has no type or storage class
 main.c: In function `main':
 main.c:132: warning: implicit declaration of function `strlen'
 main.c:134: warning: implicit declaration of function `strcpy'
 main.c:152: warning: implicit declaration of function `strcat'
 main.c:161: error: `FILE' undeclared (first use in this function)
 main.c:161: error: (Each undeclared identifier is reported only once
 main.c:161: error: for each function it appears in.)
 main.c:161: error: `fp' undeclared (first use in this function)
 main.c:163: warning: implicit declaration of function `fopen'
 main.c:194: warning: implicit declaration of function `fclose'
 main.c: In function `options':
 main.c:222: warning: implicit declaration of function `strcmp'
 gmake[1]: *** [kaffeh-main.o] Error 1
 gmake[1]: Leaving directory
 `/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/kaffe/kaffeh'
 gmake: *** [all-recursive] Error 1
 *** Error code 2
 
 Stop.
 bmake: stopped in /home/schwarz/pkgsrc/pkgsrc/lang/kaffe
 ===> 
 ===> There was an error during the ``build'' phase.
 ===> Please investigate the following for more information:
 ===>      * log of the build
 ===>      * /home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/.work.log
 ===> 
 *** Error code 1
 
 Stop.
 bmake: stopped in /home/schwarz/pkgsrc/pkgsrc/lang/kaffe
 
 -- 
 Georg Schwarz    http://home.pages.de/~schwarz/
  georg.schwarz@freenet.de  +49 178 8545053