Opened 10 years ago
Last modified 10 years ago
#46878 closed update
Error with the update from version 2.2.1 to 2.3.3 — at Initial Version
Reported by: | benjii.lac@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: |
Description
I installed Macports one year ago. I need library in order to run FreeFem on my MacBook.
It appears that I need to update it so I used the command sudo port selfupdate An error pops up and I didn't succeed to solve it. I precise that I'm new on computer science. I've few knowledges but not enough to understand everything yet.
So I took a look in the difference tickets (for example Ticket #46193) and try the command sudo port -v selfupdate and I got this :
[...] sent 64 bytes received 636 bytes 280.00 bytes/sec total size is 512 speedup is 0.73 ---> MacPorts base is outdated, installing new version 2.3.3 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
configure: WARNING: unrecognized options: --with-tclpackage checking build system type... i386-apple-darwin13.4.0 checking host system type... i386-apple-darwin13.4.0 checking target system type... i386-apple-darwin13.4.0 checking MacPorts version... 2.3.3 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... /usr/bin/xcode-select checking Mac OS X version... 10.9.5 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 6.1.1 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base': configure: error: C compiler cannot create executables See `config.log' for more details Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1 Exit code: 77 Error: Error installing new MacPorts base: command execution failed To report a bug, follow the instructions in the guide:
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed
Have you an idea of what is going wrong?