Linux Server Installation
This page will go through installing the current MV3D server on a Linux system. If you find any errors or omissions, feel free to update the page. For bug reports, please create a new ticket.
Prerequisites
- GCC 4.1 (or greater)
- G++ 4.1 (or greater)
- Python 2.4
- Python 2.4 development headers
- Swig 1.3.29 (or greater)
- Subversion
Components
- Psyco
- Twisted Python 2.4.0 (or greater)
- ODE 0.6 (or 0.5)
- PyODE
- MV3D Code
Overview
Install the prerequisites. Download and build the components. Install the Python modules, unzip the media file, and then run the client.
How To
Build and Install a Python Module
python setup.py config python setup.py build python setup.py install
Steps
- The following steps should be performed as root on the command line
- Download and install Psyco Python module
- Download Twisted Python 2.4.0 and install Python modules in this order (cd to their directories): ZopeInterface? TwistedCore? Everything else (from the main directory)
- Download the ODE 0.6 zip file (do not use Subversion as they changed their build mechanism in a way that breaks PyODE-- this is possible, you just need to create a config/user-settings file that has this text in it: OPCODE_DIRECTORY=OPCODE)
- Unzip the archive and cd to its directory. Then cd to the config(ure) subdirectory.
- Copy the user-settings.sample file to user-settings and edit the last line to uncomment OPCODE_DIRECTORY=OPCODE by removing the hash mark.
- Go to the parent directory and run make (./configure first if you are running the new build system)
- There may be errors related to GL or GLX. Ignore these. If it got this far, you are good to go.
- Download and install the PyODE Python module. You must unzip the source module in the same directory that the ode directory is. It looks for ode in ../ode by default.
- Now you need to get the MV3D Python code and media. Use the following Subversion command (it will create a mv3d directory in your current directory)
svn co http://dev.mv3d.com:8080/svn/mv3d/mv3d
- Download the media from the Download Area and unzip it into your mv3d dir.
- Run the client.
cd mv3d ./RunClient.py
- If that doesn't work, try python RunClient.py
References
Back to TechnicalDocumentation.
