[CentOS] rpm spec files for ruby

Garrick Staples garrick at usc.edu
Wed Sep 12 15:09:37 UTC 2007


On Wed, Sep 12, 2007 at 09:24:05AM -0400, James B. Byrne alleged:
> In-Reply-To: <20070911203414.GQ19043 at polop.usc.edu>
> On: Tue, 11 Sep 2007 13:34:14 -0700, Garrick Staples <garrick at usc.edu> wrote:
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> 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-kcodeone
> >> --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)
> 
> >>
> >> 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.
> 
> You will note that the error message states "No such file or directory"
> which is not congruent with your observation.  Indeed, site_ruby MUST be a
> directory.

I'm sure /usr/lib/ruby/site_ruby is a perfectly happy directory, but
"--with-sitedir=/usr/lib/ruby/site_ruby" isn't.

For example:
$ ls -l ./--with-sitedir=/usr/lib/ruby/site_ruby
ls: cannot access ./--with-sitedir=/usr/lib/ruby/site_ruby: No such file or directory

$ --with-sitedir=/usr/lib/ruby/site_ruby
bash: --with-sitedir=/usr/lib/ruby/site_ruby: No such file or directory


-------------- 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/20070912/52d23970/attachment.sig>


More information about the CentOS mailing list