ebb 0.2.1

3 views
Skip to first unread message

ry dahl

unread,
Jul 8, 2008, 6:38:54 AM7/8/08
to ebb...@googlegroups.com
I've put up a gem for ebb 0.2.1 on RubyForge.

Dae San Hwang

unread,
Jul 8, 2008, 7:46:18 PM7/8/08
to ebb...@googlegroups.com
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
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

ry dahl

unread,
Jul 9, 2008, 5:45:09 AM7/9/08
to ebb...@googlegroups.com
Hi Daeson,

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

Dae San Hwang

unread,
Jul 10, 2008, 11:07:18 AM7/10/08
to ebb...@googlegroups.com
Hi Ry.

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

ry

unread,
Jul 10, 2008, 12:57:52 PM7/10/08
to ebbebb
Hi daesan,

You need to do "rake src/parser.c" first. (My rake script dependencies
arn't working properly.) This generates the file with Ragel. If you
don't have Ragel installed, just download the gem from Rubyforge.

ry
Reply all
Reply to author
Forward
0 new messages