bug-bison
[Top][All Lists]
Advanced

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

bison-1.29c 'configure' problems on Solaris 8.


From: Paul Eggert
Subject: bison-1.29c 'configure' problems on Solaris 8.
Date: Tue, 2 Oct 2001 11:25:58 -0700 (PDT)

The 'configure' script distributed with bison-1.29c has problems with
the Solaris 8 /bin/sh.  Here are two examples.

First, '.' is not in my PATH.  Hence the code in "configure" that
attempts to decipher the working directory of "configure" does not
work if I run the command "sh configure", as "sh configure" does not
consult PATH to find "configure".

Second, the new line-numbering code generated by Autoconf is not
portable to other shells.  The "source" keyword is not supported by
all shells, and support for "source" is not required by POSIX.

$ sh configure
configure: test: argument expected
$ sh ./configure
awk: syntax error near line 3
awk: illegal statement near line 3
./configure: source: not found
$ sh -x configure
+ test -n  
+ test -n  
+ echo configure 
+ sed s,\(.*[\/]\+\)\?\([^\/]\+\)[\/]*,\2, 
as_me=configure
as_lineno_1=
as_lineno_2=
as_lineno_3=
+ test x = x 
as_save_IFS= 

IFS=
IFS= 

+ test -z 
/net/knick/home/eggert/bin:/opt/reb/bin:/opt/reb/sbin:/usr/krb5/bin:/usr/krb5/sbin:/usr/bin:/usr/sbin:/usr/perl5/5.00503/bin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/sfw/bin:/opt/sfw/sbin:/usr/apache/bin:/opt/informix/bin:/opt/frame/bin:/opt/SUNWspro/bin:/opt/SUNWut/bin:/opt/SUNWut/sbin:/usr/proc/bin:/sbin
 
+ test -r 
/net/knick/home/eggert/bin:/opt/reb/bin:/opt/reb/sbin:/usr/krb5/bin:/usr/krb5/sbin:/usr/bin:/usr/sbin:/usr/perl5/5.00503/bin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/sfw/bin:/opt/sfw/sbin:/usr/apache/bin:/opt/informix/bin:/opt/frame/bin:/opt/SUNWspro/bin:/opt/SUNWut/bin:/opt/SUNWut/sbin:/usr/proc/bin:/sbin/configure
 
+ test ! -f 
configure: test: argument expected

$ sh -x ./configure
+ test -n  
+ test -n  
+ echo ./configure 
+ sed s,\(.*[\/]\+\)\?\([^\/]\+\)[\/]*,\2, 
as_me=./configure
as_lineno_1=
as_lineno_2=
as_lineno_3=
+ test x = x 
as_myself=./configure
+ test ! -f ./configure 
+ test ! -f ./configure.lineno 
+ ls -1dt ./configure.lineno ./configure 
+ sed 1q 
+ test x./configure.lineno != x./configure.lineno 
+ source ././configure.lineno 
./configure: source: not found
+ exit 0 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]