[CentOS] rpm spec files for ruby

Garrick Staples garrick at usc.edu
Tue Sep 11 20:34:14 UTC 2007


On Tue, Sep 11, 2007 at 03:56:07PM -0400, James B. Byrne alleged:
> I am now getting this:
> 
> configure: creating ./config.status
> config.status: creating Makefile
> + --with-sitedir=/usr/lib/ruby/site_ruby --with-default-kcode=none
> --with-bundled-sha1 --with-bundled-md5 --with-bundled-rmd160
> --enable-shared --enable-ipv6 --enable-pthread
> --with-lookup-order-hack=INET --disable-rpath --with-ruby-prefix=/usr/lib
> /var/tmp/rpm-tmp.49488: line 62: --with-sitedir=/usr/lib/ruby/site_ruby:
> No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.49488 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.49488 (%build)
> [byrnejb at xen01 SPECS]$ ll /usr/lib/ruby/site_ruby
> total 8
> drwxr-xr-x  5 root root 4096 Sep  7 12:14 1.8
> 
> 
> Since /usr/lib/ruby/site_ruby evidently exists, why am I being told that
> it does not?

It is telling you that "--with-sitedir=/usr/lib/ruby/site_ruby" doesn't exist as a file, which is obviously correct.  You probably have an extra newline char or missing continuation char.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070911/ac321407/attachment.sig>


More information about the CentOS mailing list