Trouble installing a port variant of php55

René Fournier m5 at renefournier.com
Fri Dec 27 13:12:33 PST 2013


Hi,

The docs seem clear on installing a port variant (choosing a different dependency), but I’m having trouble. Specifically, since I’m using PostgreSQL 9.2, I would like to install the matching postgresql92 variant of the php55-postgresql interface. (The default for php55-postgresql is postgresql93.) It seems possible:

~ :: port variants php55-postgresql
php55-postgresql has the variants:
   debug: Enable debug support (useful to analyze a PHP-related core dump)
   postgresql82: Use PostgreSQL 8.2 libraries
     * conflicts with postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93
   postgresql83: Use PostgreSQL 8.3 libraries
     * conflicts with postgresql82 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93
   postgresql84: Use PostgreSQL 8.4 libraries
     * conflicts with postgresql82 postgresql83 postgresql90 postgresql91 postgresql92 postgresql93
   postgresql90: Use PostgreSQL 9.0 libraries
     * conflicts with postgresql82 postgresql83 postgresql84 postgresql91 postgresql92 postgresql93
   postgresql91: Use PostgreSQL 9.1 libraries
     * conflicts with postgresql82 postgresql83 postgresql84 postgresql90 postgresql92 postgresql93
   postgresql92: Use PostgreSQL 9.2 libraries
     * conflicts with postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql93
[+]postgresql93: Use PostgreSQL 9.3 libraries
     * conflicts with postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92
   universal: Build for multiple architectures

However, when I run:

      sudo port install php55-postgresql +postgresql92

I get:

   Error: Requested variants "+postgresql92" do not match original selection “". 
   Please use the same variants again, perform 'port clean php55-postgresql' or specify the force option (-f).
   To report a bug, follow the instructions in the guide:
       http://guide.macports.org/#project.tickets
   Error: Processing of port php55-postgresql failed

Does what I’m trying to do make sense? Any suggestions? Thanks.

…René






More information about the macports-users mailing list