Opened 11 years ago
Closed 7 years ago
#41937 closed defect (fixed)
Cacti port fails on Mavericks
Reported by: | palmj@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | jul_bsd@…, macports@… |
Port: | cacti |
Description
The Cacti port is dependent on the MySQL5 port, which will not install under Mavericks. However, this piece has been fixed, replaced with MySQL56. The Cacti port needs to be updated to the right MySQL.
Change History (8)
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Keywords: | cacti mysql 10.9 removed |
---|---|
Owner: | changed from macports-tickets@… to markd@… |
comment:2 Changed 11 years ago by jul_bsd@…
comment:3 follow-up: 4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jul_bsd@… added |
---|
Cacti doesn't require mysql on the local computer at all, does it? It just requires php*-mysql to be able to talk to a mysql server (which needn't be on the same computer). Seems like what the port needs is php variants, and in them a dependency on php*-mysql. Then the only remaining problem is that the instructions would need to be made more generic, since the instructions would not know which mysql binary the user has.
comment:4 Changed 11 years ago by palmj@…
All I can say is this is what happens when I try to install it, and it’s beyond my expertise to make it work. I have mysql56 installed, which is the one that works with Mavericks. I gather the official port file needs to be updated to depend on mysql56:
user$ sudo port install cacti Password: ---> Computing dependencies for cacti ---> Dependencies to be installed: mysql5 rrdtool intltool p5.16-getopt-long perl5.16 p5.16-pathtools p5.16-scalar-list-utils p5.16-xml-parser pango Xft2 fontconfig freetype cairo libpixman xorg-xcb-util gobject-introspection harfbuzz graphite2 tcl Portfile changed since last build; discarding previous state. ---> Fetching archive for mysql5 ---> Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/mysql5 ---> Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/mysql5 ---> Attempting to fetch mysql5-5.1.72_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/mysql5 ---> Fetching distfiles for mysql5 ---> Verifying checksums for mysql5 ---> Extracting mysql5 ---> Applying patches to mysql5 ---> Configuring mysql5 Error: Failed to configure mysql5, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log Error: org.macports.configure for port mysql5 returned: configure failure: command execution failed Error: Failed to install mysql5 Please see the log file for port mysql5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log Error: The following dependencies were not installed: mysql5 rrdtool intltool p5.16-getopt-long perl5.16 p5.16-pathtools p5.16-scalar-list-utils p5.16-xml-parser pango Xft2 fontconfig freetype cairo libpixman xorg-xcb-util gobject-introspection harfbuzz graphite2 tcl To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port cacti failed
comment:5 Changed 11 years ago by jul_bsd@…
@ryan
yes, cacti could be setup on a different system than mysql. After, I'm not sure that's the common setup, especially on mac environment. larger companies would probably use linux for their monitoring servers. I'm more to add an additional variant remotedb with no backend. After, there is still too choose which php: php52 53 54 55 -fpm For a basic setup, can list only variant php5X-mysql which will probably work against all servers mysql5x or mariadb/percona but not sure with which mysql5x it will goes For a clean setup, it would need combine variant php5x-mysql & mysql5x (default would be latest +php55-mysql +mysql56)... mess
@palmj mysql5 break is known, you can try Portfile patch in #43232 but it's still a work in progress
comment:6 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from markd@… to macports-tickets@… |
---|
markd has retired. See #44782.
comment:8 Changed 7 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
cacti port is dependend on mysql5 but it's up to the user to choose which mysql5: 5.1, 5.5, 5.6. macports policy here is leaving the user to choose as for php/perl and so on notes says php and mysql5 install are not covered.
I did some improvements on Portfile here #43232