I get this:

/home/users/aredridel/rpm/BUILD/ruby-1.8.0/lib/mkmf.rb:20: private
	method `sub!' called for nil:NilClass (NoMethodError)
        from
/home/users/aredridel/rpm/BUILD/ruby-1.8.0/lib/mkmf.rb:18:in
`each'        
	from /home/users/aredridel/rpm/BUILD/ruby-1.8.0/lib/mkmf.rb:18
        from ./ext/extmk.rb:28:in `require'
        from ./ext/extmk.rb:28

immediately after compiling miniruby with this build script:

autoconf

./configure LDFLAGS=-s CFLAGS=-O2 -march=athlon    CXXFLAGS=-O2
 	-march=athlon    FFLAGS=-O2 -march=athlon    CPPFLAGS=
 	CC=i686-pld-linux-gcc CXX=i686-pld-linux-g++
 	--build=athlon-pld-linux --prefix=/usr --exec-prefix=/usr
 	--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 	--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
 	--libexecdir=/usr/lib --localstatedir=/var
 	--sharedstatedir=/var/lib --mandir=/usr/share/man
 	--infodir=/usr/share/info --enable-shared
make

Any clues before I jump in headlong?

Ari