Trouble installing a port variant of php55

2013-12-27 Thread René Fournier
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é




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Trouble installing a port variant of php55

2013-12-27 Thread Brandon Allbery
On Fri, Dec 27, 2013 at 4:12 PM, René Fournier m...@renefournier.com wrote:

   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


Did you read the error message?

It means that there is already a build tree (from an error or aborted
build) for a different variant. If you want to build +postgresql92, you
must first sudo port clean php55-postgresql to remove the existing build
tree, as the error message told you.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Trouble installing a port variant of php55

2013-12-27 Thread René Fournier
Oh wow, I had tried so many variations of the command, I had [obviously] 
stopped paying attention to the error message. Sorry for the dumb question… 
Yes, cleaning and reinstalling worked. Thanks!

On Dec 27, 2013, at 2:20 PM, Brandon Allbery allber...@gmail.com wrote:

 On Fri, Dec 27, 2013 at 4:12 PM, René Fournier m...@renefournier.com wrote:
   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
 
 Did you read the error message? 
 
 It means that there is already a build tree (from an error or aborted build) 
 for a different variant. If you want to build +postgresql92, you must first 
 sudo port clean php55-postgresql to remove the existing build tree, as the 
 error message told you.
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users