[clug] ANN: hYPerSonic 1.0

Eyal Lebedinsky eyal at eyal.emu.id.au
Mon Jun 30 23:05:02 EST 2003


Ambrose Andrews wrote:
> 
> On Mon, 2003-06-30 at 21:33, Nemo -earth native- wrote:
> >
> > Debian woody has a 2.1.3 I think, so yes, you should be able to have
> > both stable python2.1 and testing/unstable 2.2 simultaneously.
> >
> to clarify: the stable debian distribution, woody, has in it python2.2,
> which can be installed alongside 2.1. Not necessary to use testing or
> unstable debs.

And you are correct too. While
	dpkg -l 'python*'
fails to show it it does have, and I now installed
	python2.2
	python2.2-dev
but the following still fails (before you ask - no, I know
zero python at this point in time):

eyal at e7:/download/hYPerSonic/sonic$ make
gcc -g -c sonic_wrap.c  -I/usr/include/python2.2 
gcc -Wall -O3     -c filter.c -o filter.o
gcc -Wall -O3     -c osc.c -o osc.o
gcc -Wall -O3     -c pipe.c -o pipe.o
gcc -Wall -O3     -DHAVE_OSS -c task.c 
In file included from task.c:15:
task.h:271: warning: `HAVE_OSS' redefined
*Initialization*:1: warning: this is the location of the previous
definition
gcc -Wall -O3     -c buffer.c -o buffer.o
gcc -Wall -O3     -c memory.c -o memory.o
gcc -Wall -O3     -c list.c -o list.o
gcc -Wall -O3     -c debug.c -o debug.o
gcc -Wall -O3     -c array.c -o array.o
gcc -Wall -O3     -c term.c -o term.o
ld -shared sonic_wrap.o  filter.o osc.o pipe.o task.o buffer.o  memory.o
list.o debug.o  array.o term.o   -lc -lm -lpthread   -lncurses -o
sonicmodule.so 
./Sonic.py > /dev/null
  File "./Sonic.py", line 148
    yield x
          ^
SyntaxError: invalid syntax
make: *** [swig] Error 1
eyal at e7:/download/hYPerSonic/sonic$ ./tutorial.py 5
Traceback (most recent call last):
  File "./tutorial.py", line 9, in ?
    from Sonic import *
  File "./Sonic.py", line 148
    yield x
          ^
SyntaxError: invalid syntax

	
--
Eyal Lebedinsky (eyal at eyal.emu.id.au) <http://samba.org/eyal/>



More information about the linux mailing list