Re: [pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-11 Thread Armin Rigo
Hi Bengt, On Wed, Sep 11, 2013 at 1:42 PM, Bengt Richter wrote: > Is it not currently possible to build and install everything pypy > in user mode, in a user directory, e.g. ~/.pypy/versionstring/... > and chmod selectively to protect against accidental mods/deletes? > > Will it not run properly

Re: [pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-11 Thread Bengt Richter
Hi Armin, On 09/11/2013 09:10 AM Armin Rigo wrote: [...] Just reporting the error is plenty enough. The issue is that it's a CFFI module which gets built (by calling the C compiler) the first time it is imported. The library built is saved into some directory where (after installation) a norma

Re: [pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-11 Thread Armin Rigo
Hi Jean-François, On Tue, Sep 10, 2013 at 5:43 PM, Jean-François Caron wrote: > I can send an email or bug report to MacPorts, but I'm not sure how to > describe the bug, as I'm unfamiliar with the syslog module. Just reporting the error is plenty enough. The issue is that it's a CFFI module w

Re: [pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-10 Thread Jean-François Caron
Yes, I was re-translating in order to test the CINT backend for PyPyROOT. After importing syslog as root, I can now import syslog as non-root. I can send an email or bug report to MacPorts, but I'm not sure how to describe the bug, as I'm unfamiliar with the syslog module. Jean-François On

Re: [pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-10 Thread wlavrijsen
Hi Armin, This is a mis-installed PyPy. To fix it, run PyPy as root and type: import syslog You may have to also import a few other modules as needed. ("syslog" appears in the traceback above.) thanks for the recipe! Note also that cppyy is now included in PyPy by default (on non-Wind

Re: [pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-10 Thread Armin Rigo
Hi Jean-François, On Mon, Sep 9, 2013 at 6:08 PM, Jean-François Caron wrote: > Hi, I am following the instructions here: > http://doc.pypy.org/en/latest/cppyy.html#installation and here: > http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=17018 > > In the first link, it says I can use a "built-in p

[pypy-dev] Cannot use MacPorts PyPy to Translate pypy-c

2013-09-09 Thread Jean-François Caron
Hi, I am following the instructions here: http://doc.pypy.org/en/latest/cppyy.html#installation and here: http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=17018 In the first link, it says I can use a "built-in pypy" to do the translation to make it go faster. I have pypy 2.1.0 from MacPorts, but