linux build

This topic contains 5 replies, has 3 voices, and was last updated by  dawlane 2 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3327

    abakobo
    Participant

    I’m just entering the linux sphere and could not build for linux…

    here’s a copy of the terminal:

     

    [/crayon]

    (“Bureau” means “Desktop” and “Permission non accordée” means “Permission denied”)

    wich version of linux is best for monkey2 dev? Should I install it in English?
    Should I install some other things before launching rebuildall.sh?
    It’s one of the first times I use linux…

    #3328

    dawlane
    Participant

    Should I install some other things before launching rebuildall.sh?

    You will find notes on how to setup Monkey2 in the MonkeyX guide.

    Note that the guide is slightly out of date for Monkey2, as the scripts are now in their own directory and there is a Ted2.

    The sections you need from the guide are Installing Packages On Debian Based Linux Distributions and Monkey2 Setup Notes. Some of the fun stuff like desktop launches will not work with Monkey2 yet.

    wich version of linux is best for monkey2 dev? Should I install it in English?

    You can install any language version of a Linux distribution you like, but stick to one of the Ubuntu/Debian based distributions. But remember that generally all tools will use English for output text.

    #3334

    wiebow
    Participant

    Also, it looks like the .sh file has not been flagged as executable. You must modify its properties to make it executable.  To be fiar, that guide is very complex, there is lots of stuff in there that doesn’t apply to M2.

    #3344

    dawlane
    Participant

    To be fiar, that guide is very complex, there is lots of stuff in there that doesn’t apply to M2.

    With Mark’s cross-platform tools, there is no simple way to do the installation; hence the complex guide that has to go into some detail. Any tool that tries to automate the installation of external libraries and tools will fail at some point through lack of regular updates.

    #3379

    abakobo
    Participant

    thx for the infos dawlane

    I did the following on a fresh install of mint 17 and it worked (had to add sdl2-dev to the libs.

    open terminal
    go to the parent dir of monkey2-master
    then type following commands

    [/crayon]

    On mint 18 I’ve had problems with “sofware source->cd-rom” that had to be disabled. and I made the apt update because of that thinking it would solve the problem.

    I suppose doing a:

    [/crayon]

    before all that would have been better!

    #3396

    dawlane
    Participant

    had to add sdl2-dev to the libs.

    If you are having to add the sdl development libraries then there is something wrong. You shouldn’t need to add the libsdl2-dev libraries, as the mx2 SDL module has it’s own source code copy with fixes.

    This should be all you need to get up and running on Ubuntu/Linux Mint/Debian.

    sudo apt-get update && sudo apt-get upgrade

    sudo apt-get install g++-multilib libglu1-mesa-dev libopenal-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev libxxf86vm-dev libx11-dev libgl1-mesa-dev libpulse-dev

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.