I've installed octave with homebrew (via brew install octave), and it seems to work fine, including gnuplot support. However, it looks like it's missing curl support. I'm getting the message "error: urlread: curl: No error" when trying to execute str = urlread(url, 'post', params).
I've tried making homebrew install curl by adding depends_on 'curl' to the octave formula and setting the CPPFLAGS and LDFLAGS environment variables to point to homebrew curl, but that didn't seem to change anything.
which curlsay? – Ian C.♦ Mar 21 '12 at 19:17curlis part of Darwin so it is on the path. It's installed on Macs by default in/usr/bin/. If that is what the output of the call towhichreports then it could be the issue. You could simply put analiasstatement in your .bashrc to point to the homebrew install. Aliasing a call to curl will only work from the terminal (or something else that sources your .bashrc). – ephsmith Jun 23 '12 at 21:01curl; it's using libcurl, according to the Octave readline doco at gnu.org/software/octave/doc/interpreter/URL-Manipulation.html. And it's probably finding libcurl fine, since it comes with the os like @ephsmith says. May be an error with the particular URL or parms combo. Does a simplerstr = urlread('www.example.com')work? Try POSTing to some other simpler URLs? – Andrew Janke May 2 at 4:54urlreadmechanism. A default Homebrew Octave install on OS X 10.8.3 works fine for me, hitting requestb.in with a post:urlread('http://requestb.in/1c3x8id1', 'post', {'hello','world'})succeeds. – Andrew Janke May 2 at 18:31