Trouble installing a port variant of php55
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
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
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
Macports self update failing
Hi, I am trying to run a selfupdate of 2.2.1 on MacOS X 10.9.1, but it is failing. Running sudo port -v selfupdate I get (truncated): ... checking CommonCrypto/CommonDigest.h presence... yes checking for CommonCrypto/CommonDigest.h... yes checking for readline in -lreadline... yes checking whether rl_username_completion_function is declared... no checking whether rl_filename_completion_function is declared... yes checking whether rl_completion_matches is declared... yes checking whether username_completion_function is declared... yes checking whether filename_completion_function is declared... yes checking whether completion_matches is declared... yes checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline make SELFUPDATING=1 make install SELFUPDATING=1 Exit code: 1 Error: Error installing new MacPorts base: command execution failed To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed I adjusted the above and tried running (with additional ''): cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline make SELFUPDATING=1 make install SELFUPDATING=1 This too seems to be failing: checking CommonCrypto/CommonDigest.h presence... yes checking for CommonCrypto/CommonDigest.h... yes checking for readline in -lreadline... yes checking whether rl_username_completion_function is declared... no checking whether rl_filename_completion_function is declared... yes checking whether rl_completion_matches is declared... yes checking whether username_completion_function is declared... yes checking whether filename_completion_function is declared... yes checking whether completion_matches is declared... yes checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions Any idea what else I can try? Andre ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Macports self update failing
On Fri, Dec 27, 2013 at 5:47 PM, Andre-John Mas aj...@sympatico.ca wrote: checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions That usually means you upgraded to 19.9 and didn't bother reading http://trac.macports.org/wiki/Migration . -- 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: Macports self update failing
I ended up reinstalling MacPorts and the problem went away. I can't remember whether I had reinstalled MacPorts since installing Mavericks. I thought I had, but maybe I didn't? Andre On Dec 27, 2013, at 17:47 , Andre-John Mas aj...@sympatico.ca wrote: Hi, I am trying to run a selfupdate of 2.2.1 on MacOS X 10.9.1, but it is failing. Running sudo port -v selfupdate I get (truncated): ... checking CommonCrypto/CommonDigest.h presence... yes checking for CommonCrypto/CommonDigest.h... yes checking for readline in -lreadline... yes checking whether rl_username_completion_function is declared... no checking whether rl_filename_completion_function is declared... yes checking whether rl_completion_matches is declared... yes checking whether username_completion_function is declared... yes checking whether filename_completion_function is declared... yes checking whether completion_matches is declared... yes checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline make SELFUPDATING=1 make install SELFUPDATING=1 Exit code: 1 Error: Error installing new MacPorts base: command execution failed To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed I adjusted the above and tried running (with additional ''): cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline make SELFUPDATING=1 make install SELFUPDATING=1 This too seems to be failing: checking CommonCrypto/CommonDigest.h presence... yes checking for CommonCrypto/CommonDigest.h... yes checking for readline in -lreadline... yes checking whether rl_username_completion_function is declared... no checking whether rl_filename_completion_function is declared... yes checking whether rl_completion_matches is declared... yes checking whether username_completion_function is declared... yes checking whether filename_completion_function is declared... yes checking whether completion_matches is declared... yes checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions Any idea what else I can try? Andre ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users