Kubuntu 8.04

Archives Forums/Linux Discussion/Kubuntu 8.04

MrTAToad(Posted 2008) [#1]
I'm trying the different versions of Ubuntu, and whilst BlitzMax works fine with Ubuntu and Xbuntu, it wont with Kubuntu - it just wont load and run, and no programs compiled with BlitzMax will run.

I have installed all the C/C++/Sound/GL/X libraries, but still nothing.

Has anyone else got BlitzMax working on Kubuntu 8.04, or is it just not compatible ?

It appears that a library the WINE uses allows MaxIDE to run - looks like Kubuntu requires a different set of C++ library files...

I also had to use sudo ln -s -T /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs-32.h to allow the rebuilding of modules.

However, as it appears that Kubuntu is a 64-bit OS, I cant get any further.


dawlane(Posted 2008) [#2]
However, as it appears that Kubuntu is a 64-bit OS,

There's a 32bit version.
To check if you have the 64bit version installed open a command terminal and type "uname -a". If you see x86_64 then it's the 64bit version (the 32bit version would say i686 or i386).

The BlitzMax on the 32bit version of Kubuntu should work as long as you installed the necessary libs. As in this topic
http://www.blitzbasic.com/Community/posts.php?topic=63798

BlitzMax on the 64bit versions of linux has problems, as it looks like it's hard coded to the GCC-3.3 compiler tool set.
And installing gcc-3.3/g++-3.3 only installs the 64bit version of the tools and libs.

Now if BlitzMax was built against the gcc-4.2 we could have used the Mulit-lib package which installs both the 32bit libs and the 64bit libs. But its sad to say that there is no Mulit-lib version of gcc-3.3.

Doing links (as in the topic's listed below) will allow you to compile your projects, but will not allow you to build/rebuild modules (the 32/64bit lib problem).

http://www.blitzbasic.com/Community/posts.php?topic=76407
http://www.blitzbasic.com/Community/posts.php?topic=76068

I have found a way to get round this problem by creating a chroot environment and installing a minimal 32bit OS into it.
Then installing the necessary 32bit compiler and libs required.

http://www.blitzbasic.com/Community/posts.php?topic=77778

Because Kubuntu is similar to ubuntu you just have to change the link from the Synpatic package manager to the kubuntu package manager.


MrTAToad(Posted 2008) [#3]
I would think about installing Ubuntu inside Kubuntu, except for one slight problem : Lack of disk space (its a Linux installation inside an almost full Windows installation).

There's a 32bit version.

Looks like I installed the wrong version, although the ISO was labelled i386...

It appears that Xububtu and Kububtu will auto select which type of system to use - As I'm doing this on an Apple Mac (which has a 64-bit processor), both are installing the 64-bit version of everything.