Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#28977 closed defect (invalid)

Installer 1.9.2 system incomplete or misconfigured

Reported by: thomas.m.sutter@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

xinitrc.info (545 bytes) - added by thomas.m.sutter@… 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by thomas.m.sutter@…

Attachment: xinitrc.info added

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Component: portsbase

So do you have a working /usr/bin/uname and /usr/bin/sed or not?

comment:2 in reply to:  1 Changed 13 years ago by thomas.m.sutter@…

Replying to 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

comment:3 Changed 13 years ago by jmroot (Joshua Root)

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.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

It is not supported to have anything in either /usr/local or /sw while using MacPorts; these things can interfere with MacPorts.

comment:6 in reply to:  3 Changed 13 years ago by thomas.m.sutter@…

Replying to 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?

comment:7 in reply to:  5 Changed 13 years ago by thomas.m.sutter@…

Replying to 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?

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

Resolution: invalid
Status: newclosed

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.

comment:9 Changed 13 years ago 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.

Note: See TracTickets for help on using tickets.