How change pert5.18 to perl5.16?

2014-03-30 Thread Murray Eisenberg
Because p5-libapreq2 won't build with perl5.18 -- see 
http://trac.macports.org/ticket/28831 -- and because perl5.18 is currently my 
default version of perl5, I need to try again but now with perl5.16. How?

I tried first sudo port select perl5 perl5.16 (and same thing with just 
perl instead of perl5) but get error The specified group 'perl5' does not 
exist.

Next attempt was to uninstall perl5.18:

  $ sudo port uninstall perl5.18
---  Unable to uninstall perl5.18 @5.18.2_0, the following ports depend on it:
---perl5 @5.12.4_0+perl5_18
Error: org.macports.uninstall for port perl5.18 returned: Please uninstall the 
ports that depend on perl5.18 first.
Please see the log file for port perl5.18 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_perl5.18_5.18.2_0/perl5.18/main.log
Warning: Failed to execute portfile from registry for perl5.18 @5.18.2_0
---  Unable to uninstall perl5.18 @5.18.2_0, the following ports depend on it:
---perl5 @5.12.4_0+perl5_18
Error: port uninstall failed: Please uninstall the ports that depend on 
perl5.18 first.

Unfortunately, trying to uninstall perl5 @5.12.4_0+perl5_18 won't go through 
because I have a large number of other ports that depend upon perl4.12:

  $ sudo port uninstall perl5 @5.12.4_0+perl5_18
---  Unable to uninstall perl5 @5.12.4_0+perl5_18, the following ports depend 
on it:
---autoconf @2.69_2
---automake @1.14_0
---llvm-3.4 @3.4-r193358_0+assertions
---clang-3.4 @3.4-r193358_0+analyzer+assertions+python27
---ghostscript @9.10_1+x11
---imake @1.0.5_1
---glib2 @2.38.1_0
---gtk-doc @1.18_0+python27
---llvm-3.4 @3.4-r193941_0+assertions
---clang-3.4 @3.4-r193941_0+analyzer+assertions+python27
---glib2 @2.38.2_0
---llvm-3.4 @3.4-r195772_0+assertions
---clang-3.4 @3.4-r195772_0+analyzer+assertions+python27
---llvm-3.4 @3.4-r197314_0+assertions
---clang-3.4 @3.4-r197314_0+analyzer+assertions+python27
---ghostscript @9.10_2+x11
---automake @1.14.1_0
---llvm-3.4 @3.4-r198150_0+assertions
---clang-3.4 @3.4-r198150_0+analyzer+assertions+python27
---gtk-doc @1.18_3+python27
---llvm-3.4 @3.4_1+assertions
---clang-3.4 @3.4_0+analyzer+assertions+python27
---gtk-doc @1.20_0+python27
---gtk-doc @1.20_1+python27
---apache2 @2.2.26_0+preforkmpm
---mod_perl2 @2.0.7_1
---automake @1.14.1_1
---texi2html @5.0_1
---openldap @2.4.31_4
---automake @1.14.1_2
Error: org.macports.uninstall for port perl5 returned: Please uninstall the 
ports that depend on perl5 first.
Please see the log file for port perl5 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_perl5_5.12.4_0+perl5_18/perl5/main.log
Warning: Failed to execute port file from registry for perl5 @5.12.4_0+perl5_18

Is there some other way to proceed without having to uninstall all these others 
then reinstall them with perl5.16 as default?

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334





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


Re: How change pert5.18 to perl5.16?

2014-03-30 Thread Brandon Allbery
On Sun, Mar 30, 2014 at 5:00 PM, Murray Eisenberg murrayeisenb...@gmail.com
 wrote:

 Because p5-libapreq2 won't build with perl5.18 -- see
 http://trac.macports.org/ticket/28831 -- and because perl5.18 is
 currently my default version of perl5, I need to try again but now with
 perl5.16. How?

 I tried first sudo port select perl5 perl5.16 (and same thing with just
 perl instead of perl5) but get error The specified group 'perl5' does
 not exist.


Perl doesn't currently use the port select mechanism; there are at the
moment too many corner cases to deal with. To select the default perl, you
need to change the variant of the perl5 port:

sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16

This should not disrupt ports using a different perl version, since the
other versions will still be installed afterward.

-- 
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: How change pert5.18 to perl5.16? [correction]

2014-03-30 Thread Murray Eisenberg
Correction: the relevant ticket number is: trac.macports.org/ticket/42582

Begin forwarded message:

 From: Murray Eisenberg murrayeisenb...@gmail.com
 Subject: How change pert5.18 to perl5.16?
 Date: March 30, 2014 at 5:00:16 PM EDT
 To: macports-users@lists.macosforge.org
 
 Because p5-libapreq2 won't build with perl5.18 -- see 
 http://trac.macports.org/ticket/28831 -- and because perl5.18 is currently my 
 default version of perl5, I need to try again but now with perl5.16. How?
 
 I tried first sudo port select perl5 perl5.16 (and same thing with just 
 perl instead of perl5) but get error The specified group 'perl5' does 
 not exist.
 
 Next attempt was to uninstall perl5.18:
 
  $ sudo port uninstall perl5.18
 ---  Unable to uninstall perl5.18 @5.18.2_0, the following ports depend on 
 it:
 ---  perl5 @5.12.4_0+perl5_18
 Error: org.macports.uninstall for port perl5.18 returned: Please uninstall 
 the ports that depend on perl5.18 first.
 Please see the log file for port perl5.18 for details:

 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_perl5.18_5.18.2_0/perl5.18/main.log
 Warning: Failed to execute portfile from registry for perl5.18 @5.18.2_0
 ---  Unable to uninstall perl5.18 @5.18.2_0, the following ports depend on 
 it:
 ---  perl5 @5.12.4_0+perl5_18
 Error: port uninstall failed: Please uninstall the ports that depend on 
 perl5.18 first.
 
 Unfortunately, trying to uninstall perl5 @5.12.4_0+perl5_18 won't go through 
 because I have a large number of other ports that depend upon perl4.12:
 
  $ sudo port uninstall perl5 @5.12.4_0+perl5_18
 ---  Unable to uninstall perl5 @5.12.4_0+perl5_18, the following ports 
 depend on it:
 ---  autoconf @2.69_2
 ---  automake @1.14_0
 ---  llvm-3.4 @3.4-r193358_0+assertions
 ---  clang-3.4 @3.4-r193358_0+analyzer+assertions+python27
 ---  ghostscript @9.10_1+x11
 ---  imake @1.0.5_1
 ---  glib2 @2.38.1_0
 ---  gtk-doc @1.18_0+python27
 ---  llvm-3.4 @3.4-r193941_0+assertions
 ---  clang-3.4 @3.4-r193941_0+analyzer+assertions+python27
 ---  glib2 @2.38.2_0
 ---  llvm-3.4 @3.4-r195772_0+assertions
 ---  clang-3.4 @3.4-r195772_0+analyzer+assertions+python27
 ---  llvm-3.4 @3.4-r197314_0+assertions
 ---  clang-3.4 @3.4-r197314_0+analyzer+assertions+python27
 ---  ghostscript @9.10_2+x11
 ---  automake @1.14.1_0
 ---  llvm-3.4 @3.4-r198150_0+assertions
 ---  clang-3.4 @3.4-r198150_0+analyzer+assertions+python27
 ---  gtk-doc @1.18_3+python27
 ---  llvm-3.4 @3.4_1+assertions
 ---  clang-3.4 @3.4_0+analyzer+assertions+python27
 ---  gtk-doc @1.20_0+python27
 ---  gtk-doc @1.20_1+python27
 ---  apache2 @2.2.26_0+preforkmpm
 ---  mod_perl2 @2.0.7_1
 ---  automake @1.14.1_1
 ---  texi2html @5.0_1
 ---  openldap @2.4.31_4
 ---  automake @1.14.1_2
 Error: org.macports.uninstall for port perl5 returned: Please uninstall the 
 ports that depend on perl5 first.
 Please see the log file for port perl5 for details:

 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_perl5_5.12.4_0+perl5_18/perl5/main.log
 Warning: Failed to execute port file from registry for perl5 
 @5.12.4_0+perl5_18
 
 Is there some other way to proceed without having to uninstall all these 
 others then reinstall them with perl5.16 as default?
 
 ---
 Murray Eisenberg  murrayeisenb...@gmail.com
 503 King Farm Blvd #101   Home (240)-246-7240
 Rockville, MD 20850-6667  Mobile (413)-427-5334
 
 
 
 
 

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334





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


Re: How change pert5.18 to perl5.16?

2014-03-30 Thread Murray Eisenberg
OK, I did the forced variant change for perl5:

  % sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16

And now:  

  $ which perl
/opt/local/bin/perl
  
  $ perl --version
This is perl 5, version 16, subversion 1 (v5.16.1) built for 
darwin-thread-multi-2level

And I tried the procedure recommended on http://trac.macports.org/ticket/42582 
to rebuild mod_perl2 first, with the desired perl version:

  % sudo port -ns upgrade --force mod_perl2
   ---  Computing dependencies for mod_perl2
  ---  Building mod_perl2
  Error: org.macports.build for port mod_perl2 returned: command execution 
failed
  Please see the log file for port mod_perl2 for details:
 
I've posted the log as a new comment to trac.macports.org/ticket/42582.

