Jump to content

ubuntu 14.04-update-workspaces not working.


padmahas
 Share

Recommended Posts

Hello, I'm using ubuntu 14.04 and have installed 0AD form ubuntu software center. So, still do I need to install dependencies to run the source code? If not, then I'm trying to run the source code from the instructions given this link. When I gave this command

./update-workspaces.sh --with-system-miniupnpc --with-system-nvtt --with-system-mozjs24

It gave output

bash: ./update-workspaces.sh: Permission denied

so I included sudo to it.

sudo ./update-workspaces.sh --with-system-miniupnpc --with-system-nvtt --with-system-mozjs24

but it is giving the output as

sudo: ./update-workspaces.sh: command not found

Is it because I have not installed dependencies(Ignored because the game is already running after insalling from software center), or something else? How to proceed?

Link to comment
Share on other sites

Have you checked out the code as described in the Getting the code section and are you in the right directory/folder when you issue that command in the terminal An other thing you might check the properties of the file "update-workspaces.sh" the executable flag may not be set.BTW it's not a good idea to use sudo in the build folder.

Enjoy the Choice :)

Link to comment
Share on other sites

Yes, you need extra dependencies to build the game. Certainly if you build with the --with-xxx flags (read the comments on the wiki for that).

But those missing dependencies wouldn't crash the update-workspaces script so early. It looks indeed like the permissions are wrong, try to run it as "bash ./update-workspaces.sh", or fix the permissions.

Also, don't ever use sudo to compile something. Unless you want us to break your computer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...