Maybe we should merge the disabling the perl cross build for default
builds
as it is too error prone. In trunk we already do not cross build perl
by default
anymore (despite that the perl 5.10 perl has new, major cross build
regressions,
anyway).
Oh, I just see this change is already in 7.0. Can it be the case that
you
are building a slightly older 7.0 release tarball? Can you re-try with
the
branches/7.0 from SVN?
Lars: I had to revert that $CC change as that broke building T2 on T2!
The
reason is that this $CC is used for configure checks, and when the cross
compiler is used the configure is usually completely messed up.
The best way to probably fix correctly cross building perl is to not
write the
perl config from the T2 package selection and C library feature set as
opposed to let this perl supplied script check all this out (most test
try to run the resulting binary anyway, which is not suitable while
cross building anyway, despite if you would run the resulting executable
on the target hardware or an emulator - both not to appealing way that,
for example, scratch box is offering).
Yours,
On 02.04.2008, at 19:48, Lars Kuhtz wrote:
Hi,
I had a similar problem when building perl on Ubuntu. I could fix
this by
replacing hardcoded gcc by generic $CC in perl.conf. Although your
error looks different you might try with 'svn merge -c 26311' (for
trunk), or
manually replace gcc by $CC (or must it be \$CC, Rene?) in the
confopt entry
in perl.conf.
regards,
Lars
On Wednesday 02 April 2008 18:11, Marian Aldenhövel wrote:
Hi,
I have been tasked of constructing an installation of linux to be
deployed
on a number of "semi-embedded" system. These are x86-based small
form-factor PCs booting off CF-Card.
I decided to give T2 a try as it looks like it can give very good
control
at what gets included in a build while not having to start really
from the
ground up.
I have tried to build the T2 default embedded target on an
installation of
Ubuntu 7.10 (server edition). And it fails while building the perl
package:
Here's the tail of what gets output to the console:
`sh cflags "optimize='-O2'" xsutils.o` xsutils.c
CCCMD = i486-t2-linux-uclibc-gcc -DPERL_CORE -c
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall -ansi -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
`sh cflags "optimize='-O2'" generate_uudmap.o` generate_uudmap.c
CCCMD = i486-t2-linux-uclibc-gcc -DPERL_CORE -c
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall -ansi -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
i486-t2-linux-uclibc-gcc -o generate_uudmap -L/usr/local/lib
generate_uudmap.o -lnsl -ldl -lm -lcrypt -lutil -lc -lm
./generate_uudmap >uudmap.h
/bin/sh: ./generate_uudmap: No such file or directory
make: *** [uudmap.h] Error 127
Due to previous errors, no 1-perl.log file!
(Try enabling xtrace in the config to track an error inside the
build
system.) --- BUILD ERROR ---
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 6 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
-> $root/var/adm/logs/1-perl.out -> 1-perl.err
[EMAIL PROTECTED]:/home/kbox/t2# == 04/02/08 18:04:08 =[1]=> Aborted
building
package perl.
-> Unmounting loop mounts ...
When checking after the abort I can find all of generate_uudmap.c,
generate_uudmap.o and generate_uudmap.
I have found references to Ubuntu having /bin/sh symlinked to /bin/
dash and
that causing problems. I have relinked to /bin/bash, but this seems
to be a
different cause.
Any hints? Need more information?
Ciao, MM
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
Geschäftsführer: Susanne Klaus, René Rebe
Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
USt-IdNr.: DE251602478
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2