yarv-dev:982
From: Kazuhiro NISHIYAMA <zn mbf.nifty.com>
Date: Sun, 26 Feb 2006 21:01:36 +0900
Subject: [yarv-dev:982] open> cannot make lex.c after ./configure
西山和広です。 >>>>> On Sun, 26 Feb 2006 20:55:19 +0900 >>>>> zn mbf.nifty.com(Kazuhiro NISHIYAMA) said: > svn checkout http://www.atdot.net/svn/yarv/trunk yarv > cd yarv > autoconf > ./configure --prefix=$HOME/opt/$(basename $(pwd)) > make > make install これだけじゃだめで、 http://i.loveruby.net/d/20051214.html#p01 にあるようにlex.cを消してsvn revert lex.cというのも 必要でした。 これも別件としてopenしておきます。 現象としてはcvs coだとcvs ciしたときのタイムスタンプに なるのに、svn coだとそうはならないのと、lex.cの方が keywordsより先にcheckoutされてしまうので、makeしようと してしまうのが直接の原因のようです。 さらに別ディレクトリでconfigureしてmakeする場合はcpが 出来てしまうので、問題は起きないのですが、カレント ディレクトリでconfigureしてmakeする場合は bison -o parse.c parse.y gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$ keywords > lex.c || \ cp "./lex.c" . /bin/sh: line 1: gperf: command not found cp: `./lex.c' and `./lex.c' are the same file make: *** [lex.c] Error 1 となってしまってまずいようです。 -- |ZnZ(ゼット エヌ ゼット) |西山和広(Kazuhiro NISHIYAMA) -- ML: yarv-dev quickml.atdot.net 使い方: http://www.atdot.net/~ko1/quickml
981 2006-02-26 20:55 [zn mbf.nifty.com ] open> cannot make install after ./configure -> 982 2006-02-26 21:01 ┣[zn mbf.nifty.com ] open> cannot make lex.c after ./configure 992 2006-02-27 22:20 ┃┗[ko1 atdot.net ] 989 2006-02-27 22:03 ┗[ko1 atdot.net ] fixed> Re: open> cannot make install after ./configure 997 2006-02-28 20:53 ┗[zn mbf.nifty.com ] close> cannot make install after ./configure