[prev in list] [next in list] [prev in thread] [next in thread] 

List:       leaf-user
Subject:    Re: [leaf-user] Another issue with buildtool.pl
From:       Harry Lachanas <grharry () freemail ! gr>
Date:       2007-07-24 6:40:28
Message-ID: 46A59EDC.8070307 () freemail ! gr
[Download RAW message or body]


> I started again fresh user...
> Got a lot further this time, but still not quite there.
> 
> Dies here...
> downloading: uClibc-0.9.28.tar.gz from server kernel.org type http [0.K.]
> calling 'make source' for buildenv make source failed for
> /home/leaf/src/bering-uclibc/buildtool/source/buildenv/buildtool.mk , please
> have a look at the logfile log/buildtoollog at buildtool/Make/Source.pm line
> 398.
> 
> I have updated src/bering-uclibc/buildtool/make/MasterInclude.mk but not
> luck, as you directed..
> 
> Here are the last XX lines from buildtoollog
> 
> perl -i -p -e
> 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
> 
> /home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config
> make -C /home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28
> \
> PREFIX=/home/leaf/src/bering-uclibc/buildtool/staging/ \
> DEVEL_PREFIX=/ \
> RUNTIME_PREFIX=/home/leaf/src/bering-uclibc/buildtool/staging/ \
> pregen install_dev;
> make[1]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc:
> 
1) Problem here

Is there your new gcc Compiler ???? \
/home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc

Do not build your system as a root 
login as leaf or whatever user is the owner of /home/leaf/

from home/leaf 
do a 
chown -R user.group * 
where user and group is the owner you wish of the source tree.

 
  
Here is my experience with buildtool,
In the downloading process the buildtool does not compute the md5sum or sha1 or \
something to figure out that the source tar ball is really downloaded.

So in case you are behind a proxy server running some kind of content filtering you \
might think that you downloaded the tar ball but the file is crap ( it will be the \
access denied page from the proxy ).

This is why I mentioned make sure your sources are downloaded.

so go into your /home/leaf/src/bering-uclibc/buildtool/source/buildenv dir
and for every tar ball do a tar -tzvf $file if a .gz ot tar -tjvf for every .bz2,
make sure you dont get a error here, if you get an error your haven't managed to \
download the sources.

2) in the tools dir there is a buildall.sh  script 
	do a 
	./tools/buildall.sh after all your sources are downloaded and clean
	this script is building all in the correct order of dependencies

3) in the /home/leaf/src/bering-uclibc/buildtool/conf dir there is an installed file 
have a look at it,
if your buildtool denies to get fresh sources or something go there and delete the \
lines of the pakage witch is screwed.



Good luck

Harry



> Command not found
> make[1]: Entering directory
> `/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28'
> make[1]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc:
> Command not found
> make[2]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc:
> Command not found
> make[2]: Entering directory
> `/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extra/
> config'
> make[2]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc:
> Command not found
> gcc -O2 -Wall -I. -c conf.c -o conf.o
> make[2]: gcc: Command not found
> make[2]: *** [conf.o] Error 127
> make[2]: Leaving directory
> `/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extra/
> config'
> make[1]: *** [include/bits/uClibc_config.h] Error 2
> make[1]: Leaving directory
> `/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28'
> make: ***
> [/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.confi
> gured] Error 2
> make: Leaving directory
> `/home/leaf/src/bering-uclibc/buildtool/source/buildenv'
> 
> I don't have a /home/leaf/src/bering-uclibc/buildtool/staging/bin
> directory..
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic