Subject: Re: ruby18: db4 is not an acceptable, can't read y.tab.c
To: None <netbsd@eq.cz>
From: Takahiro Kambe <taca@back-street.net>
List: tech-pkg
Date: 12/13/2005 00:46:50
In message <439D8B66.4070003@eq.cz>
on Mon, 12 Dec 2005 15:38:30 +0100,
rudolf <netbsd@eq.cz> wrote:
> I'm trying to use pkgsrc on Slackware 10.1 and I have a slight problem
> with ruby. With the patch suggested before on the tech-pkg list
> (http://mail-index.netbsd.org/tech-pkg/2005/11/15/0021.html,
> http://mail-index.netbsd.org/tech-pkg/2005/11/16/0001.html; included as
> attachment "ruby18-base_bdb.diff") I get following result (some related
> information appended):
Oh, thanks for reminds me that problem.
> gcc -O2 -I/usr/include -fPIC -I. -I. -I/usr/include -c pack.c
> /usr/pkg/bin/bison parse.y
> sed '/^#/s|y\.tab\.c|parse.c|' y.tab.c > parse.c
> sed: can't read y.tab.c: No such file or directory
> *** Error code 2
I've seen this error on some none-BSD platform. How about apply this
patch?
diff -u -u -r1.14 Makefile
--- Makefile 8 Dec 2005 09:52:15 -0000 1.14
+++ Makefile 12 Dec 2005 15:43:51 -0000
@@ -19,7 +19,7 @@
USE_PKGINSTALL= yes
USE_LANGUAGES= c
-USE_TOOLS+= yacc
+USE_TOOLS+= bison-yacc
GNU_CONFIGURE= yes
TEST_TARGET= test
CONFIGURE_ARGS+= --enable-shared \
--
Takahiro Kambe <taca@back-street.net>