Automated Solver for Linux Build issues
by Dreamer · 05/15/2007 (8:53 am) · 3 comments
Download Code File
This is a patch and an automated script I whipped up to correct various issues you may encounter when building TGE under linux.
It does the following things.
#1 Installs all needed dependencies (uses apt-get)
#2 Extracts the TGE1.5 zip file
#3 Copies the contents of the TGE directory to a new directory called Torque15
#4 Patches the Torque15 directory with every single fix you would normally have to do manually (There's about 7 primary fixes), including appending newlines to the ends of every single source files so GCC will shut up about it.
#5 changes the permissions on a couple of scripts called by make, so that these files will execute properly.
#6 Runs configure.mk to ready torque to build.
Here's how you use it.
Attached you will find a tarball, download it into your home/username directory.
Next download the torque zip file from your account page on this site.
Next do the following from a console
Thats it, from there it will prep torque and make it ready for compilation under linux.
This script has been tested on Ubuntu Fiesty Fawn, but should work on any debian distro, or any other distro that supports apt.
I hope you find this useful.
Regards,
Dreamer
This is a patch and an automated script I whipped up to correct various issues you may encounter when building TGE under linux.
It does the following things.
#1 Installs all needed dependencies (uses apt-get)
#2 Extracts the TGE1.5 zip file
#3 Copies the contents of the TGE directory to a new directory called Torque15
#4 Patches the Torque15 directory with every single fix you would normally have to do manually (There's about 7 primary fixes), including appending newlines to the ends of every single source files so GCC will shut up about it.
#5 changes the permissions on a couple of scripts called by make, so that these files will execute properly.
#6 Runs configure.mk to ready torque to build.
Here's how you use it.
Attached you will find a tarball, download it into your home/username directory.
Next download the torque zip file from your account page on this site.
Next do the following from a console
tar -xvzf installer.tar.gz cd installer chmod 755 fixtorque.sh mv fixtorque.sh ~ mv patch15.diff ~ ./fixtorque.sh
Thats it, from there it will prep torque and make it ready for compilation under linux.
This script has been tested on Ubuntu Fiesty Fawn, but should work on any debian distro, or any other distro that supports apt.
I hope you find this useful.
Regards,
Dreamer
About the author
Torque 3D Owner ArmedGeek