* syntax error at line 23510: `}' unexpected
@ 2009-01-22 0:12 kamaraju kusumanchi
2009-01-22 1:03 ` Ian Lance Taylor
2009-01-22 15:13 ` kamaraju kusumanchi
0 siblings, 2 replies; 4+ messages in thread
From: kamaraju kusumanchi @ 2009-01-22 0:12 UTC (permalink / raw)
To: gcc-help; +Cc: help-bison
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: syntax error at line 23510: `}' unexpected
2009-01-22 0:12 syntax error at line 23510: `}' unexpected kamaraju kusumanchi
@ 2009-01-22 1:03 ` Ian Lance Taylor
2009-01-22 1:53 ` kamaraju kusumanchi
2009-01-22 15:13 ` kamaraju kusumanchi
1 sibling, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2009-01-22 1:03 UTC (permalink / raw)
To: kamaraju kusumanchi; +Cc: gcc-help, help-bison
kamaraju kusumanchi <raju.mailinglists@gmail.com> writes:
> 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
Although you sent this to gcc-help, bison is not part of gcc.
If you want to configure gcc, you should set CONFIG_SHELL to /bin/ksh,
as described at http://gcc.gnu.org/install/specific.html#x-x-solaris2 .
That may help your bison problem as well.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: syntax error at line 23510: `}' unexpected
2009-01-22 1:03 ` Ian Lance Taylor
@ 2009-01-22 1:53 ` kamaraju kusumanchi
0 siblings, 0 replies; 4+ messages in thread
From: kamaraju kusumanchi @ 2009-01-22 1:53 UTC (permalink / raw)
To: Ian Lance Taylor; +Cc: gcc-help, help-bison
On Wed, Jan 21, 2009 at 8:03 PM, Ian Lance Taylor <iant@google.com> wrote:
> kamaraju kusumanchi <raju.mailinglists@gmail.com> writes:
>
>> 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
>
> Although you sent this to gcc-help, bison is not part of gcc.
>
Sorry about that. I thought gcc maintainers might be familiar with it.
> If you want to configure gcc, you should set CONFIG_SHELL to /bin/ksh,
> as described at http://gcc.gnu.org/install/specific.html#x-x-solaris2 .
> That may help your bison problem as well.
As said in my original email, bison does not configure if CONFIG_SHELL
is set to /bin/ksh.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: syntax error at line 23510: `}' unexpected
2009-01-22 0:12 syntax error at line 23510: `}' unexpected kamaraju kusumanchi
2009-01-22 1:03 ` Ian Lance Taylor
@ 2009-01-22 15:13 ` kamaraju kusumanchi
1 sibling, 0 replies; 4+ messages in thread
From: kamaraju kusumanchi @ 2009-01-22 15:13 UTC (permalink / raw)
To: gcc-help; +Cc: help-bison
On Wed, Jan 21, 2009 at 7:11 PM, kamaraju kusumanchi
<raju.mailinglists@gmail.com> wrote:
> 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
>
Ok. I figured out a hack for this problem.
First set CONFIG_SHELL to /bin/ksh.
Then prefix the configure command with ksh. So it will be
ksh ../../unZipped/bison-2.4.1/configure
After that, configure proceeds without any problems.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-22 15:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-22 0:12 syntax error at line 23510: `}' unexpected kamaraju kusumanchi
2009-01-22 1:03 ` Ian Lance Taylor
2009-01-22 1:53 ` kamaraju kusumanchi
2009-01-22 15:13 ` kamaraju kusumanchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).