Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to cross compile for Mac OS #16369

Closed
BlockMechanic opened this issue Jul 10, 2019 · 7 comments
Closed

Unable to cross compile for Mac OS #16369

BlockMechanic opened this issue Jul 10, 2019 · 7 comments

Comments

@BlockMechanic
Copy link
Contributor

BlockMechanic commented Jul 10, 2019

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?

@BlockMechanic
Copy link
Contributor Author

Hello, anyone >?

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

@BlockMechanic
Copy link
Contributor Author

Updated , anyone help, please !

@maflcko
Copy link
Member

maflcko commented Jul 29, 2019

Which commit/branch are you compiling?

@maflcko
Copy link
Member

maflcko commented Jul 29, 2019

Also, exact steps to reproduce

@maflcko maflcko closed this as completed Jul 29, 2019
@maflcko maflcko reopened this Jul 29, 2019
@BlockMechanic
Copy link
Contributor Author

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 .

@BlockMechanic
Copy link
Contributor Author

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

@BlockMechanic
Copy link
Contributor Author

closing for lack of interest

@bitcoin bitcoin deleted a comment from ongygy2000 Aug 4, 2019
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants