From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Updating mono. Adding MSBuild. Date: Tue, 02 Apr 2019 10:17:47 +0200 Message-ID: <87lg0szuqc.fsf@elephly.net> References: <875zs5c72r.fsf@posteo.net> <874l7o4y1p.fsf@elephly.net> <20190327122310.4c8155eb@scratchpost.org> <877echijcb.fsf@posteo.net> <87va01zdy4.fsf@elephly.net> <87o95ppm84.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBEgV-0003fu-LM for guix-devel@gnu.org; Tue, 02 Apr 2019 04:22:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBEcg-00077V-Kc for guix-devel@gnu.org; Tue, 02 Apr 2019 04:18:23 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBEcg-00066w-3N for guix-devel@gnu.org; Tue, 02 Apr 2019 04:18:22 -0400 In-reply-to: <87o95ppm84.fsf@posteo.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Brett Gilio Cc: Guix-devel Brett Gilio writes: > Okay, great Mono-5.0 builds successfully. So with that knowledge, I > tried to compile the latest Mono-5.18. However, shortly after the > configuration step it throws > > 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! > See also > "/tmp/guix-build-mono-5.18.1.0.drv-0/mono-5.18.1.0/mono/btls/build-shared/CMakeFiles/CMakeOutput.log". > > The interesting thing is that it uses the gnu-build-system to build the > csc compiler, and I had to pass cmake as a native-input or else the > configuration step would fail. So, does anybody know how to deal with > this cmake issue? Do you get the errors when using the cmake-build-system? If you need to prepare the build you can add custom build phases. -- Ricardo