Stefan Gräf | 23 Jun 2012 17:30
Picon

p5.12-class-container fails to install

Dear All,

I am getting a config error when installing p5.12-class-container
under MacPorts v2.1.1 on Lion. Any help how to resolve this would be
very much appreciated.

Many thanks,
 Stefan

<<snip>>
:debug:configure configure phase started at Sat Jun 23 15:55:44 BST 2012
:notice:configure --->  Configuring p5.12-class-container
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (p5.12-class-container)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2
-arch x86_64' LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-class-container/p5.12-class-container/work/.CC_PRINT_OPTIONS'
F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/clang'
INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--skipdeps'
OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64'
CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-class-container/p5.12-class-container/work/Class-Container-0.12"
&& /opt/local/bin/perl5.12 Build.PL installdirs=vendor'
:debug:configure Executing command line:  cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-class-container/p5.12-class-container/work/Class-Container-0.12"
&& /opt/local/bin/perl5.12 Build.PL installdirs=vendor
(Continue reading)

Lawrence Velázquez | 23 Jun 2012 17:39
Picon
Gravatar

Re: p5.12-class-container fails to install

Well this looks suspicious:

On Jun 23, 2012, at 11:30 a.m., Stefan Gräf wrote:

> :info:configure version version 0.87 required--this is only version
> 0.82 at /opt/local/lib/perl5/vendor_perl/5.12.3/Module/Metadata.pm
> line 20.

vq

Jeremy Lavergne | 23 Jun 2012 17:45

Re: p5.12-class-container fails to install

> /opt/local/lib/perl5/vendor_perl/5.12.4/Module/Build/ModuleInfo.pm
> line 10.

Ah, there's module-build. need to keep reading down.. my bad.

Attachment (smime.p7s): application/pkcs7-signature, 8 KiB
> /opt/local/lib/perl5/vendor_perl/5.12.4/Module/Build/ModuleInfo.pm
> line 10.

Ah, there's module-build. need to keep reading down.. my bad.

Jeremy Lavergne | 23 Jun 2012 17:48

Re: p5.12-class-container fails to install

> :info:configure BEGIN failed--compilation aborted at
> /opt/local/lib/perl5/vendor_perl/5.12.4/Module/Build.pm line 15.

So, I think the actual error is in perl's BEGIN phase, line 15 of p5.12-module-build.

If that sounds right to you, would you mind sending the top of p5.12-module-build as well?

Attachment (smime.p7s): application/pkcs7-signature, 8 KiB
> :info:configure BEGIN failed--compilation aborted at
> /opt/local/lib/perl5/vendor_perl/5.12.4/Module/Build.pm line 15.

So, I think the actual error is in perl's BEGIN phase, line 15 of p5.12-module-build.

If that sounds right to you, would you mind sending the top of p5.12-module-build as well?

Watch Dog | 23 Jun 2012 18:58
Picon

Re: p5.12-class-container fails to install

On Sat, Jun 23, 2012 at 9:30 AM, Stefan Gräf <st.graef <at> gmail.com> wrote:
> Dear All,
>
> I am getting a config error when installing p5.12-class-container
> under MacPorts v2.1.1 on Lion. Any help how to resolve this would be
> very much appreciated.
>
> Many thanks,
>  Stefan

I have not yet found a packaging system (macports, fink, pkgsrc,
homebrew, ...) that copes well with the needs of serious Perl coding
on OS X.  They all eventually fall over, in my experience[*].  If you
do more than casual Perl hacking, do yourself a favor.  Install
perlbrew, then install cpanminus (bundled with perlbrew).  As an added
bonus, set up a private CPAN mirror (either a mini or the whole
magilla) and tell cpanminus how to find it.  Congratulate yourself.
Don't look back.  You won't regret it.

[*] The macports-installed Perl has worked OK for me for the
occasional modules that are required by other ports.  Those should get
proper testing as part of creation/test of the ports in question.

WD
Jeremy Lavergne | 23 Jun 2012 19:05

Re: p5.12-class-container fails to install

If the package supplies tests, they can be run by MacPorts.

Watch Dog <watchdog6789 <at> gmail.com> wrote:

>On Sat, Jun 23, 2012 at 9:30 AM, Stefan Gräf <st.graef <at> gmail.com>
>wrote:
>> Dear All,
>>
>> I am getting a config error when installing p5.12-class-container
>> under MacPorts v2.1.1 on Lion. Any help how to resolve this would be
>> very much appreciated.
>>
>> Many thanks,
>>  Stefan
>
>I have not yet found a packaging system (macports, fink, pkgsrc,
>homebrew, ...) that copes well with the needs of serious Perl coding
>on OS X.  They all eventually fall over, in my experience[*].  If you
>do more than casual Perl hacking, do yourself a favor.  Install
>perlbrew, then install cpanminus (bundled with perlbrew).  As an added
>bonus, set up a private CPAN mirror (either a mini or the whole
>magilla) and tell cpanminus how to find it.  Congratulate yourself.
>Don't look back.  You won't regret it.
>
>[*] The macports-installed Perl has worked OK for me for the
>occasional modules that are required by other ports.  Those should get
>proper testing as part of creation/test of the ports in question.
>
>WD
>_______________________________________________
(Continue reading)

Watch Dog | 23 Jun 2012 19:25
Picon

Re: p5.12-class-container fails to install

On Sat, Jun 23, 2012 at 11:05 AM, Jeremy Lavergne
<jeremy <at> lavergne.gotdns.org> wrote:
> If the package supplies tests, they can be run by MacPorts.
>

This is really beside the point.  I was not referring to the test
suite that comes with a module.

Once again, *every packaging system* I have tried comes up short for
any but the most basic needs of Perl hacking.  Modules are missing,
out of date, or just plain broken (i.e., do not build/test/install
cleanly); especially so for complex systems of modules (e.g., Moose) .
 I chose the perlbrew/cpanminus route as a lower resistance path to
getting my work done.  (Note that I am not saying that all CPAN
modules build/test/install cleanly under OS X.)  YMMV.

WD

Gmane