Opened 17 years ago

Closed 8 years ago

Last modified 8 years ago

#13707 closed defect (worksforme)

MacPorts installer should warn if /opt is not a directory

Reported by: martin.streicher@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: installer Cc:
Port:

Description

My machine had a symbolic link named /opt, which pointed to a non-existent directory named /private/opt. When I tried to install MacPorts, the preflight script failed to create /opt and so the install failed. Perhaps an error message would be helpful, if /opt wasn't a true directory.

Change History (6)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Component: portsbase

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

/opt should not be a symlink. But it seems that CiscoVPN versions before 4.9 did appropriate /opt and make it a symlink pointing to /private/opt. We had a FAQ entry about this but it was removed in 2006 because it was thought to no longer be relevant for current versions of the Cisco software.

Apologies for the unprofessional language in this FAQ entry; it's old documentation that has already been deleted from the current FAQ, but I bring it up because it seems relevant to this ticket.

FAQ

comment:3 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:4 in reply to:  2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

/opt should not be a symlink.

What I meant to say was that in a standard MacPorts install, nothing would cause /opt to be a symlink. There shouldn't be anything wrong with the user choosing to make /opt a symlink if desired, except that this is now broken with MacPorts 1.8.0.

comment:5 Changed 8 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: newclosed

I doubt this is still relevant.

comment:6 Changed 8 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.