Re: p5.16-libapreq2 won't reinstall after migration to El Capitan

2015-11-03 Thread Murray Eisenberg
I think all is well now with getting the perl5_22 variants installed!

   sudo port self update
   port info mod_perl2
   ...
   mod_perl2 @2.0.9 (www)
   Variants: perl5_16, perl5_18, perl5_20, [+]perl5_22, universal

sudo port install mod_perl2 +perl5_22
   ...
port installed mod_perl2
   The following ports are currently installed:
 mod_perl2 @2.0.9_0+perl5_22 (active)

And...

sudo port install p5.22-libapreq2

was executed without error.

So perhaps the most recent trouble was due to too soon a macports update.

Thank you!

> On 3 Nov2015, at 12:26 AM, Mojca Miklavec  wrote:
> 
> On Tue, Nov 3, 2015 at 12:14 AM, Murray Eisenberg wrote:
>> After uninstalling p5.16-libapeq2 and mod_perl2 + perl5_16, I was able to 
>> install in order:
>> 
>>perl5 + perl5_22
>>mod_perl2 +perl5_22
>> 
>> However, "port install  p5.22-libapreq2" still used mod_perl2 + perl5.20
> 
> Can you please try again the following:
>port info mod_perl2
>sudo port selfupdate
>port info mod_perl2
>sudo port install mod_perl2
>port installed mod_perl2
> (and tell me the variants reported by mod_perl2)?
> 
> For some weird reason "sudo port install mod_perl2 +perl5_22" would
> also install "mod_perl2 + perl5_20" for me in the beginning, but that
> was before I fixed the port and added perl5_22 to the list of
> variants. (I'm curious why it picked 5.20; I would expect 5.16 at
> best.)
> 
> So maybe you did a selfupdate too fast. Unless you have a second copy
> of the Portfile somewhere, that's my only explanation, otherwise you
> shouldn't have ended up with +perl5_20. So hopefully another
> selfupdate and installation of mod_perl2 will fix the issue.
> 
>> and the process ends with error that mod_perl2 must be installed with 
>> +perl5_22 !
> 
> At least the error message is more clear now. Earlier you would have
> ended up with a cryptic build error saying that one perl module was
> missing.
> 
>> So no go.
> 
> You seem to be almost there.
> 
> Mojca
> 
> 
>>> On 2 Nov2015, at 11:14 AM, Mojca Miklavec  wrote:
>>> 
>>> Dear Murray,
>>> 
>>> On Mon, Nov 2, 2015 at 4:20 PM, Murray Eisenberg wrote:
 
 The issue re p5.16-libapreq2 is solved!  After the migration, I had never 
 activated a version of perl5 by doing "sudo install perl5 +perl5_16. Not 
 doing that seems to be what caused failure to build mod_perl2 and hence 
 prevented subsequent installation of p5.16-libapreq2.
 
 (I do still wish a port p5.20-libapreq2 were available, so that I would 
 not need to deal with the older versions of perl5.)
