[Surfraw-devel] line 470: http://www.google.com/search?q=foo&num=30: No such file or directory

Ian Beckwith ianb at erislabs.net
Sun Feb 23 22:38:00 UTC 2014


On Sat, Feb 22, 2014 at 03:36:06PM -0700, Kyle Isom wrote:
> Essentially what is happening is that surfraw is calling "$BROWSER
> http://www.google.com/search?q=foo&num=30", but BROWSER is empty;
> the shell only sees the query. I'm not sure why it's doing this, but
> I'll look into it.

Completely guessing:

Is ./configure failing to find a valid browser?

Seeing config.log from running ./configure would help.

We probably need to revisit the list of browsers ./configure checks for.

Current checks are:

AC_CHECK_PROGS(TEXTBROWSER, lynx links2 links elinks w3m netrik)
AC_CHECK_PROGS(GRAPHICALBROWSER, iceweasel firefox google-chrome opera mozilla \
xombrero luakit safari epiphany-browser konqueror galeon kazenhakase \
conkeror dillo netscape chromium chrome)

Did I read somewhere that 'open' is how macs invoke their browser?
We should probably include xdg-open too.



Ian Beckwith - ianb at erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA

More information about the Surfraw-devel mailing list