[MacPorts] #41827: macports installation problem
#41827: macports installation problem --------------------------------+-------------------------------- Reporter: michellebsalazar@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: --------------------------------+-------------------------------- I installed macports by downloading the pkg and now I'm getting this error: -bash: port: command not found and cannot get macports to do anything. Plus I think I've corrupted some files. This is what's in the bash_profile: export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin -- Ticket URL: <https://trac.macports.org/ticket/41827> MacPorts <http://www.macports.org/> Ports system for OS X
#41827: macports installation problem ---------------------------------+-------------------------------- Reporter: michellebsalazar@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: | ---------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Old description:
I installed macports by downloading the pkg and now I'm getting this error: -bash: port: command not found and cannot get macports to do anything. Plus I think I've corrupted some files. This is what's in the bash_profile:
export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin
New description: I installed macports by downloading the pkg and now I'm getting this error: -bash: port: command not found and cannot get macports to do anything. Plus I think I've corrupted some files. This is what's in the bash_profile: {{{ export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin }}} -- Comment: In the future, please use WikiFormatting. Trac is not for tech support. Use the [https://lists.macosforge.org/mailman/listinfo/macports-users Macports Users mailing list] instead. Your path is not [http://guide.macports.org/chunked/installing.shell.html correctly setup for Macports]. -- Ticket URL: <https://trac.macports.org/ticket/41827#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41827: MacPorts package installer did not adjust bash PATH ---------------------------------+-------------------------------- Reporter: michellebsalazar@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------------+-------------------------------- Changes (by larryv@…): * status: closed => reopened * component: ports => base * resolution: invalid => Comment: The installer should have modified `.bash_profile`, though. Are those all the lines in your `.bash_profile` that mention `PATH`? Can you please provide the output of the following commands? {{{ $ echo $PATH $ /opt/local/bin/port usage }}} (By the way, we do not support using MacPorts [[FAQ#usrlocal|while other software is installed in /usr/local]]. We advise installing any such software using MacPorts instead; if we don’t have a port for a particular piece of software, feel free to [http://guide.macports.org/chunked/project.html#project.tickets.creating request one].) -- Ticket URL: <https://trac.macports.org/ticket/41827#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41827: MacPorts package installer did not adjust bash PATH ---------------------------------+-------------------------------- Reporter: michellebsalazar@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: worksforme | Keywords: Port: | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/41827#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts