Fixing pcre++ looping bug in Macports
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 |
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 |
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. |
Now choose the latest version and activate it
sudo port -f activate pcrexx @0.9.5_2 |
Leave a Reply