[monit-dev] how to build monit in OpenIndiana

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[monit-dev] how to build monit in OpenIndiana

Sandy Wong



_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] how to build monit in OpenIndiana

martinp@tildeslash.com
Hello,

if you have some specific problems during the compilation, please provide details.

OpenIndiana will be probably similar to Nevada/Solaris11 … you need, gmake, gccc and can compile it like this:

wget http://www.mmonit.com/monit/dist/monit-5.2.5.tar.gz
gtar -xzf monit-5.2.5.tar.gz
cd monit-5.2.5
CFLAGS='-m64' LDFLAGS='-m64' ./configure --with-ssl-lib-dir=/lib
gmake
gmake install


Regards,
Martin
_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] how to build monit in OpenIndiana

Sandy Wong
Hi,

After try the below command, the cross compiling issues as below:

configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.


On Thu, 2011-08-25 at 09:01 +0200, Martin Pala wrote:

> Hello,
>
> if you have some specific problems during the compilation, please provide details.
>
> OpenIndiana will be probably similar to Nevada/Solaris11 … you need, gmake, gccc and can compile it like this:
>
> wget http://www.mmonit.com/monit/dist/monit-5.2.5.tar.gz
> gtar -xzf monit-5.2.5.tar.gz
> cd monit-5.2.5
> CFLAGS='-m64' LDFLAGS='-m64' ./configure --with-ssl-lib-dir=/lib
> gmake
> gmake install
>
>
> Regards,
> Martin
> _______________________________________________
> monit-dev mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/monit-dev



_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] how to build monit in OpenIndiana

martinp@tildeslash.com
please provide more details about your platform and also config.log … is it x86 or x64 machine or something different? You try to crosscompile monit for some other architecture? what compiler do you use?

i cannot help without detailed description of your problem and the environment



On Aug 25, 2011, at 11:02 AM, Sandy Wong wrote:

> Hi,
>
> After try the below command, the cross compiling issues as below:
>
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use '--host'.
>
>
> On Thu, 2011-08-25 at 09:01 +0200, Martin Pala wrote:
>> Hello,
>>
>> if you have some specific problems during the compilation, please provide details.
>>
>> OpenIndiana will be probably similar to Nevada/Solaris11 … you need, gmake, gccc and can compile it like this:
>>
>> wget http://www.mmonit.com/monit/dist/monit-5.2.5.tar.gz
>> gtar -xzf monit-5.2.5.tar.gz
>> cd monit-5.2.5
>> CFLAGS='-m64' LDFLAGS='-m64' ./configure --with-ssl-lib-dir=/lib
>> gmake
>> gmake install
>>
>>
>> Regards,
>> Martin
>> _______________________________________________
>> monit-dev mailing list
>> [hidden email]
>> https://lists.nongnu.org/mailman/listinfo/monit-dev
>
>
>
> _______________________________________________
> monit-dev mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/monit-dev


_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev