Opened 13 years ago
Closed 11 years ago
#33698 closed defect (worksforme)
Hang in installing apache2 or port upgrade
Reported by: | amvian@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.0.4 |
Keywords: | lack-of-interest | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | apache2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I tried to install macport from dmg, after that when I tried to install apache2 and I got an error. I found out that I didn't install command line tools for Xcode. So I installed command line tools for Xcode and try to run to install apache2 by running "sudo port install apache2". The terminal hang and didn't happen anything. I need to reboot my computer after that and then I tried to run "sudo port -df self update", the system hanged and didn't do anything. Then I tried to install macports again from the source code, the installation will hang at /usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl. I tried to applied patch from #29592 and still no luck. I attached the screen shot from installation.
Attachments (1)
Change History (8)
Changed 13 years ago by amvian@…
Attachment: | Screen Shot 2012-03-20 at 11.59.21 AM.png added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Description: | modified (diff) |
Milestone: | MacPorts 2.0.5 |
images_to_archives.tcl is a script that converts a MacPorts 1 installation to a MacPorts 2 installation. It can take hours to finish, depending on the speed of your computer and hard disk and the number of ports you have installed.
Were you in fact now upgrading to MacPorts 2 for the first time, or had you already upgraded? If the former, you should let images_to_archives.tcl run to completion. If the latter, I don't know why it's hanging.
comment:2 Changed 13 years ago by amvian@…
I am not converting from MacPorts 1 to 2. I installed MacPort 2 and then tried to install apache2 and got an error. I cannot run any operation with macports now. (uninstall, upgrade, install apache2, ....)
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
If you just installed MacPorts 2, and there was no previous MacPorts installation on this system, then there would be nothing to uninstall or upgrade.
If you're having trouble building apache2, let's see what it's doing. "sudo port clean apache2" and "sudo port -d install apache2" and see where it stops; send us the output.
comment:4 Changed 13 years ago by amvian@…
I tried to run "sudo port clean apache2" and nothing output to the terminal?
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Then it cleaned successfully. Next step?
comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Port: | apache2 added |
Are you still having trouble installing apache2? If so, please provide the information requested above.
comment:7 Changed 11 years ago by neverpanic (Clemens Lang)
Keywords: | lack-of-interest added |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
the system sticks during the installation