You are not logged in.
Pages: 1
Recently I tried to compile ardour from the PKGBUILD in abs, but the build always failed for me. Very strange, I didn't modify anything in that PKGBUILD. Later I suspected that it might be caused by default build of python 2.5.1 in Arch, but I can't make sure of whether it is the root cause or not. So I post the steps I managed to compile ardour below:
1. I had the default build of python-2.5.1-1 and scons-0.96.95-2 installed and tried to makepkg ardour-2.0.2-1 from my /var/abs. makepkg always failed, with following error message:
patching file libs/libsndfile/configure
patching file libs/libsndfile/src/flac.c
scons: Reading SConscript files ...
scons: *** No tool named 'midl': not a Zip file
File "/root/src/extra/multimedia/ardour/src/ardour-2.0.2/SConstruct", line 16, in <module>
scons: Reading SConscript files ...
scons: *** No tool named 'midl': not a Zip file
File "/root/src/extra/multimedia/ardour/src/ardour-2.0.2/SConstruct", line 16, in <module>(there is a small bug in ardour's PKGBUILD; it doesn't do the error check for the building process. Whether the build is ok or not, you always get a .tar.gz package for it)
2. First I tried to browse scons's source code and even installed the latest one from their official site(using makepkg & pacman -U). Still the same error.
3. I guessed the problem should be related to python. Fired up python shell and was surprised to find out that there is an entry for python 2.4 site-packages in sys.path. Upon my pure guess, I used pacman to remove all the packages under my /usr/lib/python2.4/site-packages/. Now even the directory /usr/lib/python2.4 didn't exist anymore(actually I was already using my scons mentioned in step 5 in this stage), but I still got the same error when makepkg ardour.
4. I checked the PKGBUILD and Makefile for python-2.5.1-1 and found out that the SITEPATH in Makefile would affect other python path settings(though I didn't know what these settings would do to the build process). I commented out the following line in the PKGBUILD for python and makepkg
sed -i 's#SITEPATH=#SITEPATH=:../python2.4/site-packages#' Makefile5. Installed the newly compiled Python, but, unfortunately, scons-0.96.95-2 was installed to /usr/lib/python2.4/site-packages/. So I makepkged scons from source and installed my scons. (this time they were all installed to /usr/lib/python2.5/site-packages/)
6. Now ardour compiled!
Doesn't "sed -i 's#SITEPATH=#SITEPATH=:../python2.4/site-packages#' Makefile" just a hack for python version transition and should be removed when the transition is done? I found there are some binary package compiled for python 2.4, while some are compiled for python 2.5. Anyone has suggestion on this?
Is there any other method to compile ardour from source without recompile python and scons??(or it's just me who got this problem??)
Thanks in advance.
Offline
Ah, I forgot to mention that why I used root account to makepkg; I used it as my last resort, because I didn't have any clue as to these compiling problems at all. Anyway this is a very bad example. Sorry for that.
Offline
no issues at all. been using ardourvst since the old ardour. never had an issue with python.
I've been running ardour with vst support for 2 years now.
ardour2.0.2 builds and runs with no issue. I edit the PKGBUILD from extra, interupt the build, add the vst zip package to ../libs/fst and re-run makepkg.
never ever an issue with python or scons. I'm running the latest of all the the mentioned software with no issues.
from the ardour website:
This section applies only to people building Ardour 2.0 (not 0.99.X) and only for Linux/x86 platforms. At this time, you cannot run VST plugins in Ardour on OS X or Linux x86_64 platforms. Note that if you use your x86_64 system in 32 bit mode, that counts as x86, and things will work as expected.
Please note that it is illegal to build Ardour 2.0 with VST support and then distribute the binary to anyone else. This is because Steinberg continues to refuse to allow redistribution of the otherwise freely available VST SDK. It is therefore not possible for you to comply with the terms of the GPL (i.e. you cannot provide the person you distribute the binary to with all the source code required to build the binary). We hope that one day Steinberg/Yamaha will change the licensing to allow redistribution of the SDK, and then this silly restriction will go away.
Building Ardour 2.0 with VST support involves a few extra steps before the usual scons-based build.
1. Download the VST 2.3 SDK from Steinberg. At this time, we cannot provide you with any advice on where to get this from. Steinberg seems to regularly change the URL required to get the SDK. We recommend that you use google to search for it. Do not download the 2.4 or upcoming 3.0 SDK packages, since Ardour cannot currently use them.
2. put the VST SDK zip archive into libs/fst
3. make sure you have the Wine "development" package installed (typically called "wine-devel")
4. run scons VST=1
After a successful build, run scons install.
Running it
The command name for this version of Ardour is ardourvst, not ardour2 which is the non-VST supporting version. In all other ways, it should behave identically.
Where to install VST plugins
Ardour looks for VST plugins in the location(s) indicated by your environment variable
Last edited by funkmuscle (2007-05-24 13:10:46)
Offline
Thanks for the info, then that might be my own problem. I didn't have any problem building ardour with vst support before, just don't know why now scons always complains it can't import midl or something on my system brefore compiling anything. I'll check it if I have spare time.
FYI, ardourvst is in AUR ![]()
Offline
no problems. hopefully it works for you.
there's a proaudio repo: http://arch.madfire.net/proaudio/i686/
and a thread: http://bbs.archlinux.org/viewtopic.php?id=30547
maybe you can add ayou packages there and help out.
Offline
I didn't notice there is a thread for professional audio. Thanks for that! ^^
Offline
no problem.
Offline
I tried to build ardourvst and I get the following error during build:
libs/gtkmm2/gtk/gtkmm/toolbar.cc:522: error: 'const struct _GtkToolbar' has no member named 'tooltips'
scons: *** [libs/gtkmm2/gtk/gtkmm/toolbar.os] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed. Aborting...
Any ideas?
Offline
scons-1.1.0 has trouble with python-2.6 , I've reported this to the author of the scons package, but for now.
# $Id: PKGBUILD 16829 2008-10-22 14:34:41Z douglas $
# Maintainer: damir <damir@archlinux.org>
# TU: Lukas Sabota <punkrockguy318@comcast.net>
# Contributor: Brice Carpentier <brice@dlfp.org>
pkgname=scons
pkgver=1.1.0.d20081104
pkgrel=2
pkgdesc="SCons is an open source software contruction tool that is a substitute for make."
arch=("i686" "x86_64")
url="http://scons.org"
license=("custom")
depends=('python')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
build() {
cd $startdir/src/$pkgname-$pkgver
python setup.py install --standard-lib --prefix=/usr --install-data=/usr/share --root=$startdir/pkg
install -D -m644 $startdir/src/$pkgname-$pkgver/LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('2923dc305a7c4444903c5159ddb499b5')
PROCRASTINATION
is like masturbation...it's good in the beginning, but in the end, you realize
you've just fkd yourself
Offline
Pages: 1