[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] svn build fails on pygame.math extension
- To: pygame-users@xxxxxxxx
- Subject: [pygame] svn build fails on pygame.math extension
- From: Tristan Matthews <le.businessman@xxxxxxxxx>
- Date: Tue, 17 Nov 2009 23:44:37 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 17 Nov 2009 23:44:41 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=maN6PG+1CgaSy1k6RllrvLGPJvHiZATri/6iyH/MKIk=; b=fDz5iMuwmtC/UbpkjdovhpCFcLP7g76viSa/xQ9uQTkPuD0xXvXkoHF3fmrz5Ypznq JdeNgRGyDn7BvDGrBrqM4LYV5sTikL3MnEEz6oqzqm5scaVLuLI9DqEY+N3CAjMiAL4E LJ1kKd1CP2EAVfYk9FHQxHBECCH6Ekwc0yypQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=LPuW8AVWe1X3G2UJKtknA2XV1igTCf39gwjfKwzf2gRraBv8Cu+SE5/PWjEV7wmTuO AtWdEQ7gfb5/vlJSF+f8KQpcNulczuBgrwviaUAc2xZ2lFN4JdUp+cO1ln5/tvSp/bt3 g1PdG3mo4D8uNZY1zNd5IVdYeJgaNNTyYCzXg=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello,
I tried to build a fresh checkout of the trunk on Ubuntu 8.10, but it
seems the math extension is causing trouble, the most obvious problem
being that doc/math_doc.h doesn't exist.
Here's the output after running setup.py install:
building 'pygame.math' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -D_REENTRANT -I/usr/X11R6/include
-I/usr/include/SDL -I/usr/include/python2.5 -c src/math.c -o
build/temp.linux-i686-2.5/src/math.o
src/math.c:21:26: error: doc/math_doc.h: No such file or directory
src/math.c: In function ‘vector_pos’:
src/math.c:573: warning: unused variable ‘i’
src/math.c: In function ‘vector_str’:
src/math.c:1105: warning: too many arguments for format
src/math.c: In function ‘vector2_init’:
src/math.c:1328: warning: unused variable ‘buffer’
src/math.c:1309: warning: unused variable ‘z’
src/math.c: At top level:
src/math.c:1631: error: ‘DOC_PYGAMEMATHVECTOR2’ undeclared here (not
in a function)
src/math.c: In function ‘vector3_init’:
src/math.c:1726: warning: unused variable ‘buffer’
src/math.c: In function ‘vector3_angle_to’:
src/math.c:2086: warning: unused variable ‘i’
src/math.c: At top level:
src/math.c:2277: error: ‘DOC_PYGAMEMATHVECTOR3’ undeclared here (not in a fun
on)
src/math.c: In function ‘vector_slerp’:
src/math.c:2515: warning: unused variable ‘steps’
src/math.c: In function ‘vector_lerp’:
src/math.c:2777: warning: unused variable ‘steps’
src/math.c: In function ‘vector_elementwiseproxy_pow’:
src/math.c:3168: warning: unused variable ‘vec’
src/math.c: In function ‘vector_elementwiseproxy_pos’:
src/math.c:3257: warning: unused variable ‘i’
src/math.c: In function ‘initmath’:
src/math.c:3479: error: ‘DOC_PYGAMEMATH’ undeclared (first use in this functi
src/math.c:3479: error: (Each undeclared identifier is reported only once
src/math.c:3479: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1
Best,
Tristan
--
Tristan Matthews
email: tristan@xxxxxxxxx
web: http://tristanswork.blogspot.com