Posted: October 24th, 2013 | Author: xanda | Filed under: IT Related | Tags: macports, Mavericks | 1 Comment »
Quick update for those who found something buggy with their Macports after upgraded their OSX to Mavericks
- Download and install Xcode 5.0.1
- Install Command Line Tool
- Accept Xcode license agreement
- Download Macports source
cd /tmp
wget https://distfiles.macports.org/MacPorts/MacPorts-2.2.0.tar.gz |
cd /tmp
wget https://distfiles.macports.org/MacPorts/MacPorts-2.2.0.tar.gz
- Extract and compile
tar xvfz MacPorts-2.2.0.tar.gz
cd MacPorts-2.2.0
./configure
make
sudo make install |
tar xvfz MacPorts-2.2.0.tar.gz
cd MacPorts-2.2.0
./configure
make
sudo make install
- Update your Macports
Thanks
Posted: May 30th, 2012 | Author: xanda | Filed under: IT Related | Tags: mac, macports, pcre++, pcrexx, warning | No Comments »
I’ve updated my Macports to version 2.1.1 and out of sudden, the following error/warning occur:
Warning: No port pcre++ found in the index; can't rebuild
---> Found 0 broken port(s), determining rebuild order
---> Rebuilding in order
---> Scanning binaries for linking errors: 100.0%
---> Found 1 broken file(s), matching files to ports
Warning: No port pcre++ found in the index; can't rebuild
---> Found 0 broken port(s), determining rebuild order
---> Rebuilding in order
---> Scanning binaries for linking errors: 100.0%
---> Found 1 broken file(s), matching files to ports |
Warning: No port pcre++ found in the index; can't rebuild
---> Found 0 broken port(s), determining rebuild order
---> Rebuilding in order
---> Scanning binaries for linking errors: 100.0%
---> Found 1 broken file(s), matching files to ports
Warning: No port pcre++ found in the index; can't rebuild
---> Found 0 broken port(s), determining rebuild order
---> Rebuilding in order
---> Scanning binaries for linking errors: 100.0%
---> Found 1 broken file(s), matching files to ports
This is due to the pcre++ is now replaced with pcrexx package. As for the quick solution for this:
sudo port -f deactivate pcre++
sudo port -f activate pcrexx |
sudo port -f deactivate pcre++
sudo port -f activate pcrexx
In my case, the output is as below:
---> The following versions of pcrexx are currently installed:
---> pcrexx @0.9.5_1
---> pcrexx @0.9.5_2
Error: port activate failed: Registry error: Please specify the full version as recorded in the port registry. |
---> The following versions of pcrexx are currently installed:
---> pcrexx @0.9.5_1
---> pcrexx @0.9.5_2
Error: port activate failed: Registry error: Please specify the full version as recorded in the port registry.
Now choose the latest version and activate it
sudo port -f activate pcrexx @0.9.5_2 |
sudo port -f activate pcrexx @0.9.5_2