Skip to content

Instantly share code, notes, and snippets.

@sherifomran
Created June 23, 2019 09:45
Show Gist options
  • Save sherifomran/116ecc90f5250c6baa9ea33505105c90 to your computer and use it in GitHub Desktop.
Save sherifomran/116ecc90f5250c6baa9ea33505105c90 to your computer and use it in GitHub Desktop.
log file
Warning: Failed to set locale category LC_NUMERIC to en_CH.
Warning: Failed to set locale category LC_TIME to en_CH.
Warning: Failed to set locale category LC_COLLATE to en_CH.
Warning: Failed to set locale category LC_MONETARY to en_CH.
Warning: Failed to set locale category LC_MESSAGES to en_CH.
uname -a
Darwin Sherif.fritz.box 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
883e06b387cde2d4d83a7ee134690233b0331aad - Update packages.json & build-matrix.html [2 days ago] [ (HEAD -> master, origin/master, origin/HEAD)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G5019
autoconf --version 2>/dev/null | head -1
autoconf (GNU Autoconf) 2.69
automake --version 2>/dev/null | head -1
automake (GNU automake) 1.14.1
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
python --version
Python 2.7.10
perl --version 2>&1 | head -3
This is perl 5, version 16, subversion 3 (v5.16.3) built for darwin-thread-multi-2level
rm -rf '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0'
mkdir -p '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0'
mkdir -p '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/pkgconf-pkgconf-da179fd'
mkdir -p '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/pkgconf-pkgconf-da179fd.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/readonly'
chmod 0555 '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/readonly'
cd '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0' && tar xzf '/Users/sherifomran/Downloads/mxe/pkg/pkgconf-da179fd.tar.gz'
cd '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/pkgconf-pkgconf-da179fd'
(cd '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/pkgconf-pkgconf-da179fd' && patch -p1 -u) < /Users/sherifomran/Downloads/mxe/src/pkgconf-1-fixes.patch
patching file main.c
cd '/Users/sherifomran/Downloads/mxe/tmp-pkgconf-x86_64-apple-darwin17.7.0/pkgconf-pkgconf-da179fd' && ./autogen.sh
-n *info* running aclocal
autom4te: need GNU m4 1.4 or later: /opt/local/bin/gm4
aclocal: error: echo failed with exit status: 1
*error* aclocal failed. (exit code = 1)
make[1]: *** [build-only-pkgconf_x86_64-apple-darwin17.7.0] Error 1
real 0m31.911s
user 0m20.317s
sys 0m1.733s
@sherifomran
Copy link
Author

sherifomran commented Jun 23, 2019

i have cmake installed on my system. i can not update the mac os, xcode 10.x. I found a turn around.
i downloaded pkgconf from github
git clone https://github.com/pkgconf/pkgconf.git
then to generate the make file i used

cd pkgconfg
cmake ./
make

now copy pkgconf to mxe/usr/x86-apple-darwin17.70/installed

cd mxe/
make 

and now it passes

@sherifomran
Copy link
Author

now autotools need alocal ? again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment