<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://psychosynth.gnu.sinusoid.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://psychosynth.gnu.sinusoid.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danielfernando</id>
		<title>Psychosynth - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://psychosynth.gnu.sinusoid.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danielfernando"/>
		<link rel="alternate" type="text/html" href="https://psychosynth.gnu.sinusoid.es/index.php?title=Special:Contributions/Danielfernando"/>
		<updated>2026-10-17T02:18:01Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.20+dfsg-0+deb7u3</generator>

	<entry>
		<id>https://psychosynth.gnu.sinusoid.es/index.php?title=Installation_guide</id>
		<title>Installation guide</title>
		<link rel="alternate" type="text/html" href="https://psychosynth.gnu.sinusoid.es/index.php?title=Installation_guide"/>
				<updated>2009-02-06T19:59:48Z</updated>
		
		<summary type="html">&lt;p&gt;Danielfernando: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Then, to try the software you will need these third party libraries and programs:&lt;br /&gt;
{|cellspacing=&amp;quot;20px&amp;quot;|&lt;br /&gt;
|&lt;br /&gt;
* GNU Autotools (only for the SVN version)&lt;br /&gt;
* Ogre (needed by the 3D interface)&lt;br /&gt;
* CEGUI (needed by the 3D interface)&lt;br /&gt;
* OIS (needed by the 3D interface)&lt;br /&gt;
* liblo (needed for the network support)&lt;br /&gt;
* libxml2 (needed for XML config support)&lt;br /&gt;
|&lt;br /&gt;
* Alsa (needed for ALSA sound output)&lt;br /&gt;
* Jack (needed for Jack sound ouput)&lt;br /&gt;
* libsndfile (needed for pcm file support)&lt;br /&gt;
* libvorbis (needed for OGG vorbis file support)&lt;br /&gt;
* SoundTouch (needed for sample stretching)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
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&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apt-get install libboost-serialization1.35-dev libboost1.35-dev libsigc++-2.0-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then continue with the following installation (first check that file configure.ac has commented this line: PACKAGE_DATA_DIR=&amp;quot;./data&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# autoreconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# ./configure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then run the program simply typing psynth3d, if the program gives you the output: ''[/alsa] WARNING: Could not write to device. (Broken pipe)'' change the audio to oss in config menu.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
If you downloaded the program from Bazaar you will first need to generate the compilation scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will need to run the configuration script to detect the the libraries and set up the compilation settings.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check that everything has been detected correctly and then compile the program:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At last we must run these commands with superuser privileges to install:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now run the 3D simulator:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
psynth3d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
* While installing on Ubuntu  the configure script says 'libsoundtouch not found', while I've just installed it!&lt;br /&gt;
&lt;br /&gt;
Yes, this is actually a bug in 0.1-1. The problem is that the configure script have some trouble finding right package on Ubuntu (seems it's only Ubuntu problem). It should be fixed in next release. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* I was unable to compile the source, some errors associated with 'cstring' library appeared.&lt;br /&gt;
&lt;br /&gt;
It's just because you've got too new gcc. The source was prepared for older compiler. There are two ways of solving this issue: a) you can backport the compiler (I don't recommend this) or b) you can wait for new source code that'll work with the newest gcc (although this solution may require patience, as psychosynt is not very often updated). It also should be fixed in next release.&lt;br /&gt;
&lt;br /&gt;
** The above mentioned errors happens in Ubuntu 8.10. Using Ubuntu 8.04, the compilation runs ok but when executed, the software crashes the system.&lt;/div&gt;</summary>
		<author><name>Danielfernando</name></author>	</entry>

	<entry>
		<id>https://psychosynth.gnu.sinusoid.es/index.php?title=Installation_guide</id>
		<title>Installation guide</title>
		<link rel="alternate" type="text/html" href="https://psychosynth.gnu.sinusoid.es/index.php?title=Installation_guide"/>
				<updated>2009-02-05T13:58:31Z</updated>
		
		<summary type="html">&lt;p&gt;Danielfernando: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Then, to try the software you will need these third party libraries and programs:&lt;br /&gt;
{|cellspacing=&amp;quot;20px&amp;quot;|&lt;br /&gt;
|&lt;br /&gt;
* GNU Autotools (only for the SVN version)&lt;br /&gt;
* Ogre (needed by the 3D interface)&lt;br /&gt;
* CEGUI (needed by the 3D interface)&lt;br /&gt;
* OIS (needed by the 3D interface)&lt;br /&gt;
* liblo (needed for the network support)&lt;br /&gt;
* libxml2 (needed for XML config support)&lt;br /&gt;
|&lt;br /&gt;
* Alsa (needed for ALSA sound output)&lt;br /&gt;
* Jack (needed for Jack sound ouput)&lt;br /&gt;
* libsndfile (needed for pcm file support)&lt;br /&gt;
* libvorbis (needed for OGG vorbis file support)&lt;br /&gt;
* SoundTouch (needed for sample stretching)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
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&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apt-get install libboost-serialization1.35-dev libboost1.35-dev libsigc++-2.0-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then continue with the following installation (first check that file configure.ac has commented this line: PACKAGE_DATA_DIR=&amp;quot;./data&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# autoreconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# ./configure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then run the program simply typing psynth3d, if the program gives you the output: ''[/alsa] WARNING: Could not write to device. (Broken pipe)'' change the audio to oss in config menu.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
If you downloaded the program from Bazaar you will first need to generate the compilation scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you will need to run the configuration script to detect the the libraries and set up the compilation settings.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check that everything has been detected correctly and then compile the program:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At last we must run these commands with superuser privileges to install:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now run the 3D simulator:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
psynth3d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
&lt;br /&gt;
* While installing on Ubuntu  the configure script says 'libsoundtouch not found', while I've just installed it!&lt;br /&gt;
&lt;br /&gt;
Yes, this is actually a bug in 0.1-1. The problem is that the configure script have some trouble finding right package on Ubuntu (seems it's only Ubuntu problem). It should be fixed in next release. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* I was unable to compile the source, some errors associated with 'cstring' library appeared.&lt;br /&gt;
&lt;br /&gt;
It's just because you've got too new gcc. The source was prepared for older compiler. There are two ways of solving this issue: a) you can backport the compiler (I don't recommend this) or b) you can wait for new source code that'll work with the newest gcc (although this solution may require patience, as psychosynt is not very often updated). It also should be fixed in next release.&lt;br /&gt;
&lt;br /&gt;
*** The above mentioned errors happens in Ubuntu 8.10. Using Ubuntu 8.04, everything works fine&lt;/div&gt;</summary>
		<author><name>Danielfernando</name></author>	</entry>

	</feed>