BlitzMax Linux dependencies
Miscellaneous Forums/Linux Discussion/BlitzMax Linux dependencies
| ||
| This is the latest script for easy install of all BlitzMax dependencies on most Linux systems. |
| ||
| Reading this thread about distribuiting application I must ask: is there a way to create a 'script' to install what needed to run the application (I suppose the above script is targeted to development)? I still have a doubt about the fact that a BlitzMax-linux application car run out-of-the-box... Thanks |
| ||
| I've built a package on Ubuntu, which seems to work - it knows what dependencies it needs. But it's not so simple to set up everything - there are no proper utilities that "just work". There's always more stuff you need to do even with the utils that are out there. |
| ||
| Thanks for the answers. This week end I'll make some tests: I will compile some BlitzMax applications on Ubuntu 7.x (where I've installed the DEV libs) and I will test on another Ubuntu machine (probabily Ubuntu 10.4) just to see what happens. |
| ||
| Why do you stick with Ubuntu 7? It isn't supported anymore, already for quite a while now. At least upgrade to 8.04. I doubt your compiled version will work on 10.04 as both distributions have other versions when it comes to shared libraries. Most libraries will probably be backwards compatible, but if they're linked to a specific version it can become a little problematic. |
| ||
| @Htbaa: perfect, so I can test from Ubuntu7 -> Ubuntu10 and vice-versa. The goal is to see if there are errors, and if there could be a solution. |
| ||
| Little OT (but not so much...) Steam for Linux is coming Be prepared could be an interesting solution for BlitzMax developers (remember the idea behind of Steam: look, choose, download and play. No time/worry to check dependancies or whatever...) |
| ||
| Yay for this script, got me around issues compiling the new MaxGUI :) |
| ||
| This script would be VERY usefull BUT: install.sh: 38: Syntax error: "(" unexpected What's wrong here ?? I DON'T like installing Blitzmax on Linux :) It's not easy and clearly documented ! [EDIT] Will work if you double clic this saved .sh file while setting all axx in properties. |
| ||
| Just tested on Ubuntu10.10 (running on OracleVM). The first thing: aptitude is not installed by default (I believe...) - I've used the Ubuntu Software Center to install it. After the installation, everything works (BlitzMax 1.41 + MaxGUI) |
| ||
| I decided to make a 'proper' installation of Ubuntu 10.10. Same as above (I needed to install manually aptitude) and then the script works. Another thing: audio problem. On my system the audio works (there are installed PULSE and ALSA). The AudioDriver() reports only FreeAudio, FreeAudio OpenSound System and NULL. I installed libopenal1, libopenal1-dbg and libopenal1-dev to get OpenAL installed and use SetAudioDriver("OpenAL") to listen the sound effects. |
| ||
| Can someone please look into modifying the script to detect apt-get not aptitude (aptitude is no longer included in Ubuntu distribution). |
| ||
| I made a copy&paste of the first post's script, adding apt-get in the 'supported' package manager. I added inst_apt-get() (with the same things for inst_aptitude()...) I really dont' know if it works (because on my system I've already installed quite all... so the script tells me that the xxx version is already present and so on...) It should works. Sorry I cant' be more useful! Cheers Here a screenshot of the result Blitzmax Installation Script version 0.7b Please report bugs or suggestions to: jimteeuwen[at]gmail.com [i] Checking architecture... found: 32 bit [i] Identifying package manager... found: apt-get [i] Performing apt-get setup... [i] Building package list... [i] Installing... Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto build-essential è già alla versione più recente. g++ è già alla versione più recente. gcc è già alla versione più recente. libglu1-mesa-dev è già alla versione più recente. libidn11-dev è già alla versione più recente. libxft-dev è già alla versione più recente. libxpm-dev è già alla versione più recente. libxxf86vm-dev è già alla versione più recente. x11proto-core-dev è già alla versione più recente. x11proto-gl-dev è già alla versione più recente. x11proto-kb-dev è già alla versione più recente. x11proto-xext-dev è già alla versione più recente. libasound2-dev è già alla versione più recente. 0 aggiornati, 0 installati, 0 da rimuovere e 120 non aggiornati. [i] Done. Last edited 1+ years ago |
| ||
| im run this code and the BlitzMax 1.41 + MaxIDE 2 CE works fine but its compile but not RUN... say that: Building defender Compiling:defender.bmx flat assembler version 1.68 (32768 kilobytes memory) 6 passes, 0.3 seconds, 704367 bytes. Linking:defender Process complete then i dont see the app... salut |
| ||
| FYI for others.... I just installed and the IDE runs on Linux Mint 11 (64-bit) right out of the tarball. I couldn't get any of the samples to compile until I ran degac's updated script (above) which does an apt-get install for a whole tonload of missing packages. Everything works swimmingly. |
| ||
| So pmc confirms degacs apt-get fix works and it looks okay to me too, except the version history should be updated and version named 0.9, I might as well do that so here it is. I'm on 10.4 lucid and it wasn't working (error message was something about not linking to g++) even after running the script (0.8b) but it suggested doing an apt-get update and that fixed it. |
| ||
| Thanks for this :) |
| ||
| So far, this script has worked for every distro of Linux I've tried it on, so why not include this as part of the Bmax distribution? (And for that matter, skid's pulseaudio driver has as well). Which brings me to this question: Are there any distros of Linux that have sound with BMax right out of the box? If not, what distro does? (Since Ubuntu seems to be the most popular right now, it seems that making it Ubuntu compatible, sound-wise, would be the logical thing to do.) Russell |
| ||
| Thanks for posting! I didn't use the script but did use the library list and works great! Thanks again. Ubuntu 12:04 AMD Athlon64, 1.5GB RAM |
| ||
| Could you please add the installation of libgnome2-0 to the script? Without it the OpenURL command will send the following error message: "sh: 1: gnome-open: not found" Tested under Ubuntu 12.04 and 12.10. |
| ||
| How can I get this to install for 64-bit correctly? I figured that I needed to add some symlinks to make things work - but once I do that I get another error! |
| ||
| How can I get this to install for 64-bit correctly? 64-bit what? |
| ||
| 64-bit what? after seeing his error, I assume he is talking about Ubuntu x64. I am having this problem on the 32-bit version of Ubuntu 13.04. Cannot compile anything. Me thinks Bmax needs updating.. |




