I'm running Ubuntu 8.10 with the standard packages.
I got the dev trunk from SVN and it appears the modules all compile just fine with gcc/g++ 4.3.2
Note: This guide is for a 32 bit system. I cannot guarantee it will work on a 64-bit system. Please refer to this thread for information regarding installation on a 64-bit system.
Here's a quick rundown of all the steps involved in getting blitz working on Ubuntu 8.10. Open up a terminal and do the following:
foo@bar:~$ sudo apt-get install subversion libstdc++5 gcc g++ libxxf86vm-dev libglu1-mesa-dev x11proto-core-dev x11proto-gl-dev x11proto-kb-dev libxxf86vm-dev libasound2-dev build-essential libidn11-dev libxft-dev
Once you got this setup, create a new directory to download blitz into.
foo@bar:~$ mkdir bmx
foo@bar:~$ cd bmx
Now for the SVN business:
replace <username> and <password> with your blitz account details.
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/blitzmax/dev/main" . --username <username> --password <password>
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/blitzmax/dev/linux_x86/bin" ./bin --username <username> --password <password>
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/blitzmax/dev/linux_x86/lib" ./lib --username <username> --password <password>
And if you also have MaxGUI:
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/maxgui/dev/maxgui.mod" ./mod/maxgui.mod --username <username> --password <password>
Once you got everything, we can start building it:
foo@bar:~/bmx$ bin/bmk makemods
foo@bar:~/bmx$ bin/bmk makemods -h
foo@bar:~/bmx$ bin/docmods
foo@bar:~/bmx$ bin/makedocs
note: 'bmk makemods -h' may cough up some errors when compiling pub.threads module. There is a fix for this here: http://www.blitzbasic.com/Community/posts.php?topic=82195
All we need now is the IDE. If you don't already have a nice IDE, you can download the Community Edition of the standard MaxIDE from here: http://sourceforge.net/project/showfiles.php?group_id=154065
Click the Download link and then click the 'maxide2-linux-fltk-2.00b4.tar.gz' link.
Go to the directory where the file has been downloaded to, right-click the file and select 'Extract Here'. It will unpack the maxIDE binary. Copy/Paste the file to the directory where you downloaded the svn files earlier (~/bmx/).
You can now run MaxIDE and start using blitz.
I got the dev trunk from SVN and it appears the modules all compile just fine with gcc/g++ 4.3.2
Note: This guide is for a 32 bit system. I cannot guarantee it will work on a 64-bit system. Please refer to this thread for information regarding installation on a 64-bit system.
Here's a quick rundown of all the steps involved in getting blitz working on Ubuntu 8.10. Open up a terminal and do the following:
foo@bar:~$ sudo apt-get install subversion libstdc++5 gcc g++ libxxf86vm-dev libglu1-mesa-dev x11proto-core-dev x11proto-gl-dev x11proto-kb-dev libxxf86vm-dev libasound2-dev build-essential libidn11-dev libxft-dev
Once you got this setup, create a new directory to download blitz into.
foo@bar:~$ mkdir bmx
foo@bar:~$ cd bmx
Now for the SVN business:
replace <username> and <password> with your blitz account details.
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/blitzmax/dev/main" . --username <username> --password <password>
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/blitzmax/dev/linux_x86/bin" ./bin --username <username> --password <password>
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/blitzmax/dev/linux_x86/lib" ./lib --username <username> --password <password>
And if you also have MaxGUI:
foo@bar:~/bmx$ svn checkout "http://www.blitzbasic.com:81/svn/maxgui/dev/maxgui.mod" ./mod/maxgui.mod --username <username> --password <password>
Once you got everything, we can start building it:
foo@bar:~/bmx$ bin/bmk makemods
foo@bar:~/bmx$ bin/bmk makemods -h
foo@bar:~/bmx$ bin/docmods
foo@bar:~/bmx$ bin/makedocs
note: 'bmk makemods -h' may cough up some errors when compiling pub.threads module. There is a fix for this here: http://www.blitzbasic.com/Community/posts.php?topic=82195
All we need now is the IDE. If you don't already have a nice IDE, you can download the Community Edition of the standard MaxIDE from here: http://sourceforge.net/project/showfiles.php?group_id=154065
Click the Download link and then click the 'maxide2-linux-fltk-2.00b4.tar.gz' link.
Go to the directory where the file has been downloaded to, right-click the file and select 'Extract Here'. It will unpack the maxIDE binary. Copy/Paste the file to the directory where you downloaded the svn files earlier (~/bmx/).
You can now run MaxIDE and start using blitz.