Project

General

Profile

Actions

Bug #5594

closed

test -e in configure is unportable

Added by ro (Rainer Orth) about 13 years ago. Updated about 13 years ago.

Status:
Closed
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

Also available in: Atom PDF

Like0
Like0