Project

General

Profile

Actions

Bug #5594

closed

test -e in configure is unportable

Added by ro (Rainer Orth) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p290 (2011-07-09 revision 32553) [sparc-solaris2.10]
Backport:
[ruby-core:40841]

Description

When I tried to build ruby 1.9.2-p290 on Solaris 10 (both SPARC and x86), it failed with an
error in the configure script:

checking for cd using phisical directory... ./configure: test: argument expected

While the typo has been fixed in 1.9.3-p0, the use of test -e is still there. Solaris
10 /bin/sh doesn't support it, it lets the configure script abort immediately, and it is
documented as `avoid/unportable' in the autoconf docs.

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33681.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Actions

Also available in: Atom PDF