[MacPorts] #13742: Installation with the package did not run the postflight script

MacPorts noreply at macports.org
Sun May 18 21:11:49 PDT 2008

#13742: Installation with the package did not run the postflight script
  Reporter:  mellonjasper at gmail.com  |       Owner:  jmpp at macports.org      
      Type:  defect                  |      Status:  new                    
  Priority:  Normal                  |   Milestone:  MacPorts base bugs     
 Component:  base                    |     Version:  1.6.0                  
Resolution:                          |    Keywords:  installation postflight
Comment (by neophi at mac.com):

 Replying to [ticket:13742 mellonjasper at gmail.com]:
 > I installed MacPorts on my iMac with leopard. I downloaded the package
 MacPorts-1.6.0.pkg and installed. The installation created the directories
 under /opt/local, but no .profile was create in my homedir. Therefore the
 port command did not work in a shell. I had to create a .profile myself.
 After that MacPorts worked fine.
 > The manual creation of a .profile file should not be necessary.

 I experienced the same issue described above.  After the MacPorts
 installation wizard was complete, there was no .profile.  I uninstalled
 MacPorts (as per the guide) and reinstalled but still same issue.  I found
 this ticket and downloaded/ran the postflight script posted by jmpp, and
 now the port command is working.

 Let me know if you would like me to post any install logs.  The issue was
 an Unknown Shell error like posted above by mellonjasper.

 {{{basename $SHELL}}} outputs bash.

Ticket URL: <http://trac.macports.org/ticket/13742#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list