Unable to cross compile for Mac OS #16369

issue BlockMechanic opened this issue on July 10, 2019
  1. BlockMechanic commented at 9:45 PM on July 10, 2019: contributor

    On ubuntu 18.04 , After running

    make HOST=x86_64-apple-darwin11

    I get :-

    Configuring native_cdrkit... Configuring Cdrkit, version 1.1.11 CMake Error at wodim/CMakeLists.txt:18 (MESSAGE): Error: found a Linux system but no libcap header. Install libcap-dev.

    CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

    cmake_minimum_required(VERSION 3.10)

    should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it.

    -- Configuring incomplete, errors occurred!

    Any idea what may be going wrong?

  2. BlockMechanic commented at 8:13 AM on July 20, 2019: contributor

    Hello, anyone >?

    I've tried various methods of install libcap and still no progress

  3. BlockMechanic commented at 3:54 PM on July 29, 2019: contributor

    Updated , anyone help, please !

  4. MarcoFalke commented at 5:26 PM on July 29, 2019: member

    Which commit/branch are you compiling?

  5. MarcoFalke commented at 5:42 PM on July 29, 2019: member

    Also, exact steps to reproduce

  6. MarcoFalke closed this on Jul 29, 2019

  7. MarcoFalke reopened this on Jul 29, 2019

  8. BlockMechanic commented at 2:41 PM on July 30, 2019: contributor

    I was building from master

    sudo apt install ca-certificates curl g++ git pkg-config autoconf librsvg2-bin libtiff-tools libtool automake faketime bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python3 python3-dev python3-setuptools fonts-tuffy libcap-dev export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" make HOST=x86_64-apple-darwin11 DARWIN_SDK_PATH=$PWD/MacOSX10.11.sdk -j4

    It completely fails there .

  9. BlockMechanic commented at 7:28 PM on August 3, 2019: contributor

    Deleting the offending lines allowed the build to continue, will test later tonight if the binaries work without issue.

  10. BlockMechanic commented at 7:29 PM on August 3, 2019: contributor

    closing for lack of interest

  11. BlockMechanic closed this on Aug 3, 2019

  12. fanquake deleted a comment on Aug 4, 2019
  13. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me