Ubuntu 8.10 and gcc/g++ a Solution

Archives Forums/Linux Discussion/Ubuntu 8.10 and gcc/g++ a Solution

dawlane(Posted 2008) [#1]
For those of you out the that haven't already discovered. BlitzMax has problems running on the latest version of Ubuntu 8.10 (intrepid).

The main reason as far as I know is that gcc-3.3/g++-3.3 are no longer with us on this version of the OS (There is gcc-3.4 but no g++3.x)

But fear not there is a work around and this involves using the last version of gcc-3.3/g++-3.3 and a bit of command terminal work.
First we need the these files

cpp-3.3_3.3.6-15ubuntu2_i386.deb
g++-3.3_3.3.6-15ubuntu2_i386.deb
gcc-3.3-base_3.3.6-15ubuntu2_i386.deb
gcc-3.3_3.3.6-15ubuntu2_i386.deb
libstdc++5_3.3.6-15ubuntu2_i386.deb
libstdc++5-3.3-dev_3.3.6-15ubuntu2_i386.deb

from the Ubuntu archive server http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.3/

Just to make thing easier to read make a folder called gcc on your desktop and move these files into it.

Open a command terminal (Applications->Accessories->Terminal) and type

cd Desktop/gcc



then type ls or dir to list the contents.
Next we need to use the dpkg command to install the deb packages.

sudo dpkg -i --force-depends gcc-3.3-base_3.3.6-15ubuntu2_i386.deb
sudo dpkg -i --force-depends cpp-3.3_3.3.6-15ubuntu2_i386.deb
sudo dpkg -i --force-depends gcc-3.3_3.3.6-15ubuntu2_i386.deb
sudo dpkg -i --force-depends g++-3.3_3.3.6-15ubuntu2_i386.deb
sudo dpkg -i --force-depends libstdc++5_3.3.6-15ubuntu2_i386.deb
sudo dpkg -i --force-depends libstdc++5-3.3-dev_3.3.6-15ubuntu2_i386.deb




Note the --force-depends option is used here because...
1) I couldn't remember which package depends on what.
2) The g++ and libstdc++5.3.3-dev both need the other to be installed first.

If there are any mistakes I will correct them.

UPDATE: It looks like skidracer has solved the problem of not having to use an earlier version of gcc checkout http://www.blitzbasic.com/Community/posts.php?topic=81261