Bug 105616 - Building wsd/loolwsd fails
Summary: Building wsd/loolwsd fails
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-30 15:03 UTC by Alexander Kallenbach
Modified: 2017-02-06 00:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.