[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux:86] build system failure (first try)



Hello Simon,

Thanks for your help.

I have modified the bld-clean.sh script and the build process halt later (has warned by you).
I will not post the ttylinux-config.sh because i left it unmodified.

Now the problem is that my i486-generic-linux-gnu cross-tool chain is not found.
[email protected]:~/ttylinux-src-mp8# make dist
Remove the built items.
./ttylinux-config.sh: 199: [[: not found

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
site pre clean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

=> Removing file system image, boot CD image, SDCard image.
=> Removing boot CD-ROM, SD Card staging areas.
=> Removing kernel and module tree, if any.
=> Removing kernel modules package, if any.
=> Removing the packages:
   -> Removing build-root/ contents.
   -> Removing pkg-bin/ binary packages.
   -> Removing var/log/ build logs.
=> Removing U-Boot, if any.
=> Removing x-load, if any.
./ttylinux-config.sh: 199: [[: not found

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
site post clean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./ttylinux-config.sh: 199: [[: not found
Initialize the 9.10-i486-pc ttylinux build.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
site package pre init
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

=> Creating preliminary development build directories ... DONE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
site package post init
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./ttylinux-config.sh: 199: [[: not found
Building for 9.10-i486-pc
Make the ttylinux packages.
./ttylinux-config.sh: 199: [[: not found

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
site package pre build
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

E> i486-generic-linux-gnu cross-tool chain not found.
Build FAILED.
make: *** [pkgs] Erreur 1

Bests regards, Olivier Goudron

2011/5/3 Simon Haines <[email protected]>
On 3 May 2011 04:34, Olivier Goudron <[email protected]> wrote:
Hello,

I am trying to build ttylinux with the build system and i have the following problem.
and this is the error message i get :

[email protected]:~/ttylinux-src-mp8# make dist
Remove the built items.
./ttylinux-config.sh: 199: [[: not found


This may or may not be an issue later on in the build, post your ttylinux-config.sh file.
 
=> Removing the packages:
   -> Removing build-root/ contents.
   -> Removing pkg-bin/ binary packages.
   -> Removing var/log/ build logs.
Clean FAILED.
make: *** [clean] Erreur 1


Edit your ttylinux-src-mp8/scripts/bld-clean.sh file and add 'exit 0' on line 124, so that it looks like this:
if [[ -d ${_dir} ]]; then
(
cd ${_dir}
[[ -f ./bld-clean.sh ]] && . ./bld-clean.sh
exit 0
)
fi

This is a known issue and a patch for it exists. If you encounter other problems with your build, post back to this list. I built a ws-i686 system last week and had to make a few more changes.
Simon.




--
/*
Olivier Goudron, Formateur et Ingénieur système Linux.
Téléphone : 09 72 26 34 75
Email : [email protected]
Site Web : http://goudron.fr
*/