Bug 105616

Summary: Building wsd/loolwsd fails
Product: LibreOffice Online Reporter: Alexander Kallenbach <a.kallenbach>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aron.budea
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Alexander Kallenbach 2017-01-30 15:03:03 UTC
I wanted to compile loolwsd/wsd as described in the README:

https://github.com/LibreOffice/online/blob/master/wsd/README

aclocal failed with the following error message:

aclocal: error: 'configure.ac' is required

As described in the error message there is no configure.ac in the wsd folder.

What can I do to properly build wsd/loolwsd?
Comment 1 Aron Budea 2017-01-30 21:42:46 UTC
It has to be run from the root of the repository, note that there's a configure.ac there.
Comment 2 Alexander Kallenbach 2017-01-30 21:53:26 UTC
Isn't at least the linked readme false?
Comment 3 Ashod Nakashian 2017-02-06 00:57:59 UTC
(In reply to Alexander Kallenbach from comment #0)
> I wanted to compile loolwsd/wsd as described in the README:
> What can I do to properly build wsd/loolwsd?

As Aron mentioned, ./configure and make must be executed in the root directory.

There is no wsd/loolwsd or loolwsd/wsd. The README is referring to 'loolwsd' where it might be better to say Online. Otherwise, the instructions are correct.

I did verify on a newly cloned copy. The only wrinkle is that automake gives an error, but that is normal since the file it is looking for is generated in the next step by autoreconf.

After running the commands in the README, you need to run ./configure with the required arguments correctly set, once that succeeds, just run `make` in the same directly.

Happy hacking.