[CentOS] rpm spec files for ruby

James B. Byrne byrnejb at harte-lyne.ca
Wed Sep 12 13:24:05 UTC 2007


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.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the CentOS mailing list