Re: rpm spec files for ruby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Sep 12, 2007 at 09:24:05AM -0400, James B. Byrne alleged:
> In-Reply-To: <20070911203414.GQ19043@xxxxxxxxxxxxx>
> On: Tue, 11 Sep 2007 13:34:14 -0700, Garrick Staples <garrick@xxxxxxx> 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


Attachment: pgp9ejsCwOYGR.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux