Hello.
I tried compile Stalwart mail server on OmniOS and was stuck jemallocator.
Problem 1: configure script fails with message:
Invalid configuration 'x86_64-unknown-illumos': OS 'illumos' not recognized
configure: error: /bin/sh ./build-aux/config.sub x86_64-unknown-illumos failed
If I launch configure directly from jemallocator source code folder config.guess determine system type as x86_64-pc-solaris2.11 and problem 2 is appears .
Problem 2: configure script fails with message:
cannot determine return type of strerror_r
This error caused by CFLAG -herror_on_warning which is illegal for linker in Solaris. Error actually is:
ld: fatal: soname option (-h, -soname) is incompatible with building a dynamic executable
ld: fatal: flags processing errors
If I unset -herror_on_warning by ugly hacks than jemallocator will build successfully at least... But I can't build customised crate with Stalwart. It always remove old source code and takes unchanged from a cache.
And good news is jemallocator can be built on OmniOS. :)
Can you help me?
Hello.
I tried compile Stalwart mail server on OmniOS and was stuck jemallocator.
Problem 1: configure script fails with message:
If I launch configure directly from jemallocator source code folder config.guess determine system type as x86_64-pc-solaris2.11 and problem 2 is appears .
Problem 2: configure script fails with message:
This error caused by CFLAG
-herror_on_warningwhich is illegal for linker in Solaris. Error actually is:If I unset
-herror_on_warningby ugly hacks than jemallocator will build successfully at least... But I can't build customised crate with Stalwart. It always remove old source code and takes unchanged from a cache.And good news is jemallocator can be built on OmniOS. :)
Can you help me?