Re: amSynth-1.3.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/12/2012 11:30 AM, Martin Tarenskeen wrote:

Hi Nick,

I have downloaded the sources for amSynth-1.3.1, succesfully compiled,
and running on my Fedora 17 system. I especially like the fact that I
can run it both as standalone and dssi-plugin, including the new GUI.

I only needed to apply one little patch to compile succesfully:

---------8<----------------

diff -ur amSynth-1.3.1.orig/src/Config.cc amSynth-1.3.1/src/Config.cc
--- amSynth-1.3.1.orig/src/Config.cc    2012-08-11 16:32:24.019592715 +0200
+++ amSynth-1.3.1/src/Config.cc    2012-08-11 16:37:15.608128292 +0200
@@ -8,6 +8,7 @@
  #include <iostream>
  #include <cstdlib>
  #include <sstream>
+#include <unistd.h>

  using namespace std;

---------8<-----------------



In other words: I had to specifically "#include <unistd.h>" in Config.cc

I think newest gcc versions are more strict in that, but I guess it
doesn't hurt to add that line also for older/other compilers?


If someone wants to apply the patch and re-package into Fedora there is an SRPM to use as a starting point here:

http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12/SRPMS/amsynth-1.2.2-1.fc12.ccrma.src.rpm

Brendan
_______________________________________________
music mailing list
music@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/music



[Index of Archives]     [Linux Audio Users]     [ALSA Users]     [Fedora Development]     [Fedora Desktop]     [Fedora Users]     [Gimp]     [Yosemite News]

  Powered by Linux