David Whitney wrote:
> Hi,
> 
> I'm operating on an i686 machine and I cannot get the 'busybox' binary 
> and the links to it (such as ls, cat, chown, etc) installed in the 
> proper destination directory.
> 
> I am following this guide:  
> http://cross-lfs.org/view/clfs-embedded/x86/final-system/busybox.html 
> <http://cross-lfs.org/view/clfs-embedded/x86/final-system/busybox.html>
> 
> I am running this command to perform the install: 
> 
> make ARCH=i386 CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" 
> PREFIX="${CLFS}" install
> 

   With the later versions of Busybox (>1.2.2) PREFIX=  has been 
replaced with CONFIG_PREFIX=

>  From executing the following statement, 'echo ${CLFS_TARGET} ${CLFS} 
> ${BUILD}', the output is:
> i686-pc-linux-uclibc /home/clfsEMB -m32
> 
> This is the output generated when "installing" busybox (of course 
> shortened for brevity):
>   ./_install/bin/addgroup -> busybox
>   ./_install/bin/adduser -> busybox
>   ./_install/bin/ash -> busybox
>   ./_install/bin/bbconfig -> busybox
> .
> .
> .
>   ./_install/linuxrc -> bin/busybox
>   ./_install/sbin/adjtimex -> ../bin/busybox
>   ./_install/sbin/arp -> ../bin/busybox
>   ./_install/sbin/fdisk -> ../bin/busybox
> .
> .
> .
>   ./_install/usr/sbin/readprofile -> ../../bin/busybox
>   ./_install/usr/sbin/setlogcons -> ../../bin/busybox
>   ./_install/usr/sbin/telnetd -> ../../bin/busybox
>   ./_install/usr/sbin/udhcpd -> ../../bin/busybox
> 
> 
> In the source directory for busybox-1.4.1 I have an ELF 32-bit 
> executable called 'busybox'.  Within '_install/bin' I have another copy 
> of the 'busybox' executable and a boat-load of links to it (for 
> addgroup, adduser, ash, etc).
> 
> After I did the 'install' above, I expected to find the 'busybox' 
> executable and the links to it within the ${CLFS}/bin directory;  
> however I had no such joy.
> 
> When I ran the following command, 'find ${CLFS} -name busybox', this was 
> the output:
> 
> /home/clfsEMB/sources/busybox-1.4.1/busybox
> /home/clfsEMB/sources/busybox-1.4.1/include/config/busybox
> /home/clfsEMB/sources/busybox-1.4.1/_install/bin/busybox
> 
> Is there an additional step missing in the instruction guide?  I've 
> repeated the existing instructions, the first time applying all busybox 
> patches I found on the web, the second time without ( i.e. only applying 
> the patch provided by CLFS).
> 
> Dave Whitney
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to