octave build failure (was: teTeX fails with probably unquoted path name containing spaces)

Joshua Root jmr at macports.org
Thu May 1 23:56:34 PDT 2008


Jerry wrote:
> Re-ran sudo port install texlive +minimal, then sudo port install octave.
> 
> The "standard" error did not appear in either install. However, the 
> latter (Octave) errored out with a compile error in an Octave file that 
> says it is a "urlwrite and urlread, a curl front-end for octave." Here's 
> the error:
> 
> /opt/local/bin/g++-mp-4.2 -c -I/opt/local/include -I. -I.. 
> -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W 
> -Wshadow -Wold-style-cast -O2 ./DLD-FUNCTIONS/urlwrite.cc -o urlwrite.o
> ./DLD-FUNCTIONS/urlwrite.cc: In function 'std::string 
> form_query_string(CURL*, const Cell&)':
> ./DLD-FUNCTIONS/urlwrite.cc:73: error: 'curl_easy_escape' was not 
> declared in this scope
> make[2]: *** [urlwrite.o] Error 1
> make[1]: *** [src] Error 2
> make: *** [all] Error 2
> 
> Error: Status 1 encountered during processing.
> 
> This result seems like progress but also seems like a problem in the 
> Octave-related source.

It seems that other people are having trouble building Octave too; see 
this ticket: <http://trac.macosforge.org/projects/macports/ticket/13686>

There is discussion there about upgrading the port to a newer version, 
which should help things. There's even an updated Portfile attached.

- Josh


More information about the macports-users mailing list