Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pypy
pypy
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 594
    • Issues 594
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This instance will be upgraded to the latest Heptapod 0.20rc on 2021-02-26 at 11:00 UTC+1

  • PyPy
  • pypypypy
  • Issues
  • #3046

Closed
Open
Opened Jul 24, 2019 by Bitbucket Importer@bitbucket_importerMaintainer

Raspberry Pi Observations - RAM and Library Checks?

Created originally on Bitbucket by Alex Edwards

Hi,

I’ve just been compiling PyPy pypy2.7-v7.1.1-src.zip on a Raspberry Pi Zero ‘stretch’ - quite a slow process! 🙂 Thought I’d share my installation experience and niggles and hope it helps.

After quite a long time, 30-60mins perhaps, it bombed out with insufficient memory. I added some more swap and its working.

It could be handy to simply warn if memory less than 500MB or 1GB spare perhaps? Adding 1GB swap worked, though I didn’t try smaller amounts.

Then installing again, after perhaps an hour, the build failed again because of a missing -dev library / package libbz2-dev. Then twice more on libncurses5-dev.

I then found your helpful page - http://doc.pypy.org/en/latest/build.html - and installed all the packages I could in advance.

sudo apt-get install libexpat1-dev
sudo apt-get install libncurses-dev
sudo apt-get install libncursesw-dev
sudo apt-get install libgdbm-dev
sudo apt-get install tk-dev -- installs X, so avoid if possible
sudo apt-get install liblzma-dev

It would have helped me a lot if these dependencies had been spotted and warned/failed sooner. Also a link to your installation page would help too, rather than failing on one package per long compile.

PS - I only more recently noticed that a newer version of pypy is in Raspbian buster - I should probably have just installed that! 😃

Cheers

Alex

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: pypy/pypy#3046