#13421 closed defect (fixed)
mysql5 makes relative links in /opt/local/bin
Reported by: | branson@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | mysql, cpan, | Cc: | jyrkiwahlstedt |
Port: | mysql5, mysql5-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
This breaks several things like CPAN which require authoritative links.
My solution was:
cd /opt/local/lib/mysql5/bin; for a in * ; for > ln -sf /opt/local/lib/mysql5/bin/$a /opt/local/bin/$a
Change History (8)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Milestone: | → Port Bugs |
comment:2 Changed 17 years ago by jmroot (Joshua Root)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
I need more information to deal with this ticket. What is the cpan command you are running, and what is the error message that you get? What version of Mac OS X and Xcode do you have, can you reproduce it with the current version of MacPorts, what kind of Mac do you have?
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jwa@… added |
---|---|
Port: | mysql5 mysql5-devel added |
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Are you sure the problem was relative vs. absolute symlinks? Because your proposed solution of ln -sf /opt/local/lib/mysql5/bin/$a /opt/local/bin/$a
does not do the equivalent of what is in the Portfile. What the Portfile does is the equivalent of ln -sf /opt/local/lib/mysql5/bin/$a /opt/local/bin/$a5
-- note the "5" at the end of every link in /opt/local/bin. Can you please show me exactly the error message you're encountering, and what I need to type here to see it on my system?
comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing due to lack of feedback.
Hmm. We use relative symlinks all over MacPorts and they seem nice to me.
What is the error message that you receive?