Jalaluddin Morris wrote:
> On 4/01/12 20:26 , Waldek Hebisch wrote:
> > Jalaluddin Morris wrote:
> >> with straightforward builds of FriCAS 1.1.4 and 1.1.5, Reference Search
> >> fails with the message
> >>
> >> "For some reason the page you tried to link to cannot be formatted."
> >> (1) -> gawk:
> >> /usr/local/lib/fricas/target/i686-apple-darwin10.8.0/lib/presea:14:
> >> if (case==1)
> >> gawk:
> >> /usr/local/lib/fricas/target/i686-apple-darwin10.8.0/lib/presea:14:
> >> ^ syntax error
> > That looks like problem with 'gawk'. The message above is a comlaint
> > about presea script, which is a simple awk script. What do you
> > get when you try:
> >
> > gawk --version
> >
>
> I get:
>
> ***********************************************************
> Last login: Wed Jan 4 22:17:09 on ttys000
> jalaluddin:~ jalaluddin$ gawk --version
> GNU Awk 4.0.0
> Copyright (C) 1989, 1991-2011 Free Software Foundation.
> ***********************************************************
>
In gawk 4.0 'case' is a keyword. The 'presea' script used
it as variable name, but now it causes syntax error.
I have now changed 'case' to 'use_case' so searches should
work when you build the trunk.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.