gcc -I. -I/usr/local/include/ruby-1.9.0/i686-darwin9.4.0 -I/usr/local/
include/ruby-1.9.0 -I. -DHAVE_SYS_SELECT_H -DHAVE_POLL_H -
DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DRUBY_VERSION_CODE=190 -
D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-
parentheses -pipe -fno-common -I/opt/local/include/glib-2.0 -I/opt/
local/lib/glib-2.0/include -I/opt/local/include -I/usr/local/lib/
ruby/gems/1.9.0/gems/ebb-0.2.1/libev -DEV_USE_SELECT -DEV_USE_POLL -
DEV_USE_KQUEUE -o ebb_ruby.o -c ebb_ruby.c
cc -dynamic -bundle -undefined suppress -flat_namespace -o
ebb_ext.bundle ebb.o ebb_ruby.o parser.o -L. -L/usr/local/lib -L. -L/
opt/local/lib -lpthread -lglib-2.0 -lintl -liconv -lpthread -ldl
-lobjc
i686-apple-darwin9-gcc-4.0.1: parser.o: No such file or directory
make: *** [ebb_ext.bundle] Error 1
I am on Leopard and am using ruby 1.9.0
daesan
Did you do anything besides gem update ebb? For example, if you went
into the build directory and ran "rake clobber", it could give you
this error.
Is parser.c in ebb-0.2.1/src ?
I've just realize that parser.rl is not included in the gems - which
shouldn't matter because the generated parser.c is - but I will
include it in future releases.
ry
On Wed, Jul 9, 2008 at 1:46 AM, Dae San Hwang <li...@daesan.com>
wrote:
>
> I got the following error when I tried to install the 0.2.1 gem.
>
> gcc -I. -I/usr/local/include/ruby-1.9.0/i686-darwin9.4.0
> -I/usr/local/include/ruby-1.9.0 -I. -DHAVE_SYS_SELECT_H -DHAVE_POLL_H
> -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DRUBY_VERSION_CODE=190
> -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall
> -Wno-parentheses -pipe -fno-common -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> -I/usr/local/lib/ruby/gems/1.9.0/gems/ebb-0.2.1/libev -DEV_USE_SELECT
> -DEV_USE_POLL -DEV_USE_KQUEUE -o ebb_ruby.o -c ebb_ruby.c
I did "rake gem; gem install pkg/ebb-0.2.1.gem" on the build
directory. As you pointed, parser.c is missing in ebb-0.2.1/src.
I assume there is an extra step I need to take when building gem
directly from the trunk?
daesan