Trying to build on latest avlinux.

26 views
Skip to first unread message

sirjo...@yahoo.com

unread,
Jun 2, 2022, 5:59:09 AM6/2/22
to mididings
I'm getting frustrated trying to build midididings.

I tried following @stefets wiki but I'm becoming confused....

I get these warnings during the build:
-----------------------------------------------------------------------------------------------------
In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from src/midi_event.hh:19,
                 from src/patch.hh:16,
                 from src/engine.hh:15,
                 from src/engine.cc:13:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
   36 | BOOST_PRAGMA_MESSAGE(
----------------------------------------------------------------------------------------------------------------------

and then this error when i try to run....

-------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/bin/mididings", line 4, in <module>
    __import__('pkg_resources').run_script('mididings==2015+rbbec99a', 'mididings')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 651, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1448, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python3.9/dist-packages/mididings-2015+rbbec99a-py3.9-linux-x86_64.egg/EGG-INFO/scripts/mididings", line 20, in <module>
    import mididings
  File "/usr/local/lib/python3.9/dist-packages/mididings-2015+rbbec99a-py3.9-linux-x86_64.egg/mididings/__init__.py", line 13, in <module>
    import _mididings
ImportError: /usr/local/lib/python3.9/dist-packages/mididings-2015+rbbec99a-py3.9-linux-x86_64.egg/_mididings.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN5boost6python15instance_holder8allocateEP7_objectmmm
--------------------------------------------------------------------------------------------------------

I'm starting to make a mess of my system :(

Please help if you can.

Cheers
John

SteFetS

unread,
Jun 4, 2022, 1:51:53 PM6/4/22
to mididings
Hi!

I can't really help you but I would ldd the .so file to check if there is someting broken in it

Try :

ldd /usr/local/lib/python3.9/dist-packages/mididings-2015+rbbec99a-py3.9-linux-x86_64.egg/_mididings.cpython-39-x86_64-linux-gnu.so

Check the output if there is broken links.

Also, if you dont want to mess your system, create a python virtual environment, activate it and do all the pip and build stuff 

StefetS


Reply all
Reply to author
Forward
0 new messages