-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #6881] make install does not install the db-schema #1873
Comments
Updated by mfriedrich on 2014-08-11 17:53:51 +00:00
Imho packagers should decide whether they want to install it, or not. Source installs are not recommended, as there are packages for many distributions out there already. These should be used in the first place, rather than installing the source yourself. For the issue itself - got a patch? |
Updated by bebehei on 2014-08-11 18:51:03 +00:00 dnsmichi wrote:
|
Updated by mfriedrich on 2014-08-11 19:04:39 +00:00
bebehei wrote:
Are you maintaining 1.x as well, or is that a different person? I'm asking just because all upstream packagers are invited to join the icinga team for better communication and idea exchange (and we don't have any Archlinux packagers currently - https://www.icinga.org/community/team/team-packaging/). If you're interested, just send a short "whoami-apply-as-archlinux-pkger" to info(at)icinga.org and we'll handle the rest :)
Hmm, yeah, well. Existing packages copying that manually should be changed then. At least RHEL/SUSE rpmbuild will fail once there are installed but not packaged files around. So it affects the packages themselves, rather than db_ido only. |
Updated by bebehei on 2014-08-12 12:13:23 +00:00 dnsmichi wrote:
I'm not maintaining 1.x. According to AUR Afwas is maintaining it. I don't know him/her. I'm neither a Arch Trusted User neither I add official packages to the Arch-repo. I don't want to be considered as an Arch-packager. The AUR is quite similar to monitoringexchange.org where you upload your scripts and others download the PKGBUILD, execute it and have a finished package. But surprisingly, the AUR-Package is already linked on the icinga-download-page. |
Updated by bebehei on 2014-08-12 12:18:26 +00:00 dnsmichi wrote:
install( ... and respectively for pgsql this to components/db_ido_pgsql/CMakeLists.txt: But then you have the "problem" that the schemas are copied by "make install", what you don't like as you said earlier. |
Updated by gbeutner on 2014-08-17 11:21:29 +00:00
|
Updated by gbeutner on 2014-08-17 11:39:00 +00:00
Applied in changeset 3da5568. |
Updated by gbeutner on 2014-08-17 11:39:21 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/6881
Created by bebehei on 2014-08-11 17:14:33 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2014-08-17 11:39:00 +00:00)
Target Version: 2.1.0
Last Update: 2014-08-17 11:39:21 +00:00 (in Redmine)
Hi,
when I run the code to compile and install icinga2, the schema-files for mysql and postresql are not exported into the installation directory.
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DICINGA2_USER=icinga \
-DICINGA2_GROUP=icinga \
-DICINGA2_COMMAND_USER=icinga \
-DICINGA2_COMMAND_GROUP=icingacmd \
-DICINGA2_PLUGIN_DIR=/usr/share/nagios/libexec \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/ \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DICINGA2_SYSCONFIGFILE=/etc/default/icinga2 \
-DUSE_SYSTEMD=ON
make -j 16
make DESTDIR=/tmp/icinga install
The command "find /tmp/icinga | grep schem" won't find any schema-file.
I don't know if it will be considered as a bug, but I think it is probably a good thing if there is an option to export/install the schemas with something like make install or with make install_pdo_mysql.
Changesets
2014-08-17 11:37:50 +00:00 by gbeutner 3da5568
The text was updated successfully, but these errors were encountered: