Ardour 3 fails build - Ubuntu Studio 12.10

Just been going through the build instructions on the ardour 3 page, ive succesffully ran the build-gtk-stack --patch script

then when i run build script, it runs for 20 minutes then fails. heres the last lines of codes with errors in it

PYTHONPATH="/home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc/gnome-doc-make/…/…/xml2po:/home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc/gnome-doc-make/…/…/xml2po:/home/alex/gtk/inst/lib/python2.7/site-packages/:" “/home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc/gnome-doc-make/…/…/xml2po/xml2po/xml2po” -m docbook -e -t “${mo}”
“${d}C/gnome-doc-make.xml” > gnome-doc-make.xml.tmp &&
cp gnome-doc-make.xml.tmp gnome-doc-make.xml && rm -f gnome-doc-make.xml.tmp)
Traceback (most recent call last):
File “/home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc/gnome-doc-make/…/…/xml2po/xml2po/xml2po”, line 191, in
main(sys.argv[1:])
File “/home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc/gnome-doc-make/…/…/xml2po/xml2po/xml2po”, line 88, in main
from xml2po import Main
File “/home/alex/gtk/sources/gnome-doc-utils-0.20.6/xml2po/xml2po/init.py”, line 27, in
import libxml2
File “/usr/lib/python2.7/dist-packages/libxml2.py”, line 1, in
import libxml2mod
ImportError: /usr/lib/python2.7/dist-packages/libxml2mod.so: symbol xmlInitializeDict, version LIBXML2_2.8.0 not defined in file libxml2.so.2 with link time reference
make[2]: *** [de/gnome-doc-make.xml] Error 1
make[2]: Leaving directory /home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc/gnome-doc-make' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/alex/gtk/sources/gnome-doc-utils-0.20.6/doc’
make: *** [all-recursive] Error 1
gnome-doc-utils build failed
alex@alex-MS-7309:~/gtk/sources$ ~/2.0-ongoing/tools/build-gtk-stack --patImportError: /usr/lib/python2.7/dist-packages/libxml2mod.so: symbol xmlInitializeDict, version LIBXML2_2.8.0 not defined in file libxml2.so.2 with link time reference
Unknown argument --patImportError:

Not sure whts going on, i added the paths to my profile though im not sure if i added them right

# ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package.

the default umask is set in /etc/profile; for setting the umask

for ssh logins, install and configure the libpam-umask package.

#umask 022
PKG_CONFIG_PATH="~/a3/inst/lib/pkgconfig:~/gtk/inst/lib/pkgconfig"
PATH="~/a3/inst/bin:~/gtk/inst/bin"

if running bash

if [ -n “$BASH_VERSION” ]; then
# include .bashrc if it exists
if [ -f “$HOME/.bashrc” ]; then
. “$HOME/.bashrc”
fi
fi

set PATH so it includes user’s private bin if it exists

if [ -d “$HOME/bin” ] ; then
PATH="$HOME/bin:$PATH"
fi

This was done before i started doing the GTK stack.

i don’t think that it is your core problem, but setting PATH like that is absolutely wrong. You should never drop the existing value of $PATH.

I’m unclear on how this would be done properly.The lines
PKG_CONFIG_PATH="~/a3/inst/lib/pkgconfig:~/gtk/inst/lib/pkgconfig"
PATH="~/a3/inst/bin:~/gtk/inst/bin"
were added near the top and at the bottom there is the line
if [ -d “$HOME/bin” ] ; then
PATH="$HOME/bin:$PATH"
I can see that there is probably something wrong here but what would be the proper way to add those lines (PKG_CONFIG_PATH="~/a3/inst/lib/pkgconfig:~/gtk/inst/lib/pkgconfig"
PATH="~/a3/inst/bin:~/gtk/inst/bin")
I tried doing the build and had an error building the tiff library.I’m at work right now but I think I recall that I did something like
PKG_CONFIG_PATH="~/a3/inst/lib/pkgconfig:~/gtk/inst/lib/pkgconfig
if [ -d “$HOME/bin” ] ; then
PATH="$HOME/bin:$PATH":~/a3/inst/bin:~/gtk/inst/bin
Craig

@veda_sticks: I use DreamStudio 12.04, i’ve been able to find Ardour3 on Ubuntu’s repositories through Synaptic, so it installed with no problem, i hope that helps you, i just haven’t been able to renew my subscription so i did that while i do get a new subscription or make a donation, now i don’t know if anyone would recomend building A3 for ourselves, or install from synaptic, don’t really know what is best in this case.

@veda_sticks
I’m build Ardour 3 from source and i just use ./waf configure --prefix=/home/USERNAME/ArdourFolder for compile ardour on Ubuntu 12.10. (prefix) for setup path to folder where i want to install ardour. During configuration i just goes thru the errors about lack of libs. When error occured i just look for that lib in Synaptic Package Manager and installed it. (I dont remember that firsts steps about seting PATH, PKG_CONFIG and rest of stuff, since i was build ardour from source first time)
I have build Ardour today and have no problems, beside, that i just discover that Ardour go to Git, and Website have new look…
I’m self learned compiler, so i know how it is when you follow instructions and results can make you crazy :wink:

Yeah the results make you crazy. It’s fun though to have a challenge.Kind of like a puzzle.

Craig, this is definatly not the way to do it, i found after reboot that i was unable to access sudo or many other commandlines , it obviously messed up my path variables so the system didnt know where the commands were i was trying to use, which made it difficult to edit the file to fix it . i had to find where the actual sudo file was and run it from there.

anyway i have now moved to ubuntu 12.04 due to 12.10 being too unstable.

i think my problem is not making sure that all dependies from the list are installed, some of these dependancies dont seem to be in the synaptic so source code has to be downloaded, its taking forever to go through them one by one.

The donate option for getting a prebuilt binary is looking like a good choice.

Ok so i tried to donate, but it seems that the only method of paying is through paypal, i had set up a paypal account ages ago but they limited it for some reason (they think that maybe someone has set up an acount in my name) i tried to go through using paypal without an account and it told me i cant use this card, try another card number.

:confused:

The version in the ubuntu repos is really old vers 1.somthing

Used my girlfriends paypal to donate. so far the ardour 3 is working pretty good. Looks very nice. Compiling the calf plugins from git and hopefully i get the lv2 gui instead of the old interface i was getting which was just sliders.

got to say im very impressed with ardour 3. And the gui’s for LV2 plugins are working perfect within ardour. That combined with my new dual monitor setup has made mixing a delight.

Has anything changed in the audio processing, i opened up a project from ardour 2, and it just seemed to sound much better than it did in ardour 2. Just found it much easier to balance everything.

anyway, i will hopefully donate again soon if i can budget it in.