Trouble with MacPorts install, .profile file not created/ need help

I have just installed MacPorts 1.7.0 for Leopard using a
downloaded .dmg file. Following the download and installation, I
looked for the .profile file to change the environment variables, but
found that no .profile file was created.

When I tried to do so, I got an error message:
/Applications/ .profile
2008-12-27 14:19:02.393 TextEdit[47100:10b] *** CFMessagePort:
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port =
0x5203, name = ''
See /usr/include/servers/bootstrap_defs.h for the error codes.

Can anyone tell me what this means, and what I should do to correct
the situation? Should I create a .profile file, and where should I
store it? Should I follow instructions about the normal environment
variables so the path points to /opt/local/ ?

Thank you.


You might look through the following tutorial:


If that doesn't help, you might head to the MacPorts mailing lists for

Good Luck!