Can't ninja/make

All development related issues welcome

Moderator: Moderator Team

Post Reply
PeterLinuxer
Posts: 46
Joined: Fri Oct 26, 2018 6:19 pm

Can't ninja/make

Post by PeterLinuxer »

I downloaded ROS sources from github via "git clone" and ROS-BE 2.2.1. I built ROS-BE succesfully on my Linux system.
I successfully ran ./configure.sh from within ROS-BE.
When I enter ninja or make it doesn't work. It complains about missing ninja.build or makefile.

Any suggestion what I should do to get ReactOS source built?

Greetings
Peter

User avatar
EmuandCo
Developer
Posts: 4447
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Can't ninja/make

Post by EmuandCo »

Did you cd output-MinGW-i386 before?
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes

oldman
Posts: 1148
Joined: Sun Dec 20, 2009 1:23 pm

Re: Can't ninja/make

Post by oldman »

PeterLinuxer wrote:
Thu Oct 22, 2020 3:44 am
I downloaded ROS sources from github via "git clone" and ROS-BE 2.2.1. I built ROS-BE succesfully on my Linux system.
I successfully ran ./configure.sh from within ROS-BE.
When I enter ninja or make it doesn't work. It complains about missing ninja.build or makefile.

Any suggestion what I should do to get ReactOS source built?

Greetings
Peter
You may not be in the correct folder.
Please have a read at this to see if it is of any help to you.
Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.

PeterLinuxer
Posts: 46
Joined: Fri Oct 26, 2018 6:19 pm

Re: Can't ninja/make

Post by PeterLinuxer »

I think I'm in the right directory:

Code: Select all

*******************************************************************************
*         ReactOS Build Environment for Unix-based Operating Systems          *
*                      by Colin Finck <colin@reactos.org>                     *
*                                                                             *
*                                 Version 2.2.1                               *
*******************************************************************************

For a list of all included commands, type: "help"
-------------------------------------------------

(RosBE) [peter@peterhost reactos]$ ls
apistatus.lst       COPYING.ARM        overrides-gcc.cmake
base                COPYING.LIB        overrides-msvc.cmake
boot                CREDITS            PreLoad.cmake
CMakeLists.txt      dll                PULL_REQUEST_MANAGEMENT.md
CODE_OF_CONDUCT.md  Doxyfile           README.md
CODEOWNERS          drivers            sdk
configure.cmd       hal                subsystems
configure.sh        INSTALL            toolchain-clang.cmake
CONTRIBUTING.md     media              toolchain-gcc.cmake
COPYING             modules            toolchain-msvc.cmake
COPYING3            ntoskrnl           win32ss
COPYING3.LIB        output-MinGW-i386
(RosBE) [peter@peterhost reactos]$
You see: No makefile, no ninja.build. The link you gave didn't tell me anything useful.

I reran ./configure.sh (from within RosBE) with the following output:

Code: Select all

(RosBE) [peter@peterhost reactos]$ ./configure.sh 
Creating directories in output-MinGW-i386
Preparing reactos...
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Check for working C compiler: /usr/local/RosBE/i386/bin/i686-w64-mingw32-gcc
-- Check for working C compiler: /usr/local/RosBE/i386/bin/i686-w64-mingw32-gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/RosBE/i386/bin/i686-w64-mingw32-g++
-- Check for working CXX compiler: /usr/local/RosBE/i386/bin/i686-w64-mingw32-g++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.28.0") 
-- Configuring host tools...
-- Build Type: Debug
CMake Warning at CMakeLists.txt:151 (message):
  -- Disabling precompiled headers on GCC by default CORE-17108.


-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/RosBE/i386/bin/i686-w64-mingw32-gcc
-- Selected localization: all
-- umandlg has no base address
-- browser has no base address
-- hotplug has no base address
-- qcap has no base address
-- mydocs has no base address
-- dbgeng has no base address
-- fusion has no base address
-- fusion_1_1 has no base address
-- fusion_2_0 has no base address
-- profmap has no base address
-- regapi has no base address
-- storprop has no base address
-- ntprint has no base address
-- Configuring done
-- Generating done
-- Build files have been written to: /home/peter/Desktop/dev/ReactOS/reactos/output-MinGW-i386
Configure script complete! Enter directories and execute appropriate build commands (ex: ninja, make, makex, etc...).
Greetings
Peter

PeterLinuxer
Posts: 46
Joined: Fri Oct 26, 2018 6:19 pm

[SOLVED] Re: Can't ninja/make

Post by PeterLinuxer »

OK, maybe I got it: I cd to output-MinGW-9386 and "ninja". This is not written in the documentation but it works.

(But still no makefile (documentation says "make" is possible.))

I didn't see EmuandCo's comment. Sorry.

Thanks to both of you.

oldman
Posts: 1148
Joined: Sun Dec 20, 2009 1:23 pm

Re: Can't ninja/make

Post by oldman »

Just use the command ninja bootcd or ninja livecd from within /home/peter/Desktop/dev/ReactOS/reactos/output-MinGW-i386

I never use make, but I am trying it now from Windows and it is doing something.

I have not got a working Unix setup currently, so I can't look at that.
Last edited by oldman on Thu Oct 22, 2020 10:22 am, edited 1 time in total.
Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.

PeterLinuxer
Posts: 46
Joined: Fri Oct 26, 2018 6:19 pm

Re: Can't ninja/make

Post by PeterLinuxer »

OK. I understand it now. It's building now. Sorry for the inconvenience.

Greetings
Peter

oldman
Posts: 1148
Joined: Sun Dec 20, 2009 1:23 pm

Re: Can't ninja/make

Post by oldman »

PeterLinuxer wrote:
Thu Oct 22, 2020 10:20 am
OK. I understand it now. It's building now. Sorry for the inconvenience.

Greetings
Peter
It has not been a inconvenience to me. I am happy just to try and help and I expect others are also happy to try and help.
Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest