Hey @sergey-safarov

What are the correct options to build and install "README" file?

The README and INSTALL files are the ones from root folder of kamailio source tree. They are not generated, just copied over -- I assume you meant the ones here:

This must be an oversight on my part and I didn't include them at all in the installation. I will adopt so they are also installed as well.

I have executed "make kamailio_docs" inside build folder but this generate error

Hmm, that needs to be investigated. Can't clearly see why it fails.

I have also added -DINCLUDE_MODULES="htable tls topos_htable kazoo" and now

So regarding this:

  1. /usr/bin/cmake --install folder does not force build if not built already. Just a note on this. It's assuming everything that needs to be installed is already built/exists as a file and so on. Therefore before --install, --build must have been called.

  2. After including the modules, you should and I guess you did --build. But the docs and the README generations are not in the default target. You should create the docs using the above command that failed for some reason make kamailio_docs for HTML and text generation AND a separate command make <module_name>_readme to create the READMEs found in the source tree.

  3. file INSTALL cannot find "/root/rpmbuild/BUILD/kamailio-6.0.0-build/kamailio-6.0.0-pre0/src/modules/topos_htable/README":

    I just looked over the Kamailio repo. There is no README file inside the module folder, so there is nothing to install. I don't know why there is no README there since the server should have committed one. @miconda needs to investigate this. So, in order for the README to be created and available for install, it should be make topos_htable_readme, and then installing again should pick up the file and copy it accordingly.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4085/c2566306850@github.com>