On Wed, 2003-06-25 at 23:08, nobu.nokada / softhome.net wrote:
> Hi,
> 
> At Thu, 26 Jun 2003 11:44:00 +0900,
> John Carter wrote:
> > Aredridel's .spec file was a good start. It seems to be a RedHat rather
> > than Mandrake .spec, but using
> >  %configure
> > instead of
> >  %configure2_13
> > solved the first problem.
> 
> What does %configure2_13?  1.8.0 needs autoconf 2.50 or later.

My PLD spec file uses %configure2_13 until I can figure out why the 2.5
version puts blanks on the commandline and causes the build error I had
a couple days ago.  The 2_13 version happens to work well enough, just
gives a single warning.

> 
> > And removing the --enable-shared solved the
> > next.
> 
> What problem?
> 
> > Although I can build 1.8.0 Preview3 straight out the box, no problem, as
> > part of the
> >   rpm -bb
> > I now get...
> > /usr/src/RPM/BUILD/ruby-1.8.0/lib/mkmf.rb:785:in `init_mkmf':
> > uninitialized constant CONFIG (NameError)
> > 	from /usr/src/RPM/BUILD/ruby-1.8.0/lib/mkmf.rb:816
> > 	from ./ext/extmk.rb:28:in `require'
> > 	from ./ext/extmk.rb:28
> 
> Has rbconfig.rb been made properly?  Maybe empty?

That sounds like problems with your distro's configure macro as well. 
You might try doing it manually, with:

	./configure --prefix=/usr

Though I hate to do that with PLD since it puts things in totally
FHS-compliant places with it's native macro.

Ari