How to: Dependencies Fedora 22/23

Archives Forums/Linux Discussion/How to: Dependencies Fedora 22/23

dawlane(Posted 2016) [#1]
The scripts below will get you up and running on both the 32bit and 64bit releases of Fedora 22/23
NOTE: It will be up to you install the proprietary graphic drivers for this distribution. These are required for the correct operation on Fedora. Not doing so will generate X server errors.

INSTALL THE BLITZ MAX BUILD ENVIRONMENT

1) IMPORTANT: Make sure that your system is up to date before you begin.
Open a command terminal. On the Gnome 3 desktop the terminal will be under Activities->Show Applications->All->Utilities.
If you have set the the user to use sudo then type
sudo dnf update
else type
su -
and then
dnf update
You will be asked for the administrator password.
You may have to reboot the system with
reboot
after the update.

2) Open a text editor and copy and paste the script below. Save it as bmax-install.sh in your user home directory.


3) Set the new bmax-insatll.sh file execute permission.
chmod +x ~/bmax-install.sh

4) Open a terminal and execute the command below. Enter the root password when asked and answer yes when asked to install the packages. If have started a shell session with su then you can omit the sudo command.
cd ~/ && sudo ./bmax-install.sh


PATCH BLITZ MAX TO FIX SOUND ISSUES ETC

1) Extract BlitzMax to your user home directory.

2) In a text editor create a new text file and copy and paste the script below. Save it as patch.sh in the same location where the BlitzMax directory is (in this case the users home), but not inside of the BlitzMax directroy.
NOTE: The patch file only works on a clean extracted version of BlitzMax (tested of 1.48) and may break a modified version and also sets the default audio driver to pulse audio. To change the audio driver you will need to edit /mod/brl.mod/freeaudioaudio.mod/freeaudioaudio.bmx and /mod/pub.modfreeaudio.mod/freeaudio.bmx.
NOTE: If you should get an error such as "Assertion 's' failed at pulse/simple.c:255, function pa_simple_free(). Aborting.". Then check that pulse audio is set up correctly



3) Change the new patch files execute permission.
chmod +x ~/patch.sh

4) Run the patch file with the command below
cd ~/ && ./patch.sh

5) Rebuild the modules with
~/BlitzMax/bin/bmk makemods -a

List of package dependencies require for deployment
For 64 bit destributions append .i686 to the end of the package.
libX11 libXxf86vm mesa-libGL mesa-libGLU libXft libXpm alsa-lib freeglut mesa-libGLU pulseaudio-libs openal-soft alsa-plugins-pulseaudio fontconfig

And to avoid conflicts use
dnf --best <packages>