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

Failed configure nettle-3.6 on Mac OS Big Sur #654

Open
a180285 opened this issue Oct 15, 2022 · 7 comments
Open

Failed configure nettle-3.6 on Mac OS Big Sur #654

a180285 opened this issue Oct 15, 2022 · 7 comments

Comments

@a180285
Copy link

a180285 commented Oct 15, 2022

Here is the log.

...
fetched no code changes, not forcing reconfigure for that...
mkdir: build: File exists
cp: /Users/wei.huang/work/ffmpeg-windows-build-helpers/meson-cross.mingw.txt: No such file or directory
Already used meson libvmaf
already did ninja libvmaf
Already made /Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox fontconfig-2.13.92 ...
Already made /Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox gmp-6.2.1 ...
configuring nettle-3.6 (/Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox/nettle-3.6) as $ PKG_CONFIG_PATH=/Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/pkgconfig PATH=/Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH ./configure --host=x86_64-w64-mingw32 --prefix=/Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation
all touch files already_configured* touchname= already_configured_d7ae18e0da8e6bf0a1139c0ef93de7a6
config options --host=x86_64-w64-mingw32 --prefix=/Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation ./configure
checking build system type... x86_64-apple-darwin20.6.0
checking host system type... x86_64-w64-mingw32
checking for -R flag... none
Searching for libraries
checking /Users/wei.huang/work/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib... added
checking /usr/local/lib... added
checking /sw/local/lib... not found
checking /sw/lib... not found
checking /usr/gnu/lib... not found
checking /opt/gnu/lib... not found
checking /sw/gnu/lib... not found
checking /usr/freeware/lib... not found
checking /usr/pkg/lib... not found
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking for ifunc support... no
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking if LD -Wl,--version-script works... yes
checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-nm... x86_64-w64-mingw32-nm
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
failed configure nettle-3.6

@rdp
Copy link
Owner

rdp commented Oct 18, 2022

that's weird /meson-cross.mingw.txt should exist, is it not there?

@a180285
Copy link
Author

a180285 commented Oct 18, 2022

I finally get it work on Ubuntu 20.04. So maybe I can have a look next time.

@supermoonie
Copy link

mcOS Monterey

checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
failed configure nettle-3.6

meson-cross.mingw.txt

[binaries]
c = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc'
cpp = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-g++'
ld = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-ld'
ar = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-ar'
strip = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-strip'
pkgconfig = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-pkg-config'
nm = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-nm'
windres = '/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-windres'

