Opened 16 years ago

Closed 16 years ago

#2908 closed defect (fixed)

BUG: mysql5 fails to install

Reported by: paul@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:


During a "port -v install mysql5", the error at the bottom of this message is returned. I am running the latest cvs copy of darwinports and the dports repository. This occurred on both hosts that I tried.

Making install in server-tools Making install in instance-manager

test -z "/usr/local/libexec"
mkdir -p -- . "/usr/dports/databases/mysql5/work/destroot/usr/local/


/bin/sh ../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysqlmanager' '/usr/

dports/databases/mysql5/work/destroot/usr/local/libexec/mysql5manager' /usr/bin/install -c mysqlmanager /usr/dports/databases/mysql5/work/destroot/usr/local/libexec/ mysql5manager make[3]: Nothing to be done for `install-data-am'. make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Error: Target returned: error deleting "/usr/dports/databases/mysql5/work/ destroot/usr/local/mysql-test/r": file already exists Warning: the following items did not execute (for mysql5):

Attachments (1)

logfile.txt (51.7 KB) - added by paul@… 16 years ago.
port destroot mysql5 -vd output

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 years ago by snu@…

Owner: changed from darwinports-bugs@… to mww@…
severity: criticalnormal
Summary: databases/mysql5 fails to installBUG: mysql5 fails to install

comment:2 Changed 16 years ago by mww@…

  1. It is considered a very bad idea to use /usr/local as prefix for DarwinPorts and is especially

harmful, if you install other 3rd party software that will then clash with installed ports

  1. could you provide me with a full log of the error? ("port destroot mysql5 -vd > logfile.txt 2>&1")

Changed 16 years ago by paul@…

Attachment: logfile.txt added

port destroot mysql5 -vd output

comment:3 Changed 16 years ago by paul@…

Perhaps /usr/local isn't an ideal location to install, but it still should work :-)

comment:4 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

replaced the choking "file delete.." with a system "rm -rf .."

Note: See TracTickets for help on using tickets.