Overview
This guide covers common problems encountered during the Miele-LXIV Easy build process and provides practical solutions. Build logs are stored inlog/ directory for detailed diagnostics.
Build Log Usage
Always capture build output for troubleshooting:- Missing dependencies
- Configuration errors
- Compilation failures
- Linking problems
Common Issues
kconfig-mconf not found
kconfig-mconf not found
Error message:Cause: The kconfig-mconf tool is not installed or not in PATH.Solution:Install kconfig-mconf following the NuttX project method:Verification:
cmake command not found
cmake command not found
Error message:Cause: The cmake CLI tool is not installed or not in PATH.Solution 1 - Install via Homebrew:Solution 2 - Install from CMake.app:This creates symlinks in
/usr/local/bin/:- cmake
- ctest
- cpack
- cmake-gui
Download fails with curl/wget errors
Download fails with curl/wget errors
Error message:Cause: Network connectivity issues or missing download tools.Solution 1 - Check network:Solution 2 - Install wget:Solution 3 - Manual download:
If automated download fails, download manually:Solution 4 - Use alternate sources:
Some libraries have GitHub mirrors. Edit build.sh to use alternate URLs.
Patch fails to apply
Patch fails to apply
Error message:Cause: Library version mismatch - patch doesn’t match the source code.Solution 1 - Verify versions match:Ensure patch filename matches library version exactly.Solution 2 - Use correct version set:Solution 3 - Create new patch:
If using a newer library version, you’ll need to create a new patch. See Patching Dependencies.Diagnostic commands:
OpenSSL version errors with DCMTK
OpenSSL version errors with DCMTK
Error message:Cause: DCMTK compiled against OpenSSL 1.1.x but system has OpenSSL 3.x linked via Homebrew.Solution - Temporarily switch OpenSSL versions:Edit build.sh and uncomment lines 577-582 during DCMTK compilation:Alternative - Use OpenSSL 1.1.x consistently:Verification:
Python symlink issues with GLEW
Python symlink issues with GLEW
Error message:Cause: GLEW’s auto/make process requires Solution 2 - Use Homebrew Python:Solution 3 - Edit GLEW Makefile:Verification:
python command, but macOS only provides python3.Solution 1 - Create symlink:Permission denied errors
Permission denied errors
Error message:Cause: Trying to install to system directories without proper permissions.Solution 1 - Use user directories:All directories should be under your home directory.Solution 2 - Fix existing directory permissions:Solution 3 - Create directories first:Best practice: Always use directories under
$HOME to avoid permission issues.Build fails with 'No rule to make target'
Build fails with 'No rule to make target'
Error message:Cause: Configuration step was skipped or failed.Solution:Diagnostic commands:
Out of disk space
Out of disk space
Error message:Cause: Build and source directories consume significant space (20-30GB).Solution 1 - Check disk space:Solution 2 - Clean build directory:Solution 3 - Use shared sources:This reduces duplication if building multiple times.Solution 4 - Remove old timestamped builds:
Xcode build fails after dependencies built
Xcode build fails after dependencies built
Error message:Cause: Symbolic links not created or Xcode project not finding libraries.Solution 1 - Create symbolic links:Solution 2 - Verify symlinks:Solution 3 - Complete STEP 5:
Follow the manual fixup steps in README.md STEP 5. Some Xcode project settings require manual configuration.Diagnostic commands:
Library version mismatch errors
Library version mismatch errors
Error message:Cause: Mixed library versions - dependencies built with different versions than expected.Solution 1 - Use consistent version set:Solution 2 - Rebuild all dependencies:Prevention: Always build all dependencies together from the same version set.
CMake generator errors
CMake generator errors
Error message:Cause: Xcode or Xcode Command Line Tools not installed.Solution 1 - Install Xcode:Solution 2 - Accept Xcode license:Solution 3 - Switch to Unix Makefiles:Verification:
gsort command not found
gsort command not found
Error message:Cause: GNU sort (gsort) required for macOS 10.15+, but not installed.Solution:This installs GNU utilities including
gsort.Background: build.sh:128-133 uses gsort for version comparison on macOS 10.15+, but falls back to sort on older versions.Verification:Diagnostic Commands
Check Environment
Check Configuration
Check Build Status
Check Source Downloads
Check Symbolic Links
Getting Help
Useful Information to Provide
When seeking help, include:-
System information:
-
Build configuration:
-
Error messages: From build log
- Steps attempted: What you’ve already tried
Resources
- Miele-LXIV GitHub: https://github.com/bettar/miele-lxiv
- Build logs: Check
$EASY_HOME/log/directory - Source comments: build.sh contains helpful inline documentation
Prevention Tips
- Always use build logs - Capture output with
scriptcommand - Build incrementally - Test one library at a time when troubleshooting
- Keep backups - Save working configurations before experimenting
- Use default settings - Start with version-set-8.8 before customizing
- Check prerequisites - Verify all tools installed before starting
- Monitor disk space - Ensure 30GB+ available before building
- Read error messages - They often indicate exactly what’s wrong
- Follow build order - Don’t skip configure/build/install steps