Hi,

I'm trying to compile icinga2's source on Solaris 10. I've installed the
following prerequisites and some more:

   - boost.1.54.0.i86pc.Solaris.10.pkg
   - cmake.2.8.4.i86pc.Solaris.10.pkg
   - curl.7.37.1.i86pc.Solaris.10.pkg
   - cyrus-sasl.2.1.26.i86pc.Solaris.10.pkg
   - expat.2.1.0.i86pc.Solaris.10.pkg
   - flex.2.5.37.i86pc.Solaris.10.pkg
   - gettext.0.19.1.i86pc.Solaris.10.pkg
   - libarchive.2.8.4.i86pc.Solaris.10.pkg
   - libgd.2.0.35.i86pc.Solaris.10.pkg
   - libiconv.1.14.i86pc.Solaris.10.pkg
   - libssh2.1.4.3.i86pc.Solaris.10.pkg
   - lzma.4.32.7.i86pc.Solaris.10.pkg
   - openldap.2.4.35.i86pc.Solaris.10.pkg
   - openssl.1.0.1j.i86pc.Solaris.10.pkg
   - pcre.8.32.i86pc.Solaris.10.pkg
   - wget.1.16.i86pc.Solaris.10.pkg
   - zlib.1.2.8.i86pc.Solaris.10.pkg

I've ran the following:

   - /usr/local/bin/cmake -DICINGA2_WITH_MYSQL=OFF
   -DFLEX_EXECUTABLE=/usr/local/bin/flex .

And then tried to compile it using gmake command but I'm getting the
following error:

Linking C shared library ../../Bin/Release/libmmatch.so
ld: fatal: unrecognized option '--'
ld: fatal: use the -z help option for usage information
collect2: ld returned 1 exit status
gmake[2]: *** [Bin/Release/libmmatch.so] Error 1
gmake[1]: *** [third-party/mmatch/CMakeFiles/mmatch.dir/all] Error 2
gmake: *** [all] Error 2

Please help me understand what am I doing wrong :)


Thank you,
Dennis.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to