Ubuntu Installation Help
BlitzMax Forums/BlitzMax Beginners Area/Ubuntu Installation Help
| ||
Hey. I'm on Ubuntu 8.04 and I am trying to install BlitzMax. I don't know where to extract the files in "BlitzMax118_Linux.tar.gz". Can anyone help me? Thanks. |
| ||
You can put it anywhere where you want, but you could maybe best extract it your home folder, and run Maxide. Have you tried that? |
| ||
I tried to extract it to my home folder but when it completed and I went to see if it was there, it wasn't. So, I extracted it to my desktop. My problem now is that MaxIDE won't run. |
| ||
There is another thread for this available, look here. http://www.blitzmax.com/Community/posts.php?topic=70660#790245 |
| ||
It's best if you check out the Linux discussion for installing BlitzMax on any Linux distribution. Note that the sticy install guide are some what out dated. It's best open the BlitzMax archive in the archiver and drag'n drop to the desktop (do the same for the updates), open the extracted folder and move the BlitzMax folder within the BlitzMax118_Linux folder to your home folder (e.g. /home/user-name). To run maxide just goto the folder where it's located and run it or open a command terminal and "cd" to the maxide location. You will need to install additional software to do any thing with BlitzMax. See http://www.blitzbasic.com/Community/posts.php?topic=63798 http://www.blitzbasic.com/Community/posts.php?topic=78106 And if you are using a 64bit version of ubuntu the only way you will get every thing to work is making a chroot environment. See http://www.blitzbasic.com/Community/posts.php?topic=77778 |
| ||
I unpacked everything where they should be and I installed all the other libs. My only problem now is that MaxIDE won't run when clicked. It doesn't even say "Starting MaxIDE" at the bottom panel. |
| ||
try running it from a terminal and see if there is any output. |
| ||
How do I run it from a terminal? |
| ||
go to applications->accessories->terminal type cd /home/<your username>/Desktop/<Blitzmax download path> <return> (case sensitive) then type ./MaxIDE <return> |
| ||
The output is:./MaxIDE: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: no such file or directory Do I need libstdc++5 installed even though I have libstdc++6 already installed? EDIT: Yes I do. Thanks! |
| ||
EDIT: Yes I do. Thanks! All solved? |
| ||
Yes, I think so. One question though: Why does the IDE use a different GUI than the rest of the system? |
| ||
Why does the IDE use a different GUI than the rest of the system? :-) |
| ||
I have another problem. I am unable to run any BlitzMax created programs. I keep getting this error:appstub.linux signal handler 11 :-) Is there a way to fix this? |
| ||
There is a GTK version of the community version available here: http://sourceforge.net/project/downloading.php?group_id=154065&use_mirror=voxel&filename=blitzmax-ide-linux-gtk-1.15.tar.gz&55415996 EDIT: That is sadly a very old version of the IDE though, you can try to get CVS (to get the most recent code) to work, but from what I've seen its a smelly beast to tackle. |
| ||
Yes, I think so. One question though: Why does the IDE use a different GUI than the rest of the system? Maxide was built against a widget tool kit called Fast Light Tool Kit, FLTK (pronounced "fulltick"). The Linux MaxGUI module uses this tool kit. Now there have been many types of widget sets/tool kits, but the two most popular are QT and GTK ( was originally write for the GIMP application, hence known as Gimp Tool Kit) . QT is used by the KDE ( window manager while GTK is used by GNOME (the default used by Ubuntu). Brucey is being cryptic as he wrote a max-module so you can use GTK with MaxGUI. There is a problem (AFAIK) using Bruecy's GTK module with as it uses a library that came with Mozilla Firefox (v2)( libgtkembedmoz.so for HTML). FireFox that comes with ubuntu 8.04 doesn't have this library (Brucey may have found away round this I haven't looked for quite a while). This would be a problem if you tried to build the community-Edition of MaxIDE or run it. Links FLTK ---- http://www.fltk.org/index.php QT ---- http://trolltech.com/products/qt GTK ---- http://www.gtk.org/ GIMP ---- http://www.gimp.org/ KDE --- http://www.kde.org/ GNOME ---- http://www.gnome.org/ appstub.linux signal handler 11 There are many things that can cause this error (changing the maxide setting to build a non-gui app sometimes gives more information). First check that the modules have been synced. Second make sure that you have graphics hardware acceleration by installing "Restricted Drivers" (System->Administration->Hardware Drivers). Third make sure that gcc/g++ is installed correctly and these packages are installed. g++-3.3 binutils cpp-3.3 gcc-3.3 libc6-dev libstdc++5-3.3-dev libstdc++5 linux-kernel-headers libglu1-mesa-dev libgl1-mesa-dev mesa-common-dev libxxf86vm-dev libx11-dev libxau-dev libxdmcp-dev x11proto-input-dev x11proto-xf86vidmode-dev build-essential It may help to remove them and re-install (Plash had this problem http://www.blitzbasic.com/Community/posts.php?topic=77470 and http://www.blitzbasic.com/Community/posts.php?topic=77575 and both were solved by just doing this) Fourth compare any filenames that the application uses as linux is case sensitive and the application will throw a signal 11 exception. Then check your code and make sure that your not accessing any non-existent data structures/Objects. Just for reference here's a man-page about linux signals http://unixhelp.ed.ac.uk/CGI/man-cgi?signal+7 or in a command terminal type man signal |
| ||
Hey, I need a bit of help here. I'm running Ubuntu 9.04 (Jaunty Jackalope) and cannot find gcc-3.3 in the repositories, which I need to compile a certain module. Installing gcc-3.4 doesn't seem to have made a difference here. |
| ||
You won't find gcc-3.3 at all in any new version of Ubuntu repositories and now BlitzMax 1.32+ can use gcc-4.x you won't need it. If it's just a module thats giving you grief then it more than likley needs to be updated. |