[uClibc] Need Perl in prebuilt root fs

Manuel Novoa III mjn3 at codepoet.org
Sat Jan 17 07:35:51 UTC 2004


Hello,

On Sat, Jan 17, 2004 at 03:04:19PM -0800, bk/sm wrote:
> Manuel,
> I've still got the problem.
> I'm using the prebuilt root filesystem, uclibc v0.9.24, and have the
> Perl v5.8.0 source tarball. I did:
>  ./Configure -de -Darchname=i386-linux
> I tried both with and without defining GNU_SOURCE, though from
> looking at configure.in it does seem to be the default.
> 
> Compiling gets most of the way through, and I do get the perl and
> miniperl executables, but stops here:
> 
> In file included from Langinfo.xs:9:
> const-c.inc: In function 'constant-5':
> const-c.inc:197: error 'NOSTR' undeclared
> const-c.inc:301: error 'YESSTR' undeclared
> 
> ...etc.
> 

I placed the patches I use for perl 5.8.2 at
	http://www.uclibc.org/~mjn3/perl
where you will also find configure and make logs.

I configured with (as I recall)
	sh ./Configure -de -Dcc=gcc -Dusethreads

> So, should I apply the patch to Perl? Will it still work on Perl
> v5.8.0, which is fairly recent I think. I checked at the Perl home
> page, and 5.8.3 is the latest stable.

Applying the old patch (actually done for 5.8.0) would probably work.
But I would recommend trying to figure out what is wrong with your
build environment.  Otherwise you could run into similar problems
building different apps.

Manuel



More information about the uClibc mailing list