static binaries please ...
I have just spent an hour compiling various libraries to get the pypy binaries to work (64bit, RHEL3). Probable because the distribution is old (I don't administer it) the shared libraries that pypy requires were not available. Compiling them by hand is a hassle (have to find options to enable shared objects etc.). Please distribute only _static_ binaries, the gains of shared libriares are completely insignificant compared to the hassle of when it doesn't work. Thanks ... -- -- Andreas [ http://unstable.nl | gopher://unstable.nl ]
On Mon, Jun 13, 2011 at 9:05 AM, Andreas <andreas@unstable.nl> wrote:
I have just spent an hour compiling various libraries to get the pypy binaries to work (64bit, RHEL3). Probable because the distribution is old (I don't administer it) the shared libraries that pypy requires were not available. Compiling them by hand is a hassle (have to find options to enable shared objects etc.).
Please distribute only _static_ binaries, the gains of shared libriares are completely insignificant compared to the hassle of when it doesn't work.
+1 -- Leonardo Santagada
On Mon, 2011-06-13 at 14:05 +0200, Andreas wrote:
I have just spent an hour compiling various libraries to get the pypy binaries to work (64bit, RHEL3). Probable because the distribution is old (I don't administer it) the shared libraries that pypy requires were not available. Compiling them by hand is a hassle (have to find options to enable shared objects etc.).
Please distribute only _static_ binaries, the gains of shared libriares are completely insignificant compared to the hassle of when it doesn't work.
I know this is a slightly different approach to the one in your mail, but FWIW, I've packaged pypy (1.5) in rpm form for Fedora, and it may be possible to rebuild the pypy src.rpm on RHEL3. Caveat: I've not tried it, though I've had some success with this src.rpm on RHEL5 and RHEL6 (can take two hours or more to build, and you may want to disable the %check section since this kills the build if certain test failures happen). The specfile can be seen here: http://pkgs.fedoraproject.org/gitweb/?p=pypy.git;a=tree and the src.rpm here: http://kojipkgs.fedoraproject.org/packages/pypy/1.5/1.fc15/src/pypy-1.5-1.fc... in case you want to try it. Hope this is helpful Dave
On Mon, Jun 13, 2011 at 03:03:10PM -0400, David Malcolm wrote:
I know this is a slightly different approach to the one in your mail, but FWIW, I've packaged pypy (1.5) in rpm form for Fedora, and it may be possible to rebuild the pypy src.rpm on RHEL3. Caveat: I've not tried it, though I've had some success with this src.rpm on RHEL5 and RHEL6 (can take two hours or more to build, and you may want to disable the %check section since this kills the build if certain test failures happen).
Thanks, but I reckon I can't do stuff with rpm as I don't have root rights on the box. Either way it's working OK now after manually compiling the dependencies (you do need to enable shared libraries for some of them). A minor annoyance is that it gives warnings about the OpenSSL version -- but how am I supposed to know which of the 20 openssl 0.9.8 versions was used to compile pypy?! Something completely different, this trick works fine in CPython: import sys sys.stdout = codecs.getwriter('utf8')(sys.stdout) print "[some unicode]" For pypy needed to replace the prints with sys.stdout.write calls. -- -- Andreas [ http://unstable.nl | gopher://unstable.nl ]
Hi Andreas, On Mon, Jun 13, 2011 at 9:16 PM, Andreas <andreas@unstable.nl> wrote:
Something completely different, this trick works fine in CPython:
import sys sys.stdout = codecs.getwriter('utf8')(sys.stdout) print "[some unicode]"
Already fixed between 1.5 and trunk (unless you have another example that crashes than the one I just tried). Thanks anyway :-) A bientôt, Armin.
participants (4)
-
Andreas
-
Armin Rigo
-
David Malcolm
-
Leonardo Santagada