Skip to content

Dev branch: cmake build error on Linux at configure step for 'texe' #232

Description

@wesinator

Describe the bug
The cmake build fails on Fedora stable 44 with an error about not finding the W86Mingw32 compiler.

To Reproduce

Expected behavior
build works on Linux

~/readpe% cmake --build build
[  1%] Creating directories for 'texe'
[  3%] No download step for 'texe'
[  5%] No update step for 'texe'
[  6%] No patch step for 'texe'
[  8%] Performing configure step for 'texe'
CMake Error at /home/user/readpe/cmake/toolchains/mingw64.cmake:8 (find_program):
  Could not find GNUCCi686W86Mingw32 using the following names:                                                                       
  i686-w64-mingw32-gcc, i686-w64-mingw32-gcc-win32,                                                                                   
  i686-w64-mingw32-gcc-posix                                                                                                          
Call Stack (most recent call first):                                                                                                  
  /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)                                                                   
  CMakeLists.txt:2 (project)                                                                                                          
                                                                                                                                      
                                                                                                                                      
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
gmake[2]: *** [CMakeFiles/texe.dir/build.make:92: texe-prefix/src/texe-stamp/texe-configure] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:210: CMakeFiles/texe.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2

The C compiler identification is GNU 16.2.1
libcrypto 3.5.8

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions