"성공적으로"마친 내 OS X Leopard (10.5.8) 용 MacPorts 설치 프로그램 (2.0.3)을 실행했습니다. 안타깝게도 port 명령을 사용할 수 없었기 때문에 설치 프로그램이 필요한 환경 변수를 설정하는 소위 "postflight"스크립트를 실행해야한다고 MacPorts Guide에서 살펴 보았습니다. 나는 (내가 here에서 다운로드 한) 수동으로 postflight 스크립트를 실행하려고했으나 실행은 다음과 같은 출력 실패 :MacPorts 설치 - 쉘 명령/Postflight 스크립트
Detected the bash shell.
Your shell already has the right PATH environment variable for use with
MacPorts!
Your shell already has the right MANPATH environment variable for use with
MacPorts!
Your shell already has the right DISPLAY environment variable for use with
MacPorts!
Adding [default] tag to sources.conf if needed...
couldn't read file "/Contents/Resources/upgrade_sources_conf_default.tcl": no
such file or directory
Updating port image format...
couldn't read file "/Contents/Resources/images_to_archives.tcl": no such file or
directory
Synchronizing the MacPorts installation with the project's rsync server...
-bash: __PREFIX__/bin/port: No such file or directory
An attempt to synchronize your recent MacPorts installation with the project's
rsync server failed!
Please run 'sudo port -d selfupdate' manually to find out the cause of the
error.
You have succesfully installed the MacPorts system, launch a terminal and try it
out!
Read the port(1) manual page and http://guide.macports.org for help,
http://www.macports.org/contact.php if you need to get in touch with The
MacPorts Project.
어떤 아이디어? 그 (도움말 텍스트 등) 합리적인 뭔가 다시 온다면 그때는 당신의 $PATH
가 현재 쉘에서 사용하지 않는 것이 단지
$ /opt/local/bin/port help
: