Ticket #32796 (closed defect: invalid)
selfupdate fails
| Reported by: | silaslaycock@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Port: |
Description (last modified by ryandesign@…) (diff)
I tried to do a "port -v selfupdate" and get the following error. The system is a 2011 MacPro running Snow leopard. I have attached the config.log to the ticket.
configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 && make && make install" returned error 1 Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
Attachments
Change History
Changed 17 months ago by silaslaycock@…
- Attachment config.log added
comment:1 Changed 17 months ago by ryandesign@…
- Description modified (diff)
Please read wiki:FAQ#missingxcode
comment:2 Changed 17 months ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to invalid
Please direct follow-ups, like all tech support issues, to the Macports Users Mailing List.
Note: See
TracTickets for help on using
tickets.


config.log file from failed attempt at selfupdate