[MacPorts] #28977: Installer 1.9.2 system incomplete or misconfigured
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ I'm trying to install Macports 1.9.2 with the .pkg for Leopard. I'm running OSx 10.5.8, have x11 3.1.4 installed (with UNIX option and x11SDK), and I've modified the path with /opt/local/bin:/opt/local/sbin at the beginning. The .bashrc and .bash_profile have been removed so .profile has precedence. When I run the package installer, the following error occurs: 'Either uname or sed could not be found in PATH. Your system appears to be incomplete or misconfigured.' It looks like I've verified the shell env properly, all variables are the same as the example over on the trac install wiki except for: TERM_PROGRAM_VERSION=240.2 __CF_USER_TEXT_ENCODING=0x1F5:0:0 I'm not able to have the MacPorts paths imported into X11 sessions because /etc/X11/ does not exist, so I can't add 'source ~/.profile' to the xinitrc file. The only 'xinitrc' file on the machine is in /sw/fink/10.4/stable/main/finkinfo/x11, and is attached. Thanks for your help. -- Ticket URL: <https://trac.macports.org/ticket/28977> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Changes (by jmr@…): * component: ports => base Comment: So do you have a working /usr/bin/uname and /usr/bin/sed or not? -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Comment(by thomas.m.sutter@…): Replying to [comment:1 jmr@…]:
So do you have a working /usr/bin/uname and /usr/bin/sed or not? Yes, /usr/local/bin/sed and /usr/bin/uname both work, both are in path.
$PATH = /opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Comment(by jmr@…): That's not quite the answer to the question I asked. I take it that means you don't have /usr/bin/sed? The PATH in your shell is irrelevant BTW. -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Description changed by ryandesign@…: Old description:
I'm trying to install Macports 1.9.2 with the .pkg for Leopard. I'm running OSx 10.5.8, have x11 3.1.4 installed (with UNIX option and x11SDK), and I've modified the path with /opt/local/bin:/opt/local/sbin at the beginning. The .bashrc and .bash_profile have been removed so .profile has precedence.
When I run the package installer, the following error occurs: 'Either uname or sed could not be found in PATH. Your system appears to be incomplete or misconfigured.'
It looks like I've verified the shell env properly, all variables are the same as the example over on the trac install wiki except for: TERM_PROGRAM_VERSION=240.2 __CF_USER_TEXT_ENCODING=0x1F5:0:0
I'm not able to have the MacPorts paths imported into X11 sessions because /etc/X11/ does not exist, so I can't add 'source ~/.profile' to the xinitrc file. The only 'xinitrc' file on the machine is in /sw/fink/10.4/stable/main/finkinfo/x11, and is attached.
Thanks for your help.
New description: I'm trying to install Macports 1.9.2 with the .pkg for Leopard. I'm running OSx 10.5.8, have x11 3.1.4 installed (with UNIX option and x11SDK), and I've modified the path with /opt/local/bin:/opt/local/sbin at the beginning. The .bashrc and .bash_profile have been removed so .profile has precedence. When I run the package installer, the following error occurs: {{{ 'Either uname or sed could not be found in PATH. Your system appears to be incomplete or misconfigured.' }}} It looks like I've verified the shell env properly, all variables are the same as the example over on the trac install wiki except for: {{{ TERM_PROGRAM_VERSION=240.2 __CF_USER_TEXT_ENCODING=0x1F5:0:0 }}} I'm not able to have the MacPorts paths imported into X11 sessions because /etc/X11/ does not exist, so I can't add 'source ~/.profile' to the xinitrc file. The only 'xinitrc' file on the machine is in /sw/fink/10.4/stable/main/finkinfo/x11, and is attached. Thanks for your help. -- -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Comment(by ryandesign@…): It is not supported to have anything in either /usr/local or /sw while using MacPorts; these things can interfere with MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Comment(by thomas.m.sutter@…): Replying to [comment:3 jmr@…]:
That's not quite the answer to the question I asked. I take it that means you don't have /usr/bin/sed? The PATH in your shell is irrelevant BTW.
Yes you are correct. I do not have a /usr/bin/sed. It looks like the /usr/bin/local/sed was added when I compiled gnuplot 4.0.0 from source. /usr/local was built either by gnuplot or some LaTeX utilities. Do I need to reinstall OS 10.5.8 and Xcode to get the properly configured /usr/bin/sed, then install gnuplot, etc from MacPorts? -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ---------------------------------------+------------------------------------ Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ---------------------------------------+------------------------------------ Comment(by thomas.m.sutter@…): Replying to [comment:5 ryandesign@…]:
It is not supported to have anything in either /usr/local or /sw while using MacPorts; these things can interfere with MacPorts.
Everything in /usr/local is from a fink or gnuplot install. I should be able to wipe those. /sw was written by apple before I purchased, right before 10.5.4 released (june 26 '08). Does a OS reinstall along with xcode reinstall fix this? I appologize for being a unix-newb-grad student. Maybe just hiking my ass to the apple store for a OS X 10.6 DVD would be the best bet? -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ----------------------------------------+----------------------------------- Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | ----------------------------------------+----------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: Yeah, you'll need to get /usr/bin/sed either from your install disc or from another machine with the same OS version as yours. You could probably grab just that file from the appropriate package (google for instructions). I'm told by pkgutil that sed comes from the BaseSystem package. -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28977: Installer 1.9.2 system incomplete or misconfigured ----------------------------------------+----------------------------------- Reporter: thomas.m.sutter@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: Port: | ----------------------------------------+----------------------------------- Comment(by thomas.m.sutter@…): When /usr/bin/sed was installed from the OS X install disc, and /usr/local was cleared out, Macports still would not install. Reinstalled OS X with 'Archive and Install', preserving user accounts. Macports installed and runs properly. Thanks for your help. -- Ticket URL: <https://trac.macports.org/ticket/28977#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts