On Mon, Apr 24, 2006 at 07:46:51AM -0700, Dan Nicholson wrote:
> 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.

I've tried it, but it gave me some errors, so I've decided to install
everything, just to be on the safe side (kind of ;)

But I've figured out what was the problem with gettext. It appears that
the package does not like when configure is called using full path. To
simplify building in separate directories, in script I was always getting
the full path to configure script and then called it. And that was
causing the trouble for gettext. After I've fixed the script so that it
calls './configure' instead, everything started to work. That explains
why I could install it manually, since then I called configure this way.
Also in chapter 5 I've called configure the same way.

So, the mystery is solved.

-- 
Minds, like parachutes, function best when open
-- 
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