This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

syntax error at line 23510: `}' unexpected


When trying to configure bison 2.4.1
(http://directory.fsf.org/project/bison/) on a Solaris 2.8, the
configuration stops with


> ../../unZipped/bison-2.4.1/configure
../../unZipped/bison-2.4.1/configure: syntax error at line 23510: `}' unexpected

> uname -a
SunOS axkmsapp075n2 5.8 Generic_117350-33 sun4u sparc SUNW,Sun-Fire-480R Solaris

> echo $CONFIG_SHELL
/bin/ksh


However, if I set the CONFIG_SHELL environment variable to an empty
string then the configure script goes a bit further. It stops with

checking for Java virtual machine... (cached) java
configure: creating ./config.status
config.status: creating javacomp.sh
config.status: creating javaexec.sh
config.status: creating runtime-po/Makefile.in
config.status: creating etc/bench.pl
nawk: input record `      print $out "1+...' too long
 input record number 122
 source line number 397
config.status: error: could not create etc/bench.pl


> nmake --version
  version         make (AT&T Research) 4.3 2003-04-15


It looks like a bug in the configure script. Could you please check it?

hth
raju


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]