On 08/05/2011 08:41 PM, Ace Ace wrote: > does anyone know how to set this up on linux No real setup needed, you can check it out from hg ...
mkdir ~/sldevstuff hg clone ssh://h...@bitbucket.org/lindenlab/autobuild ~/sldevstuff/autobuild ... and then run it in a viewer source checkout by specifying the absolute path to the command in autobuild's bin directory, e.g. ... hg clone ssh://h...@bitbucket.org/lindenlab/viewer-development ~/sldevstuff/viewer-development cd ~/sldevstuff/viewer-development ~/sldevstuff/autobuild/bin/autobuild build -c ReleaseOS Note that invocation with a relative path (i.e., in the example above ../autobuild/bin/autobuild) won't always work, the path has to be absolute. Shortcuts and aliases like "~" and "$HOME" work fine, though. I guess something in the scripts is sometimes eating the ".." upon the recursive self-invocation autobuild does. If you want to be able to use autobuild just by typing autobuild rather than a path to it, add the autobuild/bin directory to your PATH or symlink the autobuild script to a place which is, e.g. /usr/local/bin. You might also install autobuild with easy_install or pip as suggested on Autobuild Quick Start <https://wiki.secondlife.com/wiki/Autobuild/Quick_Start>, but that makes updating python, updating autobuild and removing (uninstalling) autobuild more complicated. (Or maybe I just don't know it how to do that cleanly with easy_install and pip.) With the setup above, autobuild won't need any additional steps to keep working when you upgrade python (as long as the new version is still compatible with) and updating autobuild can be done by simply by updating the repository. If you want to get rid of autobuild, just delete ~/sldevstuff/autobuild and remove the symlink if you created one. > the wiki has no info on how to do it on linux Yeah, the Linux build instructions really could need some update. :-\ Cheers, Boroondas PS: Just tried now and can't repro invocation with relative command path not working. Maybe this has been fixed since I've noticed this. Does anyone know?
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges