Building for RISC OS

John-Mark Bell jmb at netsurf-browser.org
Tue Sep 1 23:36:31 BST 2015


On 01/09/15 22:01, Dave Higton wrote:
> In message <OUT-55E2334A.MD-1.4.17.chris.young at unsatisfactorysoftware.co.uk>
>            "Chris Young" <chris.young at unsatisfactorysoftware.co.uk> wrote:
>
>> On Sat, 29 Aug 2015 21:07:47 +0100, Dave Higton wrote:
>>
>>> So, have I missed something?
>>
>> This, maybe?
>> http://wiki.netsurf-browser.org/Documentation/BuildingForRISCOSQuickStart
>
> There are just a couple of discrepancies when using Ubuntu:
>
> 1) root doesn't really exist;
>
> 2) "sudo source env.sh", which I had expected to use as the nearest
> equivalent, didn't understand source as a command.  However,
> "source env.sh" /was/ understood - albeit that's of course executed
> as ordinary user, not what the docs say to do.
>
> Does this mean I've missed something else?

You can usually[1] get a root shell on systems that use sudo by issuing 
"sudo -s". Once there, you can source env.sh in the usual way.

"source" is a shell built-in, so doesn't exist as a binary on the path, 
and thus won't work with sudo, as you've discovered.


J.

1. This is security-policy dependent, but generally works unless you've 
explicitly configured it otherwise.



More information about the netsurf-dev mailing list