Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1343

Merged
Created Jan 31, 2023 by Xavier Thompson@xavier_thompsonOwner

Fix LAMP stack compilation on Raspberry Pi 4

  • Overview 12
  • Commits 9
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: raspberry-pi-lamp-stack
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7