Eric Radman <
eric...@eradman.com> wrote:
> I'm attempting to build an RPM from SVN r602, but it's throwing an error when
> I try run rpmbuild
>
> $ make package
> $ rpmbuild --rebuild ./libkqueue-2.0-1.src.rpm
>
> + ./configure --prefix=/usr
> checking for ruby.. /usr/bin/ruby
> checking for makeconf.. no
>
> *** ERROR: Makeconf was not found ***
>
> makeconf is installed
>
> $ gem list
>
> *** LOCAL GEMS ***
>
> makeconf (0.2.0)
>
> $ ruby -v
> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
Ruby 1.8 won't load rubygems by default, try forcing rubygems
via RUBYOPT:
RUBYOPT=-rubygems ./configure ...
Unfortunately, it seems Makeconf.new is called improperly in
configure.rb:
checking for ruby.. /path/to/bin/ruby
checking for makeconf.. yes
checking for a C compiler.. cc
checking for sys/signalfd.h... yes
checking whether EPOLLRDHUP is declared... yes
checking for sys/epoll.h... yes
checking for sys/inotify.h... yes
checking for sys/signalfd.h... yes
checking for sys/timerfd.h... yes
checking for sys/eventfd.h... ./configure.rb:171:in `initialize': wrong number of arguments (0 for 1) (ArgumentError)
from ./configure.rb:171:in `new'
from ./configure.rb:171