>>> 
>>> I just added it now (you could try to switch to 5.22, else you'll be
>>> "outdated" soon again).
>>> 
>>> You will have to uninstall or deactivate p5.16-libapreq2, install
>>> "perl5 +perl5_22" and "mod_perl2 +perl5_22" and finally install
>>> p5.22-libapreq2.
>>> 
>>> Then again it might be nice to get some feedback. Running the
>>> testsuite on p5.22-libapre2 fails for some tests. I got rid of some
>>> failures by upgrading mod_perl2 to 2.0.9, but some failures remain.
>>> 
>>> Mojca
>>> 
>>> (PS: you might have to wait for half an hour for the port definitions
>>> to catch up if you are using rsync for selfupdate)
>> 
>> ---
>> Murray Eisenbergmurrayeisenb...@gmail.com
>> 503 King Farm Blvd #101 Home (240)-246-7240
>> Rockville, MD 20850-6667Mobile (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: p5.16-libapreq2 won't reinstall after migration to El Capitan - SOLVED!

2015-11-02 Thread Murray Eisenberg

> On27 Oct 2015 23:27:27 +0100,Murray Eisenberg  
> wrote:
> 
> 
> On Tue, Oct 27, 2015 at 11:03 PM, Murray Eisenberg wrote:
>> After migrating macports from Yosemite to El Capitan, installing 
>> p5.16-libapreq2 failed during build its all-too-tamiliar error:
>> 
>>  Can't locate ModPerl/MM.pm in @INC
>> 
>> Following a recommendation when the same thing happened under Yosemite, with 
>> the reinstalled macports under El Capitan I did follow the same procedure:
>> 
>>  * install perl5 with a variant that corresponds to the perl version you 
>> want to use
>> 
>>I think I got this right; I have:
>> 
>>perl5 @5.16.3_0+perl5_16
>>perl5 @5.16.3_0+perl5_20 (active)
>> 
>>  * forcibly rebuild mod_perl2 from source (i.e. "sudo port -ns upgrade 
>> --force mod_perl2") or if you have not yet installed mod_perl2, install it 
>> from source (i.e. "sudo port -s install mod_perl2")
>> 
>>I did the force rebuild of mod_perl2.
>> 
>>  * install the p5-libapreq2 support for the perl version you want to use
>> 
>>I tried "sudo port install p5.16-libapreq2", which failed.
>> 
>> 
>> Also, I note that there no longer seems to be any p5.20-libapreq2 port 
>> available.
>> 
>> How fix??
> 
> If you want to keep using perl5perl +perl5_20, then you need to
> install mod_perl2 +perl5_20 and p5.20-libapreq2. I have no clue why
> p5.20-libapreq is missing and thin could be fixed.
> 
> If you want to switch to 5.16, you need to install perl5 +perl5_16,
> then mod_perl2 +perl5_16 and finally p5.16-libapreq2.

The issue re p5.16-libapreq2 is solved!  After the migration, I had never 
activated a version of perl5 by doing "sudo install perl5 +perl5_16. Not doing 
that seems to be what caused failure to build mod_perl2 and hence prevented 
subsequent installation of p5.16-libapreq2.

(I do still wish a port p5.20-libapreq2 were available, so that I would not 
need to deal with the older versions of perl5.)


---
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: p5.16-libapreq2 won't reinstall after migration to El Capitan

2015-11-02 Thread Mojca Miklavec
On Tue, Nov 3, 2015 at 12:14 AM, Murray Eisenberg wrote:
> After uninstalling p5.16-libapeq2 and mod_perl2 + perl5_16, I was able to 
> install in order:
>
> perl5 + perl5_22
> mod_perl2 +perl5_22
>
> However, "port install  p5.22-libapreq2" still used mod_perl2 + perl5.20

Can you please try again the following:
port info mod_perl2
sudo port selfupdate
port info mod_perl2
sudo port install mod_perl2
port installed mod_perl2
(and tell me the variants reported by mod_perl2)?

For some weird reason "sudo port install mod_perl2 +perl5_22" would
also install "mod_perl2 + perl5_20" for me in the beginning, but that
was before I fixed the port and added perl5_22 to the list of
variants. (I'm curious why it picked 5.20; I would expect 5.16 at
best.)

So maybe you did a selfupdate too fast. Unless you have a second copy
of the Portfile somewhere, that's my only explanation, otherwise you
shouldn't have ended up with +perl5_20. So hopefully another
selfupdate and installation of mod_perl2 will fix the issue.

> and the process ends with error that mod_perl2 must be installed with 
> +perl5_22 !

At least the error message is more clear now. Earlier you would have
ended up with a cryptic build error saying that one perl module was
missing.

> So no go.

You seem to be almost there.

Mojca


>> On 2 Nov2015, at 11:14 AM, Mojca Miklavec  wrote:
>>
>> Dear Murray,
>>
>> On Mon, Nov 2, 2015 at 4:20 PM, Murray Eisenberg wrote:
>>>
>>> The issue re p5.16-libapreq2 is solved!  After the migration, I had never 
>>> activated a version of perl5 by doing "sudo install perl5 +perl5_16. Not 
>>> doing that seems to be what caused failure to build mod_perl2 and hence 
>>> prevented subsequent installation of p5.16-libapreq2.
>>>
>>> (I do still wish a port p5.20-libapreq2 were available, so that I would not 
>>> need to deal with the older versions of perl5.)
>>
>> I just added it now (you could try to switch to 5.22, else you'll be
>> "outdated" soon again).
>>
>> You will have to uninstall or deactivate p5.16-libapreq2, install
>> "perl5 +perl5_22" and "mod_perl2 +perl5_22" and finally install
>> p5.22-libapreq2.
>>
>> Then again it might be nice to get some feedback. Running the
>> testsuite on p5.22-libapre2 fails for some tests. I got rid of some
>> failures by upgrading mod_perl2 to 2.0.9, but some failures remain.
>>
>> Mojca
>>
>> (PS: you might have to wait for half an hour for the port definitions
>> to catch up if you are using rsync for selfupdate)
>
> ---
> 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: p5.16-libapreq2 won't reinstall after migration to El Capitan - SOLVED!

2015-11-02 Thread Mojca Miklavec
Dear Murray,

On Mon, Nov 2, 2015 at 4:20 PM, Murray Eisenberg wrote:
>
> The issue re p5.16-libapreq2 is solved!  After the migration, I had never 
> activated a version of perl5 by doing "sudo install perl5 +perl5_16. Not 
> doing that seems to be what caused failure to build mod_perl2 and hence 
> prevented subsequent installation of p5.16-libapreq2.
>
> (I do still wish a port p5.20-libapreq2 were available, so that I would not 
> need to deal with the older versions of perl5.)

I just added it now (you could try to switch to 5.22, else you'll be
"outdated" soon again).

You will have to uninstall or deactivate p5.16-libapreq2, install
"perl5 +perl5_22" and "mod_perl2 +perl5_22" and finally install
p5.22-libapreq2.

Then again it might be nice to get some feedback. Running the
testsuite on p5.22-libapre2 fails for some tests. I got rid of some
failures by upgrading mod_perl2 to 2.0.9, but some failures remain.

Mojca

(PS: you might have to wait for half an hour for the port definitions
to catch up if you are using rsync for selfupdate)
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: p5.16-libapreq2 won't reinstall after migration to El Capitan

2015-11-02 Thread Murray Eisenberg
After uninstalling p5.16-libapeq2 and mod_perl2 + perl5_16, I was able to 
install in order:

perl5 + perl5_22
mod_perl2 +perl5_22
   
However, "port install  p5.22-libapreq2" still used mod_perl2 + perl5.20 and 
the process ends with error that mod_perl2 must be installed with +perl5_22 !  

So no go.


> On 2 Nov2015, at 11:14 AM, Mojca Miklavec  wrote:
> 
> Dear Murray,
> 
> On Mon, Nov 2, 2015 at 4:20 PM, Murray Eisenberg wrote:
>> 
>> The issue re p5.16-libapreq2 is solved!  After the migration, I had never 
>> activated a version of perl5 by doing "sudo install perl5 +perl5_16. Not 
>> doing that seems to be what caused failure to build mod_perl2 and hence 
>> prevented subsequent installation of p5.16-libapreq2.
>> 
>> (I do still wish a port p5.20-libapreq2 were available, so that I would not 
>> need to deal with the older versions of perl5.)
> 
> I just added it now (you could try to switch to 5.22, else you'll be
> "outdated" soon again).
> 
> You will have to uninstall or deactivate p5.16-libapreq2, install
> "perl5 +perl5_22" and "mod_perl2 +perl5_22" and finally install
> p5.22-libapreq2.
> 
> Then again it might be nice to get some feedback. Running the
> testsuite on p5.22-libapre2 fails for some tests. I got rid of some
> failures by upgrading mod_perl2 to 2.0.9, but some failures remain.
> 
> Mojca
> 
> (PS: you might have to wait for half an hour for the port definitions
> to catch up if you are using rsync for selfupdate)

---
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: p5.16-libapreq2 won't reinstall after migration to El Capitan: configuring mod_perl2 +perl5_16 failed

2015-10-29 Thread Ryan Schmidt
On Oct 28, 2015, at 2:28 PM, Murray Eisenberg wrote:
> 
> OK, I'm trying to install p5.16-libapreq. Here's what I tried:
> 
> (1) deactivated all versions of perl5 except perl5.16 @5.16.3_1 
> 
> (2) deactivate of mod_perl2 @2.0.8_2+perl5_20; uninstall mod_perl2 
> @2.0.8_2+perl5_16+perl5_20
> 
> (3) install mod_perl2 @2.0.8_2+perl5_16, which gives configure failure:
> 
> :notice:configure --->  Configuring mod_perl2
> :debug:configure Using compiler 'Xcode Clang'
> :debug:configure Executing org.macports.configure (mod_perl2)
> :info:configure Reading Makefile.PL args from @ARGV
> :info:configureMP_APXS = /opt/local/apache2/bin/apxs
> :info:configure no conflicting prior mod_perl version found - good.
> :info:configure [  error] Unable to determine server version, aborting.
> :info:configure [  error] Invalid MP_APXS specified?
> :info:configure Command failed: /opt/local/bin/perl5.16 Makefile.PL 
> MP_APXS=/opt/local/apache2/bin/apxs 
> 
> Now what?

It's not interesting to talk about the mod_perl2 or p5-libapreq ports in their 
current state because they're terribly broken because of this incorrect 
assumption about there existing only one version of perl. They need to be 
overhauled as previously discussed. If you must get them working in their 
current broken state, I believe we've gone through this before; you could 
search the list archives or issue tracker.


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


Re: p5.16-libapreq2 won't reinstall after migration to El Capitan: configuring mod_perl2 +perl5_16 failed

2015-10-28 Thread Murray Eisenberg
OK, I'm trying to install p5.16-libapreq. Here's what I tried:

(1) deactivated all versions of perl5 except perl5.16 @5.16.3_1 

(2) deactivate of mod_perl2 @2.0.8_2+perl5_20; uninstall mod_perl2 
@2.0.8_2+perl5_16+perl5_20

(3) install mod_perl2 @2.0.8_2+perl5_16, which gives configure failure:

:notice:configure --->  Configuring mod_perl2
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (mod_perl2)
:info:configure Reading Makefile.PL args from @ARGV
:info:configureMP_APXS = /opt/local/apache2/bin/apxs
:info:configure no conflicting prior mod_perl version found - good.
:info:configure [  error] Unable to determine server version, aborting.
:info:configure [  error] Invalid MP_APXS specified?
:info:configure Command failed: /opt/local/bin/perl5.16 Makefile.PL 
MP_APXS=/opt/local/apache2/bin/apxs 

Now what?

On Tue, 27 Oct 2015 23:27:27 +0100, Mojca Miklavec 
 wrote:
> After migrating macports from Yosemite to El Capitan, installing 
> p5.16-libapreq2 failed during build its all-too-tamiliar error:
> 
>  Can't locate ModPerl/MM.pm in @INC
> 
> Following a recommendation when the same thing happened under Yosemite, with 
> the reinstalled macports under El Capitan I did follow the same procedure:
> 
>  * install perl5 with a variant that corresponds to the perl version you want 
> to use
> 
>I think I got this right; I have:
> 
>perl5 @5.16.3_0+perl5_16
>perl5 @5.16.3_0+perl5_20 (active)
> 
>  * forcibly rebuild mod_perl2 from source (i.e. "sudo port -ns upgrade 
> --force mod_perl2") or if you have not yet installed mod_perl2, install it 
> from source (i.e. "sudo port -s install mod_perl2")
> 
>I did the force rebuild of mod_perl2.
> 
>  * install the p5-libapreq2 support for the perl version you want to use
> 
>I tried "sudo port install p5.16-libapreq2", which failed.
> 
> 
> Also, I note that there no longer seems to be any p5.20-libapreq2 port 
> available.
> 
> How fix??

If you want to keep using perl5perl +perl5_20, then you need to
install mod_perl2 +perl5_20 and p5.20-libapreq2. I have no clue why
p5.20-libapreq is missing and thin could be fixed.

If you want to switch to 5.16, you need to install perl5 +perl5_16,
then mod_perl2 +perl5_16 and finally p5.16-libapreq2.
---
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: p5.16-libapreq2 won't reinstall after migration to El Capitan

2015-10-27 Thread Mojca Miklavec
On Tue, Oct 27, 2015 at 11:03 PM, Murray Eisenberg wrote:
> After migrating macports from Yosemite to El Capitan, installing 
> p5.16-libapreq2 failed during build its all-too-tamiliar error:
>
>   Can't locate ModPerl/MM.pm in @INC
>
> Following a recommendation when the same thing happened under Yosemite, with 
> the reinstalled macports under El Capitan I did follow the same procedure:
>
>   * install perl5 with a variant that corresponds to the perl version you 
> want to use
>
> I think I got this right; I have:
>
> perl5 @5.16.3_0+perl5_16
> perl5 @5.16.3_0+perl5_20 (active)
>
>   * forcibly rebuild mod_perl2 from source (i.e. "sudo port -ns upgrade 
> --force mod_perl2") or if you have not yet installed mod_perl2, install it 
> from source (i.e. "sudo port -s install mod_perl2")
>
> I did the force rebuild of mod_perl2.
>
>   * install the p5-libapreq2 support for the perl version you want to use
>
> I tried "sudo port install p5.16-libapreq2", which failed.
>
>
> Also, I note that there no longer seems to be any p5.20-libapreq2 port 
> available.
>
> How fix??

If you want to keep using perl5perl +perl5_20, then you need to
install mod_perl2 +perl5_20 and p5.20-libapreq2. I have no clue why
p5.20-libapreq is missing and thin could be fixed.

If you want to switch to 5.16, you need to install perl5 +perl5_16,
then mod_perl2 +perl5_16 and finally p5.16-libapreq2.

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


Re: p5.16-libapreq2 won't reinstall after migration to El Capitan

2015-10-27 Thread Murray Eisenberg
Note that when I forced rebuild of mod_perl2 from source, I used:

  sudo port -ns upgrade --force mod_perl2 +perl5_16

Still, I find from "sudo port installed | grep mod_perl2":

  mod_perl2 @2.0.8_2+perl5_20
  mod_perl2 @2.0.8_2+perl5_16+perl5_20 (active)

Do I need somehow to remove the "+perl5_20" part of mod_perl2, which seemed to 
get added automatically and, if so, how?

  
> On 27 Oct2015, at 6:03 PM, Murray Eisenberg  wrote:
> 
> After migrating macports from Yosemite to El Capitan, installing 
> p5.16-libapreq2 failed during build its all-too-tamiliar error:
> 
>  Can't locate ModPerl/MM.pm in @INC
> 
> Following a recommendation when the same thing happened under Yosemite, with 
> the reinstalled macports under El Capitan I did follow the same procedure:
> 
>  * install perl5 with a variant that corresponds to the perl version you want 
> to use
> 
>I think I got this right; I have:
> 
>perl5 @5.16.3_0+perl5_16
>perl5 @5.16.3_0+perl5_20 (active)
> 
>  * forcibly rebuild mod_perl2 from source (i.e. "sudo port -ns upgrade 
> --force mod_perl2") or if you have not yet installed mod_perl2, install it 
> from source (i.e. "sudo port -s install mod_perl2")
> 
>I did the force rebuild of mod_perl2.
> 
>  * install the p5-libapreq2 support for the perl version you want to use
> 
>I tried "sudo port install p5.16-libapreq2", which failed.
> 
> 
> Also, I note that there no longer seems to be any p5.20-libapreq2 port 
> available.
> 
> How fix??
> 
> ---
> 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