[uClibc] uclibc and perl

Chris Wilson chris at netservers.co.uk
Thu Apr 22 12:34:36 UTC 2004


Hi all,

I noticed that Perl support has been removed from uclibc on 2004/03/18:

----------------------------
revision 1.6
date: 2004/03/18 21:02:52;  author: andersen;  state: dead;  lines: +0 -0
Remove perl.  It doesn't work, and seems to be a support
problem magnet.  So kill it.
----------------------------

This is a real pain for me, because I really want to build perl under 
uclibc. I don't like the idea of chrooting into the uclibc root
environment and making perl in there, because it's inconsistent with the 
rest of the uclibc build system, and results in mixing up the perl files 
with the uclibc development system, when my end target is not a 
development system (no compilers, headers, etc.).

I reinstated the old perl.mk and patched it up for Perl 5.8.3, but I'm 
having build problems (cannot make wince.h, no C preprocessor found). Is
anyone here willing to help me fix it, or is perl no longer going to be 
supported in uclibc?

The actual problem I'm having is that makedepend.SH (or makedepend, I 
don't know which yet) spits out the following errors (abridged):

You don't seem to have a proper C preprocessor.  Using grep instead.
Updating makefile...
[...]
make[1]: *** No rule to make target `wince.h', needed by `perl.h'.  Stop.
[...]
/bin/sh: line 1: ./miniperl: No such file or directory
make[1]: *** [lib/Config.pm] Error 127
make[1]: Leaving directory `/home/distcc/uclibc/build_i386/perl-5.8.3'
make: *** [perl] Error 2

Seems to be related to
[http://www.nntp.perl.org/group/perl.perl5.porters/60365], except that the
proposed solution doesn't apply as I can reproduce the error every time
from a clean tree.

Has anyone seen this before, or can anyone advise? I have exactly the same 
problem building perl 5.8.3 using its own Cross directory (instead of the 
cross directory supplied with uclibc in perl-cross-0.1.tar.gz), so it may 
be a Perl problem instead of a uclibc problem, but I'm willing to chase 
the Perl porters to get this fixed if it will be useful to the uclibc 
project.

By the way, nice work on getting a uclibc debian build, I'm considering 
using this instead of the current buildroot system, as perl might actually 
work :-)

Cheers, Chris.
-- 
_  __ __     _
 / __/ / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_  ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\__/_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |




More information about the uClibc mailing list