How to proceed so that I can eventually get p5-libapreq2 installed along with 
mod_perl2??

(I do need to use at least version 5.16 of perl for my ultimate purpose.)


On Mar 30, 2014, at 5:22 PM, Brandon Allbery allber...@gmail.com wrote:

 On Sun, Mar 30, 2014 at 5:00 PM, Murray Eisenberg murrayeisenb...@gmail.com 
 wrote:
 Because p5-libapreq2 won't build with perl5.18 -- see 
 http://trac.macports.org/ticket/28831 -- and because perl5.18 is currently my 
 default version of perl5, I need to try again but now with perl5.16. How?
 
 I tried first sudo port select perl5 perl5.16 (and same thing with just 
 perl instead of perl5) but get error The specified group 'perl5' does 
 not exist.
 
 Perl doesn't currently use the port select mechanism; there are at the moment 
 too many corner cases to deal with. To select the default perl, you need to 
 change the variant of the perl5 port:
 
 sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16
 
 This should not disrupt ports using a different perl version, since the other 
 versions will still be installed afterward.
 

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334





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


Re: How change pert5.18 to perl5.16?

2014-03-30 Thread Jeremy Lavergne
Did you happen to clean mod_perl2 first?

The attached log indicates your old 5.18 build is simply being resumed: until 
cleaned it will continue building with 5.18 which is not what you want.

:info:build /usr/bin/clang 
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.7/src/modules/perl
 
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.7/xs
 -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include 
-I/opt/local/apache2/include -pipe -Os -fno-common -DPERL_DARWIN 
-I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector 
-I/opt/local/include 
-I/opt/local/lib/perl5/5.18.2/darwin-thread-multi-2level/CORE -DMOD_PERL 
-DMP_COMPAT_1X -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -O3  \


On Mar 30, 2014, at 17:43, Murray Eisenberg murrayeisenb...@gmail.com wrote:

  % sudo port -ns upgrade --force mod_perl2
   ---  Computing dependencies for mod_perl2
  ---  Building mod_perl2

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


Re: How change pert5.18 to perl5.16?

2014-03-30 Thread Murray Eisenberg
Ugh, silly mistake: I did indeed forget to clean the old build of mod_perl2.

After that, the forced install of mod_per2 went OK, as did finally the install 
of p5-libapreq2.

Thanks!

(It would still be preferable to use the perl5.18 version with these!)


On Mar 30, 2014, at 5:46 PM, Jeremy Lavergne jer...@lavergne.gotdns.org wrote:

 Did you happen to clean mod_perl2 first?
 
 The attached log indicates your old 5.18 build is simply being resumed: until 
 cleaned it will continue building with 5.18 which is not what you want.
 
 :info:build /usr/bin/clang 
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.7/src/modules/perl
  
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.7/xs
  -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include 
 -I/opt/local/apache2/include -pipe -Os -fno-common -DPERL_DARWIN 
 -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector 
 -I/opt/local/include 
 -I/opt/local/lib/perl5/5.18.2/darwin-thread-multi-2level/CORE -DMOD_PERL 
 -DMP_COMPAT_1X -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -O3  \
 
 
 On Mar 30, 2014, at 17:43, Murray Eisenberg murrayeisenb...@gmail.com wrote:
 
 % sudo port -ns upgrade --force mod_perl2
  ---  Computing dependencies for mod_perl2
 ---  Building mod_perl2
 

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667Mobile (413)-427-5334





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


Re: How change pert5.18 to perl5.16?

2014-03-30 Thread Ryan Schmidt

On Mar 30, 2014, at 16:43, Murray Eisenberg murrayeisenb...@gmail.com wrote:

 OK, I did the forced variant change for perl5:
 
  % sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16
 
 And now:  
 
  $ which perl
/opt/local/bin/perl
 
  $ perl --version
This is perl 5, version 16, subversion 1 (v5.16.1) built for 
 darwin-thread-multi-2level
 
 And I tried the procedure recommended on 
 http://trac.macports.org/ticket/42582 to rebuild mod_perl2 first, with the 
 desired perl version:
 
  % sudo port -ns upgrade --force mod_perl2
   ---  Computing dependencies for mod_perl2
  ---  Building mod_perl2
  Error: org.macports.build for port mod_perl2 returned: command execution 
 failed
  Please see the log file for port mod_perl2 for details:
 
 I've posted the log as a new comment to trac.macports.org/ticket/42582.
 
 How to proceed so that I can eventually get p5-libapreq2 installed along with 
 mod_perl2??
 
 (I do need to use at least version 5.16 of perl for my ultimate purpose.)

You did not clean mod_perl2 before trying again, so it may not know that you 
changed the version of perl.

https://guide.macports.org/chunked/project.html#project.tickets.prerequisites


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