From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 08:56:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7269E1065674 for ; Fri, 20 Jun 2008 08:56:25 +0000 (UTC) (envelope-from carpetsmoker-dated-1214815365.1e6e04@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (rwxrwxrwx.net [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8778FC1C for ; Fri, 20 Jun 2008 08:56:25 +0000 (UTC) (envelope-from carpetsmoker-dated-1214815365.1e6e04@rwxrwxrwx.net) Received: from localhost (unknown [127.0.0.1]) by mail.rwxrwxrwx.net (Postfix) with ESMTP id A1EBB6D446 for ; Fri, 20 Jun 2008 10:42:49 +0200 (CEST) Received: from mail.rwxrwxrwx.net ([127.0.0.1]) by localhost (mail.rwxrwxrwx.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sM1kHwb+pD3j for ; Fri, 20 Jun 2008 10:42:46 +0200 (CEST) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id 0602F6D43D; Fri, 20 Jun 2008 10:42:45 +0200 (CEST) Received: by glitch.rwxrwxrwx.net (tmda-sendmail, from uid 1001); Fri, 20 Jun 2008 10:42:45 +0200 Date: Fri, 20 Jun 2008 10:42:43 +0200 To: freebsd-questions@freebsd.org Message-ID: <20080620084243.GA74544@rwxrwxrwx.net> References: <200806191525.13775.gnemmi@gmail.com> <200806191715.23305.gnemmi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200806191715.23305.gnemmi@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Martin Tournoij Mail-Followup-To: freebsd-questions@freebsd.org, gnemmi@gmail.com X-Primary-Address: carpetsmoker@rwxrwxrwx.net Cc: gnemmi@gmail.com Subject: Re: Frets on Fire from ports (short and sweet) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Tournoij List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 08:56:25 -0000 On Thu, Jun 19, 2008 at 05:15:23PM -0300, Gonzalo Nemmi wrote: > On Thursday 19 June 2008 16:07:48 Jona Joachim wrote: > > On 2008-06-19, Gonzalo Nemmi wrote: > > > in short: has anybody been able to get it working from ports? > > > > > > [..snip..] > > If you try to build glewpy it tells you something about pyrex not > > generating the right code. I don't know if that problem actually comes from > > pyrex or from glewpy. If you use an old version of pyrex the port does seem to compile (I used the tag RELEASE_6_0_0, pyrex 0.7.4). A quick look at the Pyrex ChangeLog[1] reveals: " 0.8 - INCOMPATIBLE CHANGE: The type object of an external extension type is now imported at run time using the Python import mechanism. To make this possible, an 'extern' extension type declaration must DECLARE THE MODULE from which the extension type originates. See the new version of the "Extension Types" documentation for details. This change was made to eliminate the need for Pyrex to be told the C name of the type object, or for the Pyrex module to be linked against the object code providing the type object. You will have to update any existing external extension type declarations that you are using. I'm sorry about that, but it was too hard to support both the old and new ways." I'm not familiar with pyrex, so I'm not sure if this is the culprit ... But maybe this will help someone else... 1: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/CHANGES.txt -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org QOTD: "Necessity is the mother of invention" is a silly proverb. "Necessity is the mother of futile dodges" is much nearer the truth. -- Alfred North Whitehead