I was hoping to trial the OpenMW project over the weekend, but unfortunately there is no .deb package for version 0.18. I then attempted to build from source, but I was met with more issues. Debian Sid is missing three required libraries, libbullet-dev, libmygui-dev, and libogre-dev. Debian does have the Ogre binary dev but it is out of date. From reading through this forum I get the impression that building for Debian will require more tweaking. I am not very involved with the development and do not know the details. I just hope this helps others get started building OpenMW in Debian.
To build OpenMW in Debian, I had to build the mentioned libraries as well and include a workaround for Ogre. Here is how I accomplished this.
First step is to modify the /etc/apt/sources.list file to contain only the following sources:
sudo nano /etc/apt/sources.list
Code: Select all
#Enable Squeeze backports
deb http://backports.debian.org/debian-backports squeeze-backports main
#SID
deb http://ftp.ca.debian.org/debian sid main contrib non-free
deb-src http://ftp.ca.debian.org/debian sid main contrib non-free
#Ubuntu Game Packages
deb-src http://archive.getdeb.net/ubuntu/ precise-getdeb games
You will receive a GPG warning about the Ubuntu Game Packages source. Ignore it.sudo apt-get update
Before we download the files we want to make sure we have all the dependencies.
You will receive a warning about a missing library: "libogre1.8-dev" cannot be found. I think this may be a typo. Instead, we will install "libogre-1.8-dev" - notice the extra dash?sudo apt-get build-dep libbullet mygui
Now download the the source packages for libbullet and mygui.sudo apt-get install libogre-1.8-dev
We can now begin compiling. We will begin with bullet first. Inside the new libbullet directory, go into the "debian" folder and delete the two files "libbullet0.symbols.amd64" and "libbullet0.symbols.i386". I could not compile with these. (because they are Ubuntu source files?) Next, return to the root of the bullet folder. In a terminal, enter:apt-get source libbullet mygui
Compiling should begin. If everything goes smoothly, we should have two libbullet .deb binaries created in the parent folder of libbullet.dpkg-buildpackage -b -uc -us
Next we compile mygui. Inside the new mygui directory, go into the "debian" folder and again delete the two files "libmygui3.symbols.amd64" and "libmygui3.symbols.i386". Inside the same directory, open the file called "control" in a text editor and change the following entries:
This will allow mygui to compile using the Ogre version available in Debian SID. Again, return to the root of the mygui folder. In a terminal, enter:change "libogre1.8-dev (>= 1.8.1)," to "libogre-1.8-dev (>= 1.8),"
and change "libogre1.8-dev," to "libogre-1.8-dev,"
If compiling goes smoothly, we should have three mygui .deb binaries created in the parent folder of mygui.dpkg-buildpackage -b -uc -us
The parent folder should now contain 5 binaries in total. Install all of them with your preferred package manager. If all goes well, OpenMW should now compile successfully. The guide for that is below:
https://wiki.openmw.org/index.php?title ... pendencies
Don't forget to return your "/etc/apt/sources.list" back to normal!
This is still a work in progress. Although OpenMW compiles, installs, and launches successfully, I am still unable to start my Morrowind installation. If this helps anyone, thanks should go out to the folks at the Freenode #debian channel. I forgot to write down the gentleman's name who was assisting me last night, but they have always been great help.