Re: Perl Compilation Failure

2010-10-10 Thread Aleksandar Kuktin
On Sat, 9 Oct 2010 12:51:47 -0500
David Henry daverm...@gmail.com wrote:

 sh Configure -des -Dprefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO
 POSIX'
 
 make perl utilities ext/Errno/pm_to_blib
 
 The result is a build failure with the following output:
 
 Running Makefile.PL in ext/POSIX
 ../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none
 INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=static
 CCCDLFLAGS=
 Can't locate Cwd.pm in @INC (@INC contains: ../../lib) at
 ../../lib/File/Path.pm line 6.

It seems Cwd.pm is missing.
In a vanilla Perl source directory, it is in
${perl_srcdir}/cpan/Cwd/Cwd.pm

Perhaps Configure didn't do its job?
I only now saw the new instructions. Until now, I've been using
ancient 6.2 (and still am). It recommended running ./configure.gnu so
maybe you can try that script instead of Configure and see how it goes? 

-- 
-Aleksandar Kuktin
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Perl Compilation Failure

2010-10-09 Thread David Henry
I sent the email below on Friday when I was not a  member of the mailing
list so I don't know if anyone has replied. I'm re-posting it now so I can
see the replies. Sorry for the duplication.

On Fri, Oct 8, 2010 at 10:22 AM, David Henry daverm...@gmail.com wrote:

 I'm using version 6.7 of LFS with Ubuntu 10.4 as the host. Right now I'm
 stuck on section 5.28 Perl-5.12.1. I've untar'd Perl, patched it
 successfully and run:

 sh Configure -des -Dprefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'

 make perl utilities ext/Errno/pm_to_blib

 The result is a build failure with the following output:

 Running Makefile.PL in ext/POSIX
 ../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none
 INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=static
 CCCDLFLAGS=
 Can't locate Cwd.pm in @INC (@INC contains: ../../lib) at
 ../../lib/File/Path.pm line 6.
 BEGIN failed--compilation aborted at ../../lib/File/Path.pm line 6.
 Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 11.
 BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line
 11.
 Compilation failed in require at Makefile.PL line 5.
 BEGIN failed--compilation aborted at Makefile.PL line 5.
 512 from ext/POSIX's Makefile.PL at make_ext.pl line 390.
 Warning: No Makefile!
 make[1]: Entering directory `/mnt/lfs/sources/perl-5.12.1/ext/POSIX'
 make[1]: *** No rule to make target `config'.  Stop.
 make[1]: Leaving directory `/mnt/lfs/sources/perl-5.12.1/ext/POSIX'
  make config PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=static CCCDLFLAGS=
 failed, continuing anyway...
 Making all in ext/POSIX
  make all PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=static CCCDLFLAGS=
 make[1]: Entering directory `/mnt/lfs/sources/perl-5.12.1/ext/POSIX'
 make[1]: *** No rule to make target `all'.  Stop.
 make[1]: Leaving directory `/mnt/lfs/sources/perl-5.12.1/ext/POSIX'
 Unsuccessful make(ext/POSIX): code=512 at make_ext.pl line 449.
 make: *** [lib/auto/POSIX/POSIX.a] Error 2

 Can anyone offer some advice here? I've searched the mail archives and I
 found one email related to this; the solution proposed was to omit the
 -Dstatic_ext flag. I tried this to no avail.

 Thanks,
 Dave H.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page