wang1986one / pyo

Automatically exported from code.google.com/p/pyo
GNU General Public License v3.0
0 stars 0 forks source link

Crashes on Ubuntu GNU/Linux #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:
1. sudo apt-get install libportmidi-dev libportaudio-dev libsndfile-dev
liblo-dev 
2. python setup.py build
3. sudo python setup.py install --prefix=/usr/local
4. python start.py 

{{{
Traceback (most recent call last):
  File "start.py", line 8, in <module>
    from pyo import *
  File "/home/toonloop/src/pyo/pyo.py", line 6, in <module>
    from pyolib.server import *
  File "/home/toonloop/src/pyo/pyolib/server.py", line 1, in <module>
    from _core import *
  File "/home/toonloop/src/pyo/pyolib/_core.py", line 6, in <module>
    from _pyo import *
ImportError: /usr/lib/libportmidi.so.0: undefined symbol: Pt_Time
}}}

Though I tried this on Ubuntu Hardy, with Python 2.5

Original issue reported on code.google.com by que...@gmail.com on 29 Jan 2010 at 4:26

GoogleCodeExporter commented 9 years ago
These files should not be included in the distribution : 

 * include/portaudio.h
 * include/portmidi.h

Original comment by que...@gmail.com on 31 Jan 2010 at 3:07

GoogleCodeExporter commented 9 years ago
As well as:
 * include/sndfile.h

And probably the other ones.

Original comment by que...@gmail.com on 31 Jan 2010 at 3:07

GoogleCodeExporter commented 9 years ago
Portmidi is not up-to-date in the package manager, it is supposed to be in the 
next
release. You have to install the latest version. sndfile.h is there...

Once Portmidi up-to-date, pyo runs well on Ubuntu!

Original comment by belan...@gmail.com on 1 Feb 2010 at 4:50

GoogleCodeExporter commented 9 years ago
I was able to make portmidi work properly under 9.10 using the files from 
November 
2009:
http://altruistic.lbl.gov/mirrors/ubuntu/pool/universe/p/portmidi/?C=M;O=D

Original comment by leca...@gmail.com on 1 Feb 2010 at 4:45

GoogleCodeExporter commented 9 years ago
It's fixed in Ubuntu 10.4!

Original comment by belan...@gmail.com on 26 Mar 2010 at 1:36