[Ardour-Users] compile problems on Arch Linux

André Nusser andre.nusser at googlemail.com
Mon Nov 2 06:14:33 PST 2015


Use 'python2 waf configure' instead.

You might also run into problems regarding c++11 during compilation (not 
configure). If so then try 'python2 waf configure --cxx11' and then 
compile again.

Cheers,
André

On 11/02/2015 03:05 PM, Orm Finnendahl wrote:
> Hi,
>
>   trying to ./waf configure today's Ardour 4.0 on Arch Linux fails on
> our machine (see below). I think I got the necessary libs but the
> error doesn't look like a dependency problem to me. Does someone have
> a clue what's going wrong here?
>
> It is possible for me to compile on a debian system: Are the libs
> statically linked into the program and is it possible to build a
> package which will run on Arch Linux?
>
> --
> Orm
>
> orm at selma-k15:~/work/install/ardour/4.0$ ./waf configure
> Setting top to                           : /home/orm/work/install/ardour/4.0
> Setting out to                           : /home/orm/work/install/ardour/4.0/build
> Checking for 'gcc' (c compiler)          : /usr/bin/gcc
> Checking for 'g++' (c++ compiler)        : /usr/bin/g++
>
> Global Configuration
>   * Install prefix                                    : /usr/local
>   * Debuggable build                                  : True
>   * Build documentation                               : False
>
> Ardour Configuration
>   * Will build against private GTK dependency stack   : no
>   * Will rely on libintl built into libc              : yes
>   * Will build against private Ardour dependency stack : no
> Traceback (most recent call last):
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Scripting.py", line 97, in waf_entry_point
>      run_commands()
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Scripting.py", line 151, in run_commands
>      run_command(cmd_name)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Scripting.py", line 143, in run_command
>      ctx.execute()
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Configure.py", line 128, in execute
>      super(ConfigurationContext,self).execute()
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Context.py", line 87, in execute
>      self.recurse([os.path.dirname(g_module.root_path)])
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Context.py", line 128, in recurse
>      user_function(self)
>    File "/home/orm/work/install/ardour/4.0/wscript", line 882, in configure
>      conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL')
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Configure.py", line 221, in fun
>      return f(*k,**kw)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Tools/c_config.py", line 461, in check_cc
>      return self.check(*k,**kw)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Configure.py", line 221, in fun
>      return f(*k,**kw)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Tools/c_config.py", line 366, in check
>      ret=self.run_c_code(*k,**kw)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Configure.py", line 221, in fun
>      return f(*k,**kw)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Tools/c_config.py", line 445, in run_c_code
>      bld.compile()
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Build.py", line 188, in compile
>      self.store()
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Utils.py", line 310, in f
>      ret=fun(*k,**kw)
>    File "/home/orm/work/install/ardour/4.0/.waf3-1.6.11-dd5a1e1fe94b4aa17a652d5945db5927/waflib/Build.py", line 162, in store
>      cPickle.dump(data,f)
> AttributeError: Can't pickle local object 'Context.__init__.<locals>.node_class'
> Checking for function dlopen                         : orm at selma-k15:~/work/install/ardour/4.0$ ^C
> orm at selma-k15:~/work/install/ardour/4.0$
> _______________________________________________
> Ardour-Users mailing list
> ardour-users at lists.ardour.org
> To unsubscribe  or change your mailing preferences please visit:
> http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org
>


More information about the Ardour-Users mailing list