Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1343

Fix LAMP stack compilation on Raspberry Pi 4

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos:raspberry-pi-lamp-stack into master Jan 31, 2023
  • Overview 12
  • Commits 9
  • Pipelines 0
  • Changes 9

Many cmmi components dependencies of LAMP stack fail to compile on Raspberry Pi 4, all for the same reason : configure fails with "error: cannot guess build type; you must specify one" because config.guess is too old (often 2002 or 2006).

To fix, we can either upgrade the component to a more recent version (which will likely include a more recent config.guess) or directly replace the config.guess with a more recent one on the fly (component/gnu-config serves to provide the more recent version, and a simple pre-configure-hook does the replacement).

Below is a list of changed components:

  • readline (for mariadb): Version up (the recent readline already existed, but mariadb still used old readline5)
  • libmcrypt (for php): Remove because no longer maintained. If we still need it, we can fix the config.guess instead
  • groff: Version up 1.22.4
  • texinfo 7.0 for groff 1.22.4: Add [texinfo7] instead of upgrading [texinfo] which uses [texinfo4] on purpose
  • openldap: Version up 2.6.3
  • xorg - xproto, xextproto & renderproto: Replace config.guess because they are already at the latest version
  • jasper: Replace config.guess because more recent version now use cmake, so this was easier
  • dropbear: Replace config.guess because we use an older version on purpose
  • sed: Version up 4.9

Working compilation on Raspberry Pi 4 is needed urgently for the upcoming tutorial article in Programmez!

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: raspberry-pi-lamp-stack
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7