On 4/24/06, Andrei A. Voropaev <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 21, 2006 at 09:37:30AM -0700, Dan Nicholson wrote:
> >
> > Is there a reason why you're installing the full perl?
>
> Well, I've created little nice perl package that automates running of
> most tasks. So, all I need is to give parameters for configure, make
> etc and then let the perl do the rest of things (unpacking, compiling,
> making, cleaning up...) Sure enough, stripped version of perl can't do
> it since it is missing File extension (and with it the glob
> functionality).

I see.  The perl build system is a piece of garbage, IMO.  I would
suggest using the newer -libc patch that's in svn.

http://www.linuxfromscratch.org/patches/lfs/development/perl-5.8.8-libc-2.patch

It forces the build to use the headers in /tools/include.  This was
only found later after 6.1.1 was completed.  I don't know if it will
solve your issues with gettext, but it would make the perl build more
robust.  Also, since you know you just need the File extension, you
could just change the perl configure line to

./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO
POSIX File/Glob'

I've never tested that, but it seems like it would work.

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

Reply via email to