-
Notifications
You must be signed in to change notification settings - Fork 27
[dev.icinga.com #1732] Won't compile on FreeBSD #687
Comments
Updated by sag47 on 2011-07-19 18:19:25 +00:00 I forgot to give distro specific information.
|
Updated by mfriedrich on 2011-07-19 18:34:25 +00:00 those files are created within configure (recheck and run 'make distclean', they are gone). the root cause would be a wrong detection of CFLAGS during configure run. |
Updated by sag47 on 2011-07-19 19:58:14 +00:00 I did make distclean several times during my troubleshooting of trying to figure out what the root of the problem was. Even now it still does it on my FreeBSD 8 machine. |
Updated by mfriedrich on 2011-07-19 20:34:58 +00:00 make distclean isn't the solution either - as said it's within the configure itsself. you might consider patching configure.in and creating a new one with autoconf and see if it works as expected. i don't have any freebsd for icinga available currently nor do i have a vm for that. |
Updated by mfriedrich on 2011-07-19 20:35:11 +00:00
|
Updated by sag47 on 2011-07-19 20:54:10 +00:00
I made a patch for configure.in
|
Updated by sag47 on 2011-07-19 20:55:34 +00:00 After patching Icinga 1.4.2 stable it now works as intended on FreeBSD 8. |
Updated by mjbrooks on 2011-07-19 23:47:20 +00:00
Just pushed the change to mbrooks/core which is based off of test/core so your patch probably wouldn't apply (I didn't even try), but I was able to zero in on the line thanks to your investigations. Much appreciated. I don't currently have a FreeBSD setup either... I should probably add it to my VM stockpile. dnsmichi: I'll leave it to you to mark this resolved once you've merged it. I'm trying not to step on your toes, but thought making the change for you would be helpful ;^) |
Updated by sag47 on 2011-08-01 15:40:33 +00:00 Apparently this is a bug again. Here is a direct quote from the mailing list. Message: 1 Seems to be a typo, tobemerged, thx.Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. Evgeniy Isaev <isaev.evgeniy@gmail.com> schrieb: Hello. cd ./base && gmake Typo in this commit: https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=ba1ce79f4335d49f9e77c96d4365598bc1562899 This patch solves this problem (copy of patch in attach): --- configure.orig 2011-07-21 10:53:19.000000000 +0600 **+ configure 2011-07-21 10:17:00.000000000 +0600
*) -------------- next part -------------- |
Updated by mfriedrich on 2011-08-01 16:32:20 +00:00 yeah another user sent that to me too. but you can see in the git history that this already applied in upstream for 1.5.0 (one from matthew) so pls test either master or r1.5 branch - $ git checkout master ; git pull ; git checkout r1.5 |
Updated by mfriedrich on 2011-08-23 08:53:26 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/1732
Created by sag47 on 2011-07-19 18:18:01 +00:00
Assignee: (none)
Status: Resolved (closed on 2011-08-23 08:53:26 +00:00)
Target Version: 1.5
Last Update: 2011-08-23 08:53:26 +00:00 (in Redmine)
Just letting you guys know but there seems to be a problem when compiling Icinga 1.4.2 with IDOUtils on FreeBSD. I had previously compiled Icinga 1.3 successfully and double checked all prerequisites with the new Icinga.
I ran the following configure command.
When I attempt to compile I get the following error.
I analyzed the make file and here is the definition for CFLAGS (only problem shown).
It should be the following:
I ran a search command to see what files are affected.
So to fix the problem I ran the following command.
After that everything compiled successfully.
Attachments
Changesets
2011-07-19 23:33:27 +00:00 by (unknown) 90e7d7c
The text was updated successfully, but these errors were encountered: