Note: mandriva.com only distributes KDE so to get GNOME go to the mirrors on wiki.mandriva.com.
I would recommend that you first update Mandriva to the latest packages but for the purpose of this how-to I didn't. There is already a how-to for Mandriva here but I wanted a more verbose description.
For a quick install open Konsole enter 'su' first and then paste the following.
Download BlitzMax130.tar.gz, right-click it and select 'Open with Ark'.
Extract the files to '/home/user' and then extract MaxGui130.tar.gz.
Now if you open MaxIDE and run something BlitzMax will say it needs the GNU C++ compiler.
sh: g++-3.3: command not found
Open Software Management (Install & Remove Software) and make sure the dropdown list has 'All' selected.
Browse to Development>C++ and check 'gcc3.3-c++' (you can type the letters rather than scroll down the list).
This will install the following dependencies (marked with a '+').
gcc3.3-c++ - C++ support for gcc
+ binutils - GNU Binary Utility Development Utilities
+ gcc3.3 - GNU Compiler Collection
+ gcc3.3-cpp - The C Preprocessor
+ glibc-devel - Header and object files for development using standard C libraries
+ kernel-headers - Linux kernel header files for userspace
+ libbinutils2 - Main library for binutils
+ libstdc++5-devel - Header files and libraries for C++ development
Open Konsole and type the following to tell BlitzMax to link to g++ v3.3.
whereis g++ [which should print: /usr/bin/g++]
su [to become root]
cd /usr/bin [to change directory]
ln -s g++ g++-3.3 [to symbolic link to g++-3.3]
ln -s gcc gcc-3.3 [to symbolic link to gcc-3.3]
Now if you run something in BlitzMax it will say it needs the X library.
/usr/bin/ld: cannot find -lX11
In Software Management browse to Development>X11 and check 'libx11_6-devel'.
This will install the following dependencies.
libx11_6-devel - X Library
+ libice6-devel - X Inter Client Exchange Library
+ libpthread-stubs - PThread Stubs for XCB
+ libsm6-devel - Development files for libsm
+ libxau6-devel - X authorization file management library
+ libxcb1-devel - Development files for libxcb
+ libxdmcp6-devel - Development files for libxdmcp
+ libxt6-devel - X Toolkit Library
+ x11-proto-devel - Xorg X11 protocol specification headers
Now if you run something in BlitzMax it will say it needs the OpenGL library.
/usr/bin/ld: cannot find -lGL
In Software Management browse to Development>C and check 'libmesaglu1-devel'.
This will install the following dependencies.
libmesaglu1-devel - Development files for GLU libs
+ libdrm-devel - Development files for libdrm
+ libmesagl1-devel - Development files for Mesa (OpenGL compatible 3D lib)
+ libmesaglu1 - Files for Mesa (GLU libs)
+ libmesaglut3 - Files for Mesa (glut libs)
+ libxdamage-devel - Development files for libxdamage
+ libxext6-devel - Development files for libxext
+ libxfixes3-devel - Development files for libxfixes
+ libxxf86vm-devel - Development files for libxxf86vm
You should now be able to run BlitzMax programs with sound.
However, you should install the ALSA library which replaces the old OSS api.
In Software Management browse to Development>C and check 'libalsa2-devel'.
libalsa2-devel - Development files for Advanced Linux Sound Architecture (ALSA)
Finally, X.Org is an open source implementation of the X Window System.
You probably won't need these extra packages but there's no harm in having them.
In Software Management browse to Development>X11 and check 'libxorg-x11-devel'.
This will install the following dependencies.
libxorg-x11-devel - Development tools and files for X11
+ libapplewm-devel
+ libapplewm7
+ libdmx-devel
+ libdmx1
+ libfontconfig-devel
+ libfontenc1-devel
+ libfreetype6-devel
+ libfs-devel
+ libfs6
+ liblbxutil-devel
+ liblbxutil1
+ libmesaglut3-devel
+ libmesaglw1
+ libmesaglw1-devel
+ liboldx6
+ liboldx6-devel
+ libpixman-1-devel
+ libwindowswm-devel
+ libwindowswm7
+ libxaw-devel
+ libxaw6
+ libxcomposite1-devel
+ libxcursor-devel
+ libxevie-devel
+ libxevie1
+ libxfont1-devel
+ libxfontcache1-devel
+ libxft-devel
+ libxi-devel
+ libxinerama1-devel
+ libxkbfile-devel
+ libxkbui-devel
+ libxml2-devel
+ libxmu6-devel
+ libxp-devel
+ libxpm-devel
+ libxrandr2-devel
+ libxrender1-devel
+ libxres1
+ libxres1-devel
+ libxscrnsaver1-devel
+ libxtrap-devel
+ libxtrap6
+ libxtst6-devel
+ libxv1-devel
+ libxvmc1-devel
+ libxxf86dga-devel
+ libxxf86misc-devel
+ x11-server-devel
+ x11-xtrans-devel
+ zlib1-devel
I would recommend that you first update Mandriva to the latest packages but for the purpose of this how-to I didn't. There is already a how-to for Mandriva here but I wanted a more verbose description.
For a quick install open Konsole enter 'su' first and then paste the following.
urpmi gcc3.3-c++ libx11_6-devel libmesaglu1-devel libalsa2-devel
Download BlitzMax130.tar.gz, right-click it and select 'Open with Ark'.
Extract the files to '/home/user' and then extract MaxGui130.tar.gz.
Now if you open MaxIDE and run something BlitzMax will say it needs the GNU C++ compiler.
sh: g++-3.3: command not found
Open Software Management (Install & Remove Software) and make sure the dropdown list has 'All' selected.
Browse to Development>C++ and check 'gcc3.3-c++' (you can type the letters rather than scroll down the list).
This will install the following dependencies (marked with a '+').
gcc3.3-c++ - C++ support for gcc
+ binutils - GNU Binary Utility Development Utilities
+ gcc3.3 - GNU Compiler Collection
+ gcc3.3-cpp - The C Preprocessor
+ glibc-devel - Header and object files for development using standard C libraries
+ kernel-headers - Linux kernel header files for userspace
+ libbinutils2 - Main library for binutils
+ libstdc++5-devel - Header files and libraries for C++ development
Open Konsole and type the following to tell BlitzMax to link to g++ v3.3.
whereis g++ [which should print: /usr/bin/g++]
su [to become root]
cd /usr/bin [to change directory]
ln -s g++ g++-3.3 [to symbolic link to g++-3.3]
ln -s gcc gcc-3.3 [to symbolic link to gcc-3.3]
Now if you run something in BlitzMax it will say it needs the X library.
/usr/bin/ld: cannot find -lX11
In Software Management browse to Development>X11 and check 'libx11_6-devel'.
This will install the following dependencies.
libx11_6-devel - X Library
+ libice6-devel - X Inter Client Exchange Library
+ libpthread-stubs - PThread Stubs for XCB
+ libsm6-devel - Development files for libsm
+ libxau6-devel - X authorization file management library
+ libxcb1-devel - Development files for libxcb
+ libxdmcp6-devel - Development files for libxdmcp
+ libxt6-devel - X Toolkit Library
+ x11-proto-devel - Xorg X11 protocol specification headers
Now if you run something in BlitzMax it will say it needs the OpenGL library.
/usr/bin/ld: cannot find -lGL
In Software Management browse to Development>C and check 'libmesaglu1-devel'.
This will install the following dependencies.
libmesaglu1-devel - Development files for GLU libs
+ libdrm-devel - Development files for libdrm
+ libmesagl1-devel - Development files for Mesa (OpenGL compatible 3D lib)
+ libmesaglu1 - Files for Mesa (GLU libs)
+ libmesaglut3 - Files for Mesa (glut libs)
+ libxdamage-devel - Development files for libxdamage
+ libxext6-devel - Development files for libxext
+ libxfixes3-devel - Development files for libxfixes
+ libxxf86vm-devel - Development files for libxxf86vm
You should now be able to run BlitzMax programs with sound.
However, you should install the ALSA library which replaces the old OSS api.
In Software Management browse to Development>C and check 'libalsa2-devel'.
libalsa2-devel - Development files for Advanced Linux Sound Architecture (ALSA)
Finally, X.Org is an open source implementation of the X Window System.
You probably won't need these extra packages but there's no harm in having them.
In Software Management browse to Development>X11 and check 'libxorg-x11-devel'.
This will install the following dependencies.
libxorg-x11-devel - Development tools and files for X11
+ libapplewm-devel
+ libapplewm7
+ libdmx-devel
+ libdmx1
+ libfontconfig-devel
+ libfontenc1-devel
+ libfreetype6-devel
+ libfs-devel
+ libfs6
+ liblbxutil-devel
+ liblbxutil1
+ libmesaglut3-devel
+ libmesaglw1
+ libmesaglw1-devel
+ liboldx6
+ liboldx6-devel
+ libpixman-1-devel
+ libwindowswm-devel
+ libwindowswm7
+ libxaw-devel
+ libxaw6
+ libxcomposite1-devel
+ libxcursor-devel
+ libxevie-devel
+ libxevie1
+ libxfont1-devel
+ libxfontcache1-devel
+ libxft-devel
+ libxi-devel
+ libxinerama1-devel
+ libxkbfile-devel
+ libxkbui-devel
+ libxml2-devel
+ libxmu6-devel
+ libxp-devel
+ libxpm-devel
+ libxrandr2-devel
+ libxrender1-devel
+ libxres1
+ libxres1-devel
+ libxscrnsaver1-devel
+ libxtrap-devel
+ libxtrap6
+ libxtst6-devel
+ libxv1-devel
+ libxvmc1-devel
+ libxxf86dga-devel
+ libxxf86misc-devel
+ x11-server-devel
+ x11-xtrans-devel
+ zlib1-devel