Hi
I have a error when make run , have tou a idea
make
No. You make ME a sandwich.
Makefile:56: recipe for target ‘check-if-root’ failed
make: *** [check-if-root] Error 1
Hi
I have a error when make run , have tou a idea
make
No. You make ME a sandwich.
Makefile:56: recipe for target ‘check-if-root’ failed
make: *** [check-if-root] Error 1
Building LibreOffice as root is a very bad idea.
Besides it being a bad idea to be running as root, various things will not work properly, including various tests.
Log in as a regular user and build LibreOffice from there.
(Noting that the only people who have a semi-legitimate reason to do this are some packaging systems)
I got the same error,
i tried it with
make -i
and it goes on under root account.
Next i was creating a new folder for libreoffice,
downloading source from
https://download.documentfoundation.org/libreoffice/src/5.2.0/
extracting with tar -xvf
changing the owner of the extracted folder to a normal user with chown -R :users
change from root to the other user, execute the “make” command - success !
That’s not an answer as it doesn’t offer a solution bu t merely a confirmation of the problem.
IMHO this isn’t the place to discuss problems with compiling LibreOffice. Instead contact the developers.
Orkea’s answer here:
Did the trick for me. Hope it works for you too.