:debug:configure Using compiler 'Mac OS X clang' :debug:configure configure phase started at Wed Mar 13 14:55: :debug:main Privilege de-escalation not attempted as not running as root. :debug:main changing euid/egid - current euid: 0 - current egid: 0 This is the contents of main.log: version:1 This is the error: -> Configuring expatĮrror: Unable to execute port: upgrade gettext failed I followed the instructions here, but I'm running into a problem when I run sudo port install dpkg. I'm currently trying to install dpkg on my Mac OS 10.7.5, so I can run theos sudo make package (it's telling me that I can't do so becuase dkpg is not installed). Running sudo port upgrade gettext returned the following error: -> Configuring expat To report a bug, follow the instructions in the guide: opt/local/var/macports/logs/_opt_local_var_macports_sources_release_ports_textproc_expat/expat/main.log Please see the log file for port expat for details: However, when I ran sudo port upgrade outdated, I got the following error: -> Configuring expatĮrror: for port expat returned: configure failure: command execution failed To upgrade your installed ports, you should run > MacPorts base is already the latest version This was the output: -> Updating MacPorts base sources using rsync Use the -v flag for verbose mode which will show you the progress of this operation.Īfter this has finished, you are now receiving your Portfiles using Git instead of rsync.Sudo port selfupdate did not return any errors. Subsequent runs will be faster, as only changed Portfiles need to be indexed again. On running your first sync you will have wait for the PortIndex to be generated, which will take some time. #rsync:///macports/release/tarballs/ports.tar įile:///opt/local/var/macports/sources//macports/macports-ports/ Note: if you need to replace /opt/local with your custom prefix, make sure the initial "file:///." contains three slashes. Git clone /macports/macports-ports/Įdit /opt/local/etc/macports/nf to comment out the rsync:// entry and add a new file:/// entry: Sudo chown -R $:admin /macports/macports-ports/ Step 1: Checkout Initial Copy cd /opt/local/var/macports/sources If you do not have a copy of the ports tree, you can download the daily If you have a copy of the ports tree already, just run: Unless you see an error message with command not found, you already have git and can skip this step.Ĭontinue only if you do not already have git installed. If you are unsure whether you already have it installed, check with this command: Most users will not need to install it manually. Git already comes pre-installed with Xcode. Note: if you are using a custom prefix, you will have to replace the default of /opt/local with the location of your MacPorts install in the instructions below. The following steps will switch your tree over to using Git over HTTPS for syncing. Some people live and work behind a firewall or proxy that blocks or otherwise breaks rsync, which is the primary means of getting updated Portfiles in MacPorts. Audience: end users who cannot use rsync (873/tcp) due to firewalls, proxies, policy, etc.<- Back to the HOWTO section How to sync your ports tree using Git over HTTPS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |