Installation guide
From Psychosynth
m (→Dependencies) |
|||
| Line 27: | Line 27: | ||
apt-get install automake libtool libogre-dev libois-dev libcegui-mk2-dev libasound2-dev libjack-dev liblo0-dev libsndfile-dev libxml2-dev libsoundtouch1-dev libvorbis-dev | apt-get install automake libtool libogre-dev libois-dev libcegui-mk2-dev libasound2-dev libjack-dev liblo0-dev libsndfile-dev libxml2-dev libsoundtouch1-dev libvorbis-dev | ||
</pre> | </pre> | ||
| + | |||
| + | When installing using bzr files previous you have to install some dependencies before (tested on lenny), use dpkg -l |grep libboost to check that previous version is not installed, if is installed remove all packets that shows the output of dpkg -l |grep liboost | ||
| + | |||
| + | <pre> | ||
| + | # apt-get install libboost-serialization1.35-dev libboost1.35-dev libsigc++-2.0-dev | ||
| + | </pre> | ||
| + | |||
| + | then continue with the following installation | ||
| + | |||
| + | <pre># autoreconf</pre> | ||
| + | |||
| + | <pre># ./configure</pre> | ||
| + | |||
| + | <pre># make</pre> | ||
| + | |||
| + | and then run the program located on src/psynth3d | ||
| + | |||
| + | --- | ||
| + | ''when you run psynth3d it works but asks for selecting renderer, but when you push de button the program closes and gives that output: '' | ||
| + | <pre># ./psynth3d | ||
| + | [/xmlconf] ERROR: Could not open config file for reading: /root/.psychosynth/psychosynth.xml | ||
| + | [/gui] INFO: Loading settings. | ||
| + | [/xmlconf] ERROR: Could not open config file for reading: /root/.psychosynth/psynth3d.xml | ||
| + | [/gui] INFO: Initializing Ogre. | ||
| + | Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed | ||
| + | Error: Shell widget menu has zero width and/or height</pre> | ||
| + | --[[User:Blackhold|Blackhold]] 15:10, 25 October 2008 (CEST) | ||
== Installing == | == Installing == | ||
Revision as of 13:10, 25 October 2008
First of all you must get a copy of the sources of this program. Go to the download section if you do not have them yet. Note that this document is only to install from the sources -if there is a binary package for your distribution, use that instead.
Dependencies
Then, to try the software you will need these third party libraries and programs:
|
|
In Debian and Ubuntu you can install all those dependencies with the following command. Anyways, I suggest installing liblo from the original sources because the version in the repositories is outdated and contains a bug:
apt-get install automake libtool libogre-dev libois-dev libcegui-mk2-dev libasound2-dev libjack-dev liblo0-dev libsndfile-dev libxml2-dev libsoundtouch1-dev libvorbis-dev
When installing using bzr files previous you have to install some dependencies before (tested on lenny), use dpkg -l |grep libboost to check that previous version is not installed, if is installed remove all packets that shows the output of dpkg -l |grep liboost
# apt-get install libboost-serialization1.35-dev libboost1.35-dev libsigc++-2.0-dev
then continue with the following installation
# autoreconf
# ./configure
# make
and then run the program located on src/psynth3d
--- when you run psynth3d it works but asks for selecting renderer, but when you push de button the program closes and gives that output:
# ./psynth3d [/xmlconf] ERROR: Could not open config file for reading: /root/.psychosynth/psychosynth.xml [/gui] INFO: Loading settings. [/xmlconf] ERROR: Could not open config file for reading: /root/.psychosynth/psynth3d.xml [/gui] INFO: Initializing Ogre. Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed Error: Shell widget menu has zero width and/or height
--Blackhold 15:10, 25 October 2008 (CEST)
Installing
If you downloaded the program from Bazaar you will first need to generate the compilation scripts:
autoreconf
Now you will need to run the configuration script to detect the the libraries and set up the compilation settings.
./configure
Check that everything has been detected correctly and then compile the program:
make
At last we must run these commands with superuser privileges to install:
make install ldconfig
We can now run the 3D simulator:
psynth3d

