The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2024, 03:09:58 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Need help compiling de-cleansing mod in Ubuntu linux
« previous next »
Pages: [1] Print
Author Topic: Need help compiling de-cleansing mod in Ubuntu linux  (Read 1998 times)
onfurtherreview
Zebranky food
*
Offline Offline

Gender: Male
Posts: 4



View Profile WWW
Need help compiling de-cleansing mod in Ubuntu linux
« on: October 17, 2012, 07:21:00 pm »

The subject title pretty much says it all, but I'm apparently incapable of figuring out how to apply the de-cleansing mod to version 0.7.0 in Ubuntu 12.04. Could someone please walk me through the process?

I've played through the game six times already without any cheating, but I'm really wanting to spend a lot more time on exploration.
Logged
oldlaptop
*Smell* controller
****
Offline Offline

Posts: 337



View Profile
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #1 on: October 17, 2012, 10:44:02 pm »

Firstly, download the patch against UQM 0.7.0: http://sourceforge.net/projects/uqm-mods/files/De-Cleansing Mod/0.7.0/uqm-0.7.0-dcm.diff/download

Secondly, you will need to apply this patch to a freshly unpacked UQM 0.7.0 source tree. For example:

Code: (from within the top level of the UQM source tree)
$ patch -p0 < /path/to/uqm-0.7.0-dcm.diff

Now you simply compile UQM normally, as described in the INSTALL file in UQM source. Note that in Ubuntu you should be able to ensure UQM has all the packages it needs to compile with:

Code:
$ sudo apt-get build-dep uqm
Logged

Play Supermelee online in #uqm-arena!
Netmelee Improvement Mod
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #2 on: October 18, 2012, 12:51:01 am »

That is exactly correct. When I get more time I will expand the section on unified diffs and compiling my mods for Mac and Linux.
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
onfurtherreview
Zebranky food
*
Offline Offline

Gender: Male
Posts: 4



View Profile WWW
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #3 on: October 18, 2012, 12:58:02 am »

Thank you both very much.
Logged
onfurtherreview
Zebranky food
*
Offline Offline

Gender: Male
Posts: 4



View Profile WWW
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #4 on: October 18, 2012, 01:58:25 am »

I feel even more like an idiot now--I was running version 0.6.2 to start with! No wonder nothing worked right!
Logged
onfurtherreview
Zebranky food
*
Offline Offline

Gender: Male
Posts: 4



View Profile WWW
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #5 on: October 19, 2012, 01:50:25 am »

Up and running, working fine! Had to dig around for a lot of the dependencies... I'll try to remember what all I went through to get it up and running, but it mostly involved making sure to install the "-dev" of anything that doesn't immediately work when you install the regular version from the repositories.
Logged
oldlaptop
*Smell* controller
****
Offline Offline

Posts: 337



View Profile
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #6 on: October 19, 2012, 03:35:21 am »

Up and running, working fine! Had to dig around for a lot of the dependencies... I'll try to remember what all I went through to get it up and running, but it mostly involved making sure to install the "-dev" of anything that doesn't immediately work when you install the regular version from the repositories.

As I mentioned before, the easy way to do that in Ubuntu or Debian is 'apt-get build-dep uqm' (assuming the appropriate repository is available, this appears to be 'multiverse' in Ubuntu). If you ever happen to be compiling something that is *not* in Ubuntu/Debian repositories (or which is an outdated version in the repositories as UQM happens to be, fortunately UQM dependencies did not change in 0.7.0  Smiley), you generally do need to manually install the -dev package for any dependency it has (those contain header files which tell the compiler what functionality the library provides).
« Last Edit: October 19, 2012, 03:39:17 am by oldlaptop » Logged

Play Supermelee online in #uqm-arena!
Netmelee Improvement Mod
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Need help compiling de-cleansing mod in Ubuntu linux
« Reply #7 on: October 22, 2012, 03:27:41 am »

Glad you were able to get it built.
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!