From MAILER-DAEMON Thu Mar 13 17:44:29 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JZvDx-0008EM-5L for mharc-tetuhi-vgs@gnu.org; Thu, 13 Mar 2008 17:44:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZvBX-0007mf-IH for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 17:41:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZvBX-0007mW-9c for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 17:41:59 -0400 Received: from mailservice.tudelft.nl ([130.161.131.5]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZvBX-0004HB-0D for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 17:41:59 -0400 Received: from localhost (localhost [127.0.0.1]) by rav.antivirus (Postfix) with ESMTP id 9789622EF2A; Thu, 13 Mar 2008 22:41:56 +0100 (CET) X-Virus-Scanned: amavisd-new at tudelft.nl X-Spam-Score: -6.389 Received: from mailservice.tudelft.nl ([127.0.0.1]) by localhost (tudelft.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id o8FwjuhtnbNT; Thu, 13 Mar 2008 22:41:55 +0100 (CET) Received: from smtp-a.tudelft.nl (smtp-a.tudelft.nl [130.161.129.18]) by mx1.tudelft.nl (Postfix) with ESMTP id 7873622EE8A; Thu, 13 Mar 2008 22:41:55 +0100 (CET) Received: from [145.94.108.175] (z108175.its-m.tudelft.nl [145.94.108.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-a.tudelft.nl (Postfix) with ESMTP id 3EE14B3A62; Thu, 13 Mar 2008 22:41:55 +0100 (CET) Message-ID: <47D99FA2.3080203@tremplin-utc.net> Date: Thu, 13 Mar 2008 22:41:54 +0100 From: Eric Piel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) Gecko/20080305 Mandriva/2.0.0.12-3mdv2008.1 (2008.1) Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: douglas@paradise.net.nz References: 47C7C61D.4010009@paradise.net.nz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-Mailman-Approved-At: Thu, 13 Mar 2008 17:44:27 -0400 Cc: tetuhi-vgs@nongnu.org Subject: [Tetuhi-vgs] Some fixes for x86_64 X-BeenThere: tetuhi-vgs@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion and development of Te Tuhi Video Game System List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 21:41:59 -0000 Hi, This is a quick message to summarize what I needed to change (against the git tree) to run tetuhi on my x86_64 machine: * Compilation must be done with -fPIC. This implies not only changing the COMMON_OPTS variables, but also running "python setup.py build_ext" with "CFLAGS=-fPIC LDFLAGS=-fPIC" * "pyserf_helpers.c" is not found in nnpy.c, it must be changed to ../lib/pyserf_helpers.c * The main difficulty: collect_entropy() of vg/cblobdetect.py should return a list of integers, not of longs (otherwise, overflows appear) so line 315 should be: return list(array.array("i", e2)) The last two points could probably be directly fixed in the source, as described. Hoping it helps some people :-) See you, Eric From MAILER-DAEMON Thu Mar 13 18:50:59 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JZwGJ-00027z-MF for mharc-tetuhi-vgs@gnu.org; Thu, 13 Mar 2008 18:50:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZwGH-000261-Lm for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 18:50:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZwGC-000222-JM for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 18:50:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZwGC-00021q-8R for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 18:50:52 -0400 Received: from smtp4.clear.net.nz ([203.97.37.64]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZwGB-0000G8-S6 for tetuhi-vgs@nongnu.org; Thu, 13 Mar 2008 18:50:52 -0400 Received: from [192.168.1.2] (203-97-236-46.cable.telstraclear.net [203.97.236.46]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JXO00LU1Y4M1N10@smtp4.clear.net.nz> for tetuhi-vgs@nongnu.org; Fri, 14 Mar 2008 11:50:47 +1300 (NZDT) Date: Fri, 14 Mar 2008 11:50:47 +1300 From: Douglas Bagnall In-reply-to: <47D99FA2.3080203@tremplin-utc.net> To: Eric Piel Message-id: <47D9AFC7.2000400@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit References: <47C7C61D.4010009@paradise.net.nz> <47D99FA2.3080203@tremplin-utc.net> User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: tetuhi-vgs@nongnu.org Subject: [Tetuhi-vgs] Re: Some fixes for x86_64 X-BeenThere: tetuhi-vgs@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion and development of Te Tuhi Video Game System List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 22:50:57 -0000 hi Eric, Thanks! I've committed the changes to nnpy.c and cblobdetect.py. This one: > * Compilation must be done with -fPIC. This implies not only changing > the COMMON_OPTS variables, but also running "python setup.py build_ext" > with "CFLAGS=-fPIC LDFLAGS=-fPIC" will probably have to stay manual until I work out how to use proper build systems. Douglas