[MacPorts] #25952: install mysql5-server install fails in snow leopard
#25952: install mysql5-server install fails in snow leopard ---------------------------------------+------------------------------------ Reporter: michael.overlin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ---------------------------------------+------------------------------------ I recently upgraded from OS/X 10.5.8 to 10.6.3. I was attempting to follow the snow leopard ports migration guide. I had executed the following commands. port -f uninstall installed port clean --work --archive all I was able to successfully install a number of other ports, such as gimp and mplayer-devel. port install mysql5-server failed with the following messages: sh-3.2# port install mysql5-server ---> Computing dependencies for mysql5-server ---> Dependencies to be installed: mysql5 ---> Configuring mysql5 ---> Building mysql5 ---> Staging mysql5 into destroot ---> Installing mysql5 @5.1.48_1 The MySQL client has been installed. If you also want a MySQL server, install the mysql5-server port. ---> Activating mysql5 @5.1.48_1 ---> Cleaning mysql5 ---> Installing mysql5-server @5.1.48_1 ****************************************************** * In order to setup the database, you might want to run * sudo -u _mysql mysql_install_db5 * if this is a new install ****************************************************** ---> Activating mysql5-server @5.1.48_1 Error: Target org.macports.activate returned: could not create new link "/opt/local/var/run/mysql5/.turd_mysql5-server": that path already exists Log for mysql5-server is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5-server/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> I've attached the "main.log" file from the error message above. -- Ticket URL: <http://trac.macports.org/ticket/25952> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25952: install mysql5-server install fails in snow leopard ---------------------------------------+------------------------------------ Reporter: michael.overlin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ---------------------------------------+------------------------------------ Comment(by michael.overlin@…): I seem to have solved my problem. I discovered /opt/local/var/run was a link to /opt/local/var/db , so I removed /opt/local/var/run and ran port install mysql5-server. I then deleted the /opt/local/var/run which port created, and put back the link /opt/local/var/run -> /opt/local/var/db and everything seems to work so far. -- Ticket URL: <http://trac.macports.org/ticket/25952#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25952: install mysql5-server install fails in snow leopard ----------------------------------------+----------------------------------- Reporter: michael.overlin@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: mysql5-server | ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid * port: => mysql5-server Old description:
I recently upgraded from OS/X 10.5.8 to 10.6.3.
I was attempting to follow the snow leopard ports migration guide. I had executed the following commands.
port -f uninstall installed port clean --work --archive all
I was able to successfully install a number of other ports, such as gimp and mplayer-devel.
port install mysql5-server failed with the following messages:
sh-3.2# port install mysql5-server ---> Computing dependencies for mysql5-server ---> Dependencies to be installed: mysql5 ---> Configuring mysql5 ---> Building mysql5 ---> Staging mysql5 into destroot ---> Installing mysql5 @5.1.48_1 The MySQL client has been installed. If you also want a MySQL server, install the mysql5-server port. ---> Activating mysql5 @5.1.48_1 ---> Cleaning mysql5 ---> Installing mysql5-server @5.1.48_1 ****************************************************** * In order to setup the database, you might want to run * sudo -u _mysql mysql_install_db5 * if this is a new install ****************************************************** ---> Activating mysql5-server @5.1.48_1 Error: Target org.macports.activate returned: could not create new link "/opt/local/var/run/mysql5/.turd_mysql5-server": that path already exists Log for mysql5-server is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5-server/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I've attached the "main.log" file from the error message above.
New description: I recently upgraded from OS/X 10.5.8 to 10.6.3. I was attempting to follow the snow leopard ports migration guide. I had executed the following commands. {{{ port -f uninstall installed port clean --work --archive all }}} I was able to successfully install a number of other ports, such as gimp and mplayer-devel. {{{port install mysql5-server}}} failed with the following messages: {{{ sh-3.2# port install mysql5-server ---> Computing dependencies for mysql5-server ---> Dependencies to be installed: mysql5 ---> Configuring mysql5 ---> Building mysql5 ---> Staging mysql5 into destroot ---> Installing mysql5 @5.1.48_1 The MySQL client has been installed. If you also want a MySQL server, install the mysql5-server port. ---> Activating mysql5 @5.1.48_1 ---> Cleaning mysql5 ---> Installing mysql5-server @5.1.48_1 ****************************************************** * In order to setup the database, you might want to run * sudo -u _mysql mysql_install_db5 * if this is a new install ****************************************************** ---> Activating mysql5-server @5.1.48_1 Error: Target org.macports.activate returned: could not create new link "/opt/local/var/run/mysql5/.turd_mysql5-server": that path already exists Log for mysql5-server is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5-server/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} I've attached the "main.log" file from the error message above. -- -- Ticket URL: <http://trac.macports.org/ticket/25952#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25952: install mysql5-server install fails in snow leopard ----------------------------------------+----------------------------------- Reporter: michael.overlin@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: mysql5-server | ----------------------------------------+----------------------------------- Comment(by ryandesign@…): /opt/local/var/run is not supposed to be a symlink; you should leave it as a directory so MacPorts can put files there like it wants to. -- Ticket URL: <http://trac.macports.org/ticket/25952#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts