[uClibc] Need Perl in prebuilt root fs

Manuel Novoa III mjn3 at codepoet.org
Wed Jan 14 13:59:10 UTC 2004


Hello,

On Wed, Jan 14, 2004 at 09:02:32PM -0800, bk/sm wrote:
> In response to my question about not being able to compile
> Perl, and someones comment that it should be ok,

It _does_ build fine... at least with reasonably modern uClibcs.
What version are you using?  Is perl compiling with -D_GNU_SOURCE?
If not, then YESTR and NOSTR will _not_ be defined as they were
deprecated in susv3 and removed in susv3.

> I have found that this is a known bug with uclibc, and there
> is a patch:
> 
> www.geocities.com/robm351/uclibc/index-2.html

Yes... That's the patch I posted to the list about a year and a half
ago.  Not long after, I fixed the YESSTR/NOSTR problem for the stub
locale case.  While the -lpthread stuff is still relevant to get
around a shared linker problem, the YESSTR/NOSTR part has not been
needed in ages.

> I was almost going to post another question to the uclibc mail
> list, asking why glib-1.2.10 gives this error:
> glib-error **: could not allocate -1 bytes
> then aborts the application.
> ...well, this is also a known bug with uclibc and the above site
> has a patch.

No... This is a bug with glib.  Even the page where you found the
patch states as much.

Manuel



More information about the uClibc mailing list