octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41024] 3.8.0 build fails with syntax error ne


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #41024] 3.8.0 build fails with syntax error near unexpected token `('
Date: Sun, 29 Dec 2013 11:08:06 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1

Follow-up Comment #1, bug #41024 (project octave):

It seems the Cygwin build tools cannot handle spaces in path names (i.e.,
".../Program Files (X86)/Java") - the unexpected token "(" looks like the '('
of '(X86)' which is after a separator (the space in "Program Files (X86)").
The syntax error might be that the build tools expect a "-" prepending another
flag in this position.

(Yes there's a space earlier on as well (between "Program" and "Files") but I
expect that provisionally, "Files" looks like a valid alphanumeric token or is
interpreted as a filename; but it would inevitably lead to problems later on
anyway.)

My first suggestion would be to disable Java in the build (in the configure
step) and try again. That is, assuming you've got no other dependencies in
"C:\Program Files (X86)\"

FYI: on My Windows boxes I have several Octave dependencies & Octave itself
installed in a directory C:\Programs to get rid of these spaces-in-pathnames
problems. 
As to Java, at runtime (once Octave is built) the spaces don't matter anymore
so "C:\Program Files (X86)\Java\" would be fine then - it is just the build
tools that can't cope with it.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41024>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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