On 03/27/2013 11:53 AM, [email protected] wrote: > I'm on kxstudio that is a ubuntu precise distrib based on kde > Here is what I had installed: > > installing : libgmp-dev libmpfr-dev llvm-dev for installing finally pure > > success
On Precise, I'd recommend using the llvm-3.0 packages (which is what gets used in some of the Precise system packages) rather than the default llvm packages (which are really llvm-2.9). > installing : pd-pure > success > installing : libltdl-dev for installing pure-faust > success > installing : libxslt1.1.deb and libxslt1-dev (that was not in the repository > ...) for installing finally pure-xml > success The libxslt packages are most definitely in the Precise repos. Also, you don't need pd-pure and pure-faust if you just want to install faust2pd. Besides faust2pd itself, the Pure base package, pure-xml and LLVM should be all that is needed. If you have a distribution based on Ubuntu Precise, there's a PPA containing all the stuff that you'll needed at Launchpad, please see https://launchpad.net/~dr-graef/+archive/pure-lang.precise. Installing from this PPA is the easiest way to go, since you don't have to compile anything yourself, and all the dependencies are resolved automatically. Here's how you add that PPA to your system so that apt-get and synaptic recognize it: sudo add-apt-repository ppa:dr-graef/pure-lang.precise sudo apt-get update Now just fire up synaptic and install the faust2pd package and you're set. That will pull in all the other packages that you need in an automatic fashion. (If you installed Pure and/or faust2pd from source, you'll have to remove those first, so that they don't interfere.) > But now I try to install faust2pd and "make" return: > > sh: 1: opt: not found > sh: 1: llc: not found > make: *** Error 127 I assume that you're trying to compile faust2pd from source here. Note that if you're using the LLVM packages from Ubuntu, they have those LLVM tools in a special subdirectory. To work around that, you'll have to configure Pure (versions <= 0.57) in a way so that it finds those tools, otherwise the Pure batch compiler will fail when trying to compile faust2pd (or any other Pure program, for that matter), resulting in exactly these error messages. If you want to compile Pure yourself, the following configure line will do the trick: ./configure --enable-release --with-tool-prefix=/usr/lib/llvm-3.0/bin (This assumes that you use LLVM 3.0, as I recommended. If you're using a different LLVM version then you'll have to change the option value accordingly.) The --with-tool-prefix option is described in more detail in the Pure installation manual, please check http://purelang.bitbucket.org/docs/install.html#tool-prefix-and-llvm-version. The latest Pure revisions in the source code repo at https://bitbucket.org/purelang/pure-lang usually don't need this option any more, since the configure script will try to figure out the LLVM tool prefix on its own; but if you're still running Pure 0.57 or earlier then you'll need it. HTH, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: [email protected], [email protected] WWW: http://www.musikinformatik.uni-mainz.de/ag ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