[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'

@rdp
Copy link
Owner

rdp commented Oct 24, 2022 via email

@supermoonie
Copy link

./cross_compile_ffmpeg.sh :

warning: you may need to install zlib development headers first if you want to build mp4-box [on ubuntu: $ apt-get install zlib1g-dev] [on redhat/fedora distros: $ yum install zlib-devel]
     ##################### Welcome ######################
  Welcome to the ffmpeg cross-compile builder-helper script.
  Downloads and builds will be installed to directories within /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox
  If this is not ok, then exit now, and cd to the directory where you'd
  like them installed, then run this script again from there.
  NB that once you build your compilers, you can no longer rename/move
  the sandbox directory, since it will have some hard coded paths in there.
  You can, of course, rebuild ffmpeg from within it, etc.
2022年10月25日 星期二 10时55分04秒 CST
sit back, this may take awhile...
What version of MinGW-w64 would you like to build or update?
  1. Both Win32 and Win64
  2. Win32 (32-bit only)
  3. Win64 (64-bit only)
  4. Local native
  5. Exit
Input your choice [1-5]: 3
Starting to download and build cross compile version of gcc [requires working internet access] with thread count 12...

Done building (or already built) MinGW-w64 cross-compiler(s) successfully...
2022年10月25日 星期二 10时55分09秒 CST

**************Starting 64-bit builds...
Building ffmpeg dependency libraries...
doing git checkout origin/master
M Makefile
HEAD 目前位于 9d0ef11 Merge pull request #103 from pali/master
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 dlfcn-win32_git ...
not svn Updating xavs_svn since usually svn repo's aren't updated frequently enough...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 xavs_svn ...
doing git checkout origin/master
HEAD 目前位于 b41cf11 Add checking for `frame_rate_code`.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/davs2_git/build linux ...
doing git checkout origin/master
HEAD 目前位于 eae1e8b Optimize `xavs2e_atoi()` for parameter parsing, enable 'k' or 'm' suffix for integer values.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/xavs2_git/build linux ...
meson-cross.mingw.txt -> ../../meson-cross.mingw.txt
doing git checkout origin/master
HEAD 目前位于 6c2061b Improve `future::get()` and `future::wait()` (#86)
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 zlib-1.2.11 ...
doing git checkout 813baea7a7bc28986e474541dd1080898fac14d7
M caca/caca.h
M caca/caca0.h
M caca/figfont.c
M caca/string.c
HEAD 目前位于 813baea img2txt: reject pictures with 0 bits per plane.
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libcaca_git ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 bzip2-1.0.8 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 xz-5.2.5 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libiconv-1.16 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 SDL2-2.0.12 ...
doing git checkout origin/master
HEAD 目前位于 3236fef attempt bump version
fetched no code changes, not forcing reconfigure for that...
doing git checkout 2cd279f
HEAD 目前位于 2cd279f Merge pull request #81 from maximd33/master
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 mfx_dispatch_git ...
doing git checkout origin/master
HEAD 目前位于 3ed7c9a Add D3D11 interop functions
fetched no code changes, not forcing reconfigure for that...
doing git checkout origin/master
HEAD 目前位于 fc993b4 Update graphengine
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 zimg_git ...
doing git checkout origin/master
HEAD 目前位于 2d606701 Merge pull request #1448 from rouault/fix_1447
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 openjpeg_git ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/glew-2.2.0 build ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 glfw-3.3.2 ...
doing git checkout origin/master
HEAD 目前位于 04c016d79 scripts: Fix the remaining instance of ZLIB_INCLUDE_DIR
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libpng_git ...
doing git checkout origin/master
HEAD 目前位于 8ea81561 change VP8LPredictorFunc signature to avoid reading 'left'
fetched no code changes, not forcing reconfigure for that...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libwebp_git ...
doing git checkout origin/main
HEAD 目前位于 83769b9cb [subset] add comment for why we retain empty lookups.
fetched no code changes, not forcing reconfigure for that...
Already done harfbuzz
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 libxml2-2.9.10 ...
doing git checkout v2.3.0
HEAD 目前位于 5c1c9bfa Update CHANGELOG.md
fetched no code changes, not forcing reconfigure for that...
mkdir: build: File exists
Already used meson libvmaf
already did ninja libvmaf
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 fontconfig-2.13.92 ...
Already made /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64 gmp-6.2.1 ...
configuring nettle-3.6 (/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/win64/nettle-3.6) as $ PKG_CONFIG_PATH=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/pkgconfig PATH=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH ./configure --host=x86_64-w64-mingw32 --prefix=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation
all touch files already_configured* touchname= already_configured_c7518cf1d7769e028f2e274946eb1f48
config options --host=x86_64-w64-mingw32 --prefix=/Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --disable-shared --enable-static --disable-openssl --disable-documentation ./configure
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-w64-mingw32
checking for -R flag... none
Searching for libraries
checking /Users/supermoonie/temp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib... added
checking /usr/local/lib... added
checking /sw/local/lib... not found
checking /sw/lib... not found
checking /usr/gnu/lib... not found
checking /opt/gnu/lib... not found
checking /sw/gnu/lib... not found
checking /usr/freeware/lib... not found
checking /usr/pkg/lib... not found
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking for ifunc support... no
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking if LD -Wl,--version-script works... yes
checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-nm... x86_64-w64-mingw32-nm
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler
failed configure nettle-3.6

@rdp
Copy link
Owner

rdp commented Oct 29, 2022 via email

@rdp
Copy link
Owner

rdp commented Jan 24, 2024

nettle should have a config.log file or something similar, maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants