Skip to content

OSX Cross compiling not working: Missing boost osx Header - fatal error: 'unistd.h' file not found #10926

@globaltoken

Description

@globaltoken

Hey,

If I compile OSX with Cross Compiling under Linux 14.04 LTS x64 it says if I do this step:

make HOST=x86_64-apple-darwin11 DARWIN_SDK_PATH=$PWD/MacOSX10.11.sdk -j4

Output:

/home/globaltoken/wallet-compile/Compilers/compile-processor-osx/depends/work/download/native_biplist-0.9/biplist-0.9.tar.gz.temp: OK
Extracting native_biplist...
/home/globaltoken/wallet-compile/Compilers/compile-processor-osx/depends/sources/biplist-0.9.tar.gz: OK
Preprocessing native_biplist...
patching file biplist/init.py
Configuring native_biplist...
Building native_biplist...
Traceback (most recent call last):
File "setup.py", line 6, in
import ez_setup
ImportError: No module named ez_setup
make: *** [/home/globaltoken/wallet-compile/Compilers/compile-processor-osx/depends/work/build/x86_64-apple-darwin11/native_biplist/0.9-d766a97a608/./.stamp_built] Error 1

But it doesnt crash it keeps going to compile OSX Wallets.
The thing is that they dont work.
If I try to run them on OSX it says "Cannot run binaries"

My steps I did:

Cloning the repos

cd compile-processor-osx
cd depends
make HOST=x86_64-apple-darwin11 DARWIN_SDK_PATH=$PWD/MacOSX10.11.sdk -j4
cd ..
./autogen.sh # not required when building from tarball
CONFIG_SITE=$PWD/depends/x86_64-apple-darwin11/share/config.site ./configure --prefix=/
make -j4

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions