Icinga / icinga-reports

Icinga Reports 1.x MySQL (EOL 31.12.2018)
GNU General Public License v2.0
14 stars 13 forks source link

[dev.icinga.com #4153] MySQL Connector installation fails on non-bundled JasperServer installations #57

Closed icinga-migration closed 11 years ago

icinga-migration commented 11 years ago

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

Created by decibel83 on 2013-05-08 11:10:16 +00:00

Assignee: mfriedrich Status: Resolved (closed on 2013-10-02 23:13:45 +00:00) Target Version: 1.10 Last Update: 2013-10-02 23:13:45 +00:00 (in Redmine)

Icinga Version: 1.9.0
DB Type: MySQL
DB Version: 5.5.31
Jasper Version: 5.0.0

The installation of the MySQL connector during the icinga-reports installation fails because it does not find the $(JASPER_SERVER)/apache-tomcat/lib directory on non-bundled JasperServer installations.

Icinga-reports configured as follow:

# ./configure --with-jasper-server=/var/lib/tomcat7/webapps/jasperserver/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for jasperserver... configure: creating ./config.status
config.status: creating Makefile

Installation of the MySQL Connector fails:

# make install-mysql-connector 

*** Installing JDBC driver for MySQL 5.1.18 to your jasper server.....***
/usr/bin/install: cannot create regular file `/var/lib/tomcat7/webapps/jasperserver//apache-tomcat/lib': No such file or directory
make: *** [install-mysql-connector] Error 1

I checked the bug https://dev.icinga.org/issues/2783 which is on the same problem but on the old version of Icinga-reports, but now this bug seems to be present again.

Changesets

2013-10-02 23:13:22 +00:00 by (unknown) 332d47cf7d035289a6bc9e5ce90d76e7349eeaee

fix MySQL Connector installation fails on non-bundled JasperServer installations

fixes #4153
icinga-migration commented 11 years ago

Updated by mfriedrich on 2013-05-08 11:28:26 +00:00

icinga-migration commented 11 years ago

Updated by mfriedrich on 2013-10-01 12:21:09 +00:00

icinga-migration commented 11 years ago

Updated by mfriedrich on 2013-10-02 23:13:04 +00:00

the old bug seems to be unrelated since there was no configure at that time. still, the makefile should first create the directory where it is installing to. added the target dir to stdout as well.

icinga-migration commented 11 years ago

Updated by Anonymous on 2013-10-02 23:13:45 +00:00

Applied in changeset 332d47cf7d035289a6bc9e5ce90d76e7349eeaee.