Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #2349] change default target location of idomod.o from $bindir to $libdir #292

Closed
icinga-migration opened this issue Feb 23, 2012 · 7 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/2349

Created by mfriedrich on 2012-02-23 21:19:25 +00:00

Assignee: Wolfgang
Status: Resolved (closed on 2012-05-05 10:10:54 +00:00)
Target Version: 1.7
Last Update: 2012-05-05 10:10:54 +00:00 (in Redmine)


given the change in #2346, possibly ALL docs as well as howtos need to be updated.

as well as packagers should be made aware of that change.

please wait for the docs change until testers report ok.


Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-04-17 17:53:26 +00:00

ready to go.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-04-30 16:36:32 +00:00

locations need to be changed, as well as the hint of the changed location itsself.

~/coding/icinga/icinga-doc $ grep -r 'idomod\.o' *
de/configido.xml:    path          /usr/local/icinga/bin/idomod.o
de/quickstart-idoutils-freebsd.xml:    icinga.log:  Error: Module ‘/usr/local/icinga/bin/idomod.o’ is using an old or unspecified version of the event broker API. Module will
de/quickstart-idoutils-freebsd.xml: Event broker module ‘/usr/local/icinga/bin/idomod.o’ deinitialized successfully. Mehr Informationen zu diesem Fehler finden Sie
de/quickstart-idoutils-freebsd.xml:        path           &url-icinga-base;/bin/idomod.o
de/quickstart-idoutils.xml:    des Icinga Kerns mit Hilfe von idomod.o, da eine Verwendung einer temporären Kopie explizit verhindert werden soll. Dies ist nützlich
de/quickstart-idoutils.xml:        path           &url-icinga-base;/bin/idomod.o
de/objectdefinitions.xml:        path           /usr/local/icinga/bin/idomod.o
en/configido.xml:    path          /usr/local/icinga/bin/idomod.o
en/configmain.xml:          broker_module=&url-icinga-base;/bin/idomod.o \
en/quickstart-idoutils-freebsd.xml:    icinga.log:  Error: Module ‘/usr/local/icinga/bin/idomod.o’ is using an old or unspecified version
en/quickstart-idoutils-freebsd.xml: Event broker module ‘/usr/local/icinga/bin/idomod.o’ deinitialized successfully. More details on this error can be found idomod.o directly
en/quickstart-idoutils.xml:        path           &url-icinga-base;/bin/idomod.o
en/objectdefinitions.xml:        path           /usr/local/icinga/bin/idomod.o
fr/quickstart-idoutils.xml:   broker_module=&url-icinga-base;/bin/idomod.o config_file=&url-icinga-base;/etc/idomod.cfg

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-04-30 16:37:39 +00:00

should be combined with #2559

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-04-30 16:38:18 +00:00

  • Category set to IDOUtils
  • Status changed from New to Assigned
  • Assigned to set to Wolfgang
  • Priority changed from Normal to High

@icinga-migration
Copy link
Author

Updated by Wolfgang on 2012-04-30 21:32:24 +00:00

  • Done % changed from 0 to 30

changed idomod.o to idomod.so in r1.7

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-05-01 07:12:30 +00:00

thx. but the location points still to bin/ instead of lib/ - this must be changed as well.

in order to understand - try current git and run make install-idoutils.

$ sudo make install-idoutils
make[1]: Entering directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils'
cd ./src/ && make install
make[2]: Entering directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils/src'
Going to uninstall old idomod.o in /usr/local/icinga/bin/idomod.o ...
rm -f /usr/local/icinga/bin/idomod.o
Resuming with install...
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/bin
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/lib
/usr/bin/install -c -m 774 -o icinga -g icinga ido2db /usr/local/icinga/bin
/usr/bin/install -c -m 774 -o icinga -g icinga log2ido /usr/local/icinga/bin
/usr/bin/install -c -m 774 -o icinga -g icinga idomod.so /usr/local/icinga/lib
make[2]: Leaving directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils/src'
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/etc
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/etc/objects
/usr/bin/install -c -m 775 -o icinga -g icinga -d /usr/local/icinga/etc/modules
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/ido2db.cfg-sample /usr/local/icinga/etc
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/idomod.cfg-sample /usr/local/icinga/etc
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/idoutils.cfg-sample /usr/local/icinga/etc/modules
/usr/bin/install -c -b -m 664 -o icinga -g icinga config/ido2db_check_proc.cfg /usr/local/icinga/etc/objects/ido2db_check_proc.cfg
make[1]: Leaving directory `/home/dnsmichi/coding/icinga/icinga-core/module/idoutils'

*** IDOUtils installed ***

!!! ATTENTION !!!
        idomod.o was renamed to idomod.so, module extension is now .so
        idomod.so will now be installed to /usr/local/icinga/lib 
!!! ATTENTION !!!

Please check Changelog - CHANGES for more information!

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-05-05 10:10:54 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 30 to 100

thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant