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
> >root@kboxdev:/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
lists@... with a subject of: unsubscribe t2