-
Notifications
You must be signed in to change notification settings - Fork 34
Cross Compiling Error
Kevin DeCapite edited this page Apr 18, 2025
·
1 revision
If you receive a cross compiling error when running ./configure such as the below, see the linked issue for a possible workaround, which may be related to running a VM with a different architecture than the underlying host machine (e.g. x86 VM running on an ARM processor).
checking whether we are cross compiling... configure: error: in `/path/to/php-sweph':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
See this issue for a possible solution: