I'm trying to build KDE (on Windows) using emerge: http://techbase.kde.org/Getting_Started/Build/Windows/emerge OS: Windows 7 (x64) Configuration: Compiler: mingw4 Architecture: x64 When running "emerge qt" it fails at openssl, because make is not found ("sh: make: command not found."). There seems to be make binaries: - %kderoot%\mingw64\bin\mingw32-make.exe - %kderoot%\build\dev-util\mingw-w64-20111031\image\mingw64\bin\mingw32-make.exe Reproducible: Always Steps to Reproduce: 1. Setup a clean emerge environment (http://techbase.kde.org/Getting_Started/Build/Windows/emerge) 2. run "emerge qt" (openssl is a dependency) Actual Results: make is not found Expected Results: make shoud be installed/usable in kde environment emerge output (error message is unfortunately in german: "Kommando nicht gefunden" -> "command not found"): emerge debug: EmergeBase.execute called. args: ['c:\\kderoot\\emerge\\portage\\win32libs\\openssl\\openssl-1.0.0d.py', 'compile'] emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge warning: entering the source directory! emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e entering: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge debug: set environment variable -- set PKG_CONFIG_PATH=/c/kderoot/lib/pkgconfig emerge debug: set environment variable -- set CFLAGS=-I/c/kderoot/include -O2 -g emerge debug: set environment variable -- set LDFLAGS=-L/c/kderoot/lib emerge debug: set environment variable -- set PATH=c:\kderoot\mingw64\bin;c:\Python33;c:\kderoot\bin;c:\kderoot\dev-utils\bin;c:\kderoot\emerge\bin;c:\kderoot\bin;C:\Windows\system32;C:\Windows;C:\Win dows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Chocolatey\bin;C:\Program Files (x86)\Git\cmd;C:\Python33;;c:\kderoot\dev-utils\bin emerge debug: set environment variable -- set MSYSTEM=MINGW32 emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e\configure shared enable-md2 zlib-dynamic --with-zlib-lib=libzlib.dll.a --with-zlib-include=/c/kderoot/include mingw64 --prefix=/c/kderoot emerge debug: executing command: c:\kderoot\msys\bin\sh.exe --login -c "cd /c/kderoot/build/win32libs/openssl-1.0.0d/work/openssl-1.0.1e && /c/kderoot/build/win32libs/openssl-1.0.0d/work/openssl-1.0.1e/configure shared enable-md2 zlib-dynamic --with-zlib-lib=libzlib.dll.a --with-zlib-include=/c/kderoot/include mingw64 --prefix=/c/kderoot " Configuring for mingw64 no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-sctp [default] OPENSSL_NO_SCTP (skip dir) no-store [experimental] OPENSSL_NO_STORE (skip dir) IsMK1MF=0 CC =gcc CFLAG =-D_WINDLL -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MON T -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM EX_LIBS =-lws2_32 -lgdi32 -lcrypt32 CPUID_OBJ =x86_64cpuid.o BN_ASM =x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o modexp512-x86_64.o DES_ENC =des_enc.o fcrypt_b.o AES_ENC =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4-x86_64.o rc4-md5-x86_64.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM =md5-x86_64.o SHA1_OBJ_ASM =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o RMD160_OBJ_ASM= CMLL_ENC =cmll-x86_64.o cmll_misc.o MODES_OBJ =ghash-x86_64.o ENGINES_OBJ = PROCESSOR = RANLIB =/c/kderoot/mingw64/bin/ranlib.exe ARFLAGS = PERL =/usr/bin/perl.exe SIXTY_FOUR_BIT mode DES_INT used RC4_CHUNK is unsigned long long sh: make: Kommando nicht gefunden. emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge warning: entering the source directory! emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e entering: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge debug: using sourcedir: c:\kderoot\build\win32libs\openssl-1.0.0d\work\openssl-1.0.1e emerge debug: msys execute: c:\kderoot\msys\bin\sh.exe --login -c "cd /c/kderoot/build/win32libs/openssl-1.0.0d/work/openssl-1.0.1e && make clean" emerge debug: executing command: c:\kderoot\msys\bin\sh.exe --login -c "cd /c/kderoot/build/win32libs/openssl-1.0.0d/work/openssl-1.0.1e && make clean" /usr/bin/sh: make: Kommando nicht gefunden. emerge fatal error: while Make'ing. cmd: make clean emerge fatal error: running python c:\kderoot\emerge\portage\win32libs\openssl\openssl-1.0.0d.py compile emerge debug: Task: compile for openssl stopped after: 0:00:01.312500 emerge debug: Task: Emerge stopped after: 0:00:10.656250
I believe I'm seeing the same issue, also building on windows 7 64-bit. I'm using the master branch of emerge Here's the contents of my %KDEROOT%\etc\kdesettings.ini file: [General] KDECOMPILER = mingw4 EMERGE_ARCHITECTURE = x86 EMERGE_MAKE_PROGRAM = jom EMERGE_NOCOPY = True [Paths] PYTHONPATH = C:\python34 [ShortPath] EMERGE_USE_SHORT_PATH = True EMERGE_ROOT_DRIVE = r: EMERGE_SVN_DRIVE = s: EMERGE_GIT_DRIVE = q: EMERGE_DOWNLOAD_DRIVE = t: [Portage] PACKAGE_IGNORES = [PortageVersions] [EmergeDebug] Verbose = 1 MeasureTime = False [Environment] [Version] EMERGE_SETTINGS_VERSION = 1 And here's the failing portion of console output from the 'emerge qt' command: emerge warning: entering the source directory! entering: r:\build\win32libs\openssl\work\openssl-1.0.1g r:\build\win32libs\openssl\work\openssl-1.0.1g\configure shared enable-md2 zlib-dynamic --with-zlib-lib=libzlib.dll.a --with-zlib-include=/r/include mingw --prefix=/r/ Configuring for mingw no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-sctp [default] OPENSSL_NO_SCTP (skip dir) no-store [experimental] OPENSSL_NO_STORE (skip dir) IsMK1MF=0 CC =gcc CFLAG =-D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM EX_LIBS =-lws2_32 -lgdi32 -lcrypt32 CPUID_OBJ =x86cpuid.o uplink.o uplink-x86.o BN_ASM =bn-586.o co-586.o x86-mont.o x86-gf2m.o DES_ENC =des-586.o crypt586.o AES_ENC =aes-586.o vpaes-x86.o aesni-x86.o BF_ENC =bf-586.o CAST_ENC =c_enc.o RC4_ENC =rc4-586.o RC5_ENC =rc5-586.o MD5_OBJ_ASM =md5-586.o SHA1_OBJ_ASM =sha1-586.o sha256-586.o sha512-586.o RMD160_OBJ_ASM=rmd-586.o CMLL_ENC =cmll-x86.o MODES_OBJ =ghash-x86.o ENGINES_OBJ = PROCESSOR = RANLIB =/r/mingw/bin/ranlib.exe ARFLAGS = PERL =/usr/bin/perl.exe THIRTY_TWO_BIT mode DES_PTR used DES_RISC1 used DES_UNROLL used BN_LLONG mode RC4_INDEX mode RC4_CHUNK is undefined sh: make: command not found emerge warning: entering the source directory! entering: r:\build\win32libs\openssl\work\openssl-1.0.1g /usr/bin/sh: make: command not found while Make'ing. cmd: make clean emerge error: fatal error: package win32libs/openssl all failed
Hi your msys setup is broken. You can fix it by starting msys "msys.bat". Call "pacman -Syu" confirm the questions. Exit and call autorebase.bat in the msys folder. Start msys again, and call "pacman -S base-devel ". Now your problem should be fixed.