Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Compile PHP-MAPI seperately

    Kopano Groupware Core
    3
    6
    379
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tiredofit
      tiredofit last edited by

      HI there, I have a need to build a seperate instance of Kopano Webapp away from the server components, and was hoping to have this run under Alpine linux. I’m hitting barriers with getting libvmime to compile which is limiting the ability to finish the ./configure command in Kopano Core so that I can attempt to compile PHP-MAPI. Is there a source tree somewhere that just has PHP-MAPI available that I can compile without having to go through the Core compilation?

      Many thanks

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @tiredofit last edited by

        Hi @tiredofit,

        while there is an ongoing effort to remove more and more pieces from the kopano core git repo, there is as of now no separate one for php-mapi (at least that I know of).

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • tiredofit
          tiredofit last edited by

          Thanks for the response @fbbartels. I was able to get past the configure step yet fails on compilation with make (all of KC). I’ll spend some time to see if I can decouple it from the makefile and report back. Also a great challenge to see if I can get KC to compile on a musl based system :)

          1 Reply Last reply Reply Quote 1
          • jengelh
            jengelh Banned last edited by

            php-mapi exposes functionality of libkcinetmapi, which is based on vmime, so there are no shortcuts. Moving it into a separate repo would do no good.

            1 Reply Last reply Reply Quote 0
            • tiredofit
              tiredofit last edited by

              Thanks for more insight @jengelh. So if I am to understand correctly, if I was to be able to have a working PHP-MAPI extension, I would need to compile all of Kopano Core, and split the php-mapi.so out to be used for a seperate web based solution (let’s say a Docker container). I suppose I was hoping to be able to put together a build and break it out into seperate packages similar to how I see your nightly build system operating with a php-mapi style deb (only under Alpine).

              I encountered numerous issues with building with a musl based system so I may have to just revert to my plans to doing this under a debian based system.

              1 Reply Last reply Reply Quote 0
              • jengelh
                jengelh Banned last edited by

                Looks trivial enough to me to fix… hold the beer.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post