[Ardour-Users] Building Ardour w/VST fails in a chroot environment.
Jonathan Stowe
jns at gellyfish.com
Thu Nov 8 07:16:50 PST 2007
On Thu, 2007-11-08 at 16:01 +0100, Juanjavier wrote:
> Jonathan Stowe wrote:
> > On Thu, 2007-11-08 at 11:02 +0100, Juanjavier wrote:
> >
> >> I am trying to build Ardour doing
> >>
> >> apt-get source ardour
> >>
> >> from outside the chroot environment.
> >>
> >> Then I enter the chroot environment with
> >>
> >> /chroot ./
> >>
> >> Downlad and copy vst SDK in .../libs/fst
> >>
> >> Edit SConstruct changing
> >>
> >> BoolOption('VST', 'Compile with support for VST', 0)
> >>
> >> per
> >>
> >> BoolOption('VST', 'Compile with support for VST', 1)
> >>
> >>
> >> This is how it fails:
> >>
> >>
> >> /*******************************
> >> detected DIST_TARGET = i686
> >> *******************************
> >>
> >> cat: /proc/cpuinfo: No such file or directory
> >> IndexError: list index out of range:
> >> File "/tmp/ardour-2.1/SConstruct", line 613:
> >> x86_flags = flag_line.split (": ")[1:][0].split ()
> >>
> >> /What am I missing?
> >>
> >
> > As the message says you are missing the /proc/cpuinfo in your chroot
> > environment. You can either symlink the /proc entirely into your chroot
> > directory or simply create a 'proc' directory in your chroot directory
> > and do:
> >
> > cat /proc/cpuinfo >proc/cpuinfo
>
> I did cat /proc/cpuinfo > proc/cpuinfo
>
> Then this:
>
> cat: /proc/cpuinfo: No such file or directory
>
> disappears. The rest remains:
>
> *******************************
> detected DIST_TARGET = i686
> *******************************
>
> IndexError: list index out of range:
> File "/tmp/ardour-2.1/SConstruct", line 613:
> x86_flags = flag_line.split (": ")[1:][0].split ()
>
> I am not able to find something relevant by Googling.
>
> How could I fix the IndexError: list index.... message?
What do you get if you do:
cat /proc/cpuinfo | grep '^flags'
at the command line?
More information about the Ardour-Users
mailing list