Thanks for the help, Mr A. :-)
The GTKHtml view gadget was very much a kludge to begin with I'm afraid, what with it having to be hand-held with regards to URLs and streams - unlike mozilla which does everything for you :-)
I'll have another play with processURL, based on what you've uncovered.
Of course, I'd like to recommend Mozilla anyway, if it weren't for the big mess of getting it setup in the various distros...
Anyhoo, your linking problem...
Check out gtkwebmozilla.bmx. There are two imports pointing to *hopefully* the most likely locations of the shared objects you need...
Import "-L/usr/lib/mozilla-firefox"
Import "-L/usr/lib/firefox"
At least, that's the ones I know about. If it ain't there, perhaps I need to add some more options ;-)
Further down the code is MOZ_DIST_BIN. It tells the library where it is installed, and is set when you first try to open a widget. It has a default, but may not be yours. So you can either set this at runtime, or via an environment variable.
Last but not least (see what I mean about setting it up???), you need to make sure (for runtime) that the above mentioned path is either in LD_LIBRARY_PATH or has been set via the "ldconfig" program, otherwise the exe won't be able find the shared objects....
Other than that, getting mozilla working is fairly easy ;-)
The GTKHtml view gadget was very much a kludge to begin with I'm afraid, what with it having to be hand-held with regards to URLs and streams - unlike mozilla which does everything for you :-)
I'll have another play with processURL, based on what you've uncovered.
Of course, I'd like to recommend Mozilla anyway, if it weren't for the big mess of getting it setup in the various distros...
Anyhoo, your linking problem...
Check out gtkwebmozilla.bmx. There are two imports pointing to *hopefully* the most likely locations of the shared objects you need...
Import "-L/usr/lib/mozilla-firefox"
Import "-L/usr/lib/firefox"
At least, that's the ones I know about. If it ain't there, perhaps I need to add some more options ;-)
Further down the code is MOZ_DIST_BIN. It tells the library where it is installed, and is set when you first try to open a widget. It has a default, but may not be yours. So you can either set this at runtime, or via an environment variable.
Last but not least (see what I mean about setting it up???), you need to make sure (for runtime) that the above mentioned path is either in LD_LIBRARY_PATH or has been set via the "ldconfig" program, otherwise the exe won't be able find the shared objects....
Other than that, getting mozilla working is fairly easy ;-)