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

RE: can't build lx developers tools



Hi Adam,
it looks like bad error handling in the install scripts. I cannot tell you exactly what goes wrong but you probably miss some of the GNU tools used by the Makefile. Maybe you are missing any of the packages listed as Requirements in <http://developer.axis.com/doc/software/devboard_lx/install-howto.html>?

Can you add "set -x ; " to the script in the files target in the Makefile and run the install-script again and send me the output? Change Makefile like this:

files:
        @echo "########## Installing files and directories ##########"
        @( set -x ; cat $(SPECFILE) | \
           ^^^^^^^^^
           Add this

Best regards
/Jonas

> -----Original Message-----
> From: Adam Felson [mailto:afelson@xxxxxxx.com]
> Sent: Tuesday, April 24, 2001 9:46 PM
> To: dev-etrax@xxxxxxx.com
> Subject: can't build lx developers tools
> 
> 
> Is there a bug in the install script?  I've followed the 
> instructions to
> the letter and it always fails, even on a system
> with a fresh install
> 
> 1) installed cris 1.11;  all default prompts selected
> 2) untar'd devboard_lx-R1_0_0.tg in my home directory
> 3) untar'd linux-2.4.3.tar.gz in ~/axis/devboard_lx/os
> 4) cd ~/axis/devboard_lx
> 5) ./install
> used all defaults for the prompts
> 
> I get the following errors at the end:  it looks like a response file
> mismatch after failing to see the os/linux
> directory tree (something it patched and used extensively for quite a
> while)
> 
> ...
>   /home/felson/axis/devboard_lx/eroot/usr/bin/xargs -> 
> ../../bin/busybox
>   /home/felson/axis/devboard_lx/eroot/usr/bin/yes -> ../../bin/busybox
>   /home/felson/axis/devboard_lx/eroot/usr/sbin/chroot -> 
> ../../bin/busybox
> make[1]: Leaving directory 
> `/home/felson/axis/devboard_lx/apps/busybox'
> Making install in apps/ipsetd
> make[1]: Entering directory 
> `/home/felson/axis/devboard_lx/apps/ipsetd'
> gcc_cris -mlinux -DCRISMMU 
> -muclibc=/home/felson/axis/devboard_lx/eroot
> -Wall -O2   -c -o ipsetd.o ipsetd.c
> gcc_cris -mlinux -DCRISMMU 
> -muclibc=/home/felson/axis/devboard_lx/eroot -s
> -static ipsetd.o  -o ipsetd
> install_elinux -d /home/felson/axis/devboard_lx/eroot/bin/
> install_elinux -m 0755 -o root -g root ipsetd
> /home/felson/axis/devboard_lx/eroot/bin/
> make[1]: Leaving directory `/home/felson/axis/devboard_lx/apps/ipsetd'
> Making install in apps/utils/eraseflash
> make[1]: Entering directory
> `/home/felson/axis/devboard_lx/apps/utils/eraseflash'
> gcc_cris -mlinux -DCRISMMU 
> -muclibc=/home/felson/axis/devboard_lx/eroot
> -Wall -O2  -s -static  eraseflash.c   -o eraseflash
> install_elinux -d /home/felson/axis/devboard_lx/eroot/bin/
> install_elinux -m 0755 -o root -g root eraseflash
> /home/felson/axis/devboard_lx/eroot/bin/
> make[1]: Leaving directory
> `/home/felson/axis/devboard_lx/apps/utils/eraseflash'Making install in
> apps/utils/readbits
> make[1]: Entering directory
> `/home/felson/axis/devboard_lx/apps/utils/readbits'
> gcc_cris -mlinux -DCRISMMU 
> -muclibc=/home/felson/axis/devboard_lx/eroot
> -Wall -O2  -s -static  readbits.c   -o readbits
> install_elinux -d /home/felson/axis/devboard_lx/eroot/bin/
> install_elinux -m 0755 -o root -g root readbits
> /home/felson/axis/devboard_lx/eroot/bin/
> make[1]: Leaving directory
> `/home/felson/axis/devboard_lx/apps/utils/readbits'
> ########## Installing files and directories ##########
> *** You need to have the source code for Linux 2.4.3 to continue.
>     This script will apply a patch to the source so it is importatnt
>     that you have version 2.4.3 of the Linux source.
>     If you haven't got it you can find it at http://www.kernel.org
> Enter directory of your Linux 2.4.3 source code tree (default 
> os/linux):
> *** files/etc/httpd/conf/boa.conf -m 0644 does not exist!
> *** You need to have the source code for Linux 2.4.3 to continue.
>     This script will apply a patch to the source so it is importatnt
>     that you have version 2.4.3 of the Linux source.
>     If you haven't got it you can find it at http://www.kernel.org
> Enter directory of your Linux 2.4.3 source code tree (default 
> os/linux):
> *** # files/etc/httpd/html -m 0755 does not exist!
> *** You need to have the source code for Linux 2.4.3 to continue.
>     This script will apply a patch to the source so it is importatnt
>     that you have version 2.4.3 of the Linux source.
>     If you haven't got it you can find it at http://www.kernel.org
> Enter directory of your Linux 2.4.3 source code tree (default 
> os/linux):
> *** files/etc/dhclient-script -m 0755 does not exist!
> *** You need to have the source code for Linux 2.4.3 to continue.
>     This script will apply a patch to the source so it is importatnt
>     that you have version 2.4.3 of the Linux source.
>     If you haven't got it you can find it at http://www.kernel.org
> Enter directory of your Linux 2.4.3 source code tree (default 
> os/linux):
> *** files/etc/profile -m 0644 does not exist!
> *** You need to have the source code for Linux 2.4.3 to continue.
>     This script will apply a patch to the source so it is importatnt
>     that you have version 2.4.3 of the Linux source.
>     If you haven't got it you can find it at http://www.kernel.org
> Enter directory of your Linux 2.4.3 source code tree (default 
> os/linux):
> *** files/etc/syslog.conf -m 0644 does not exist!
> *** You need to have the source code for Linux 2.4.3 to continue.
>     This script will apply a patch to the source so it is importatnt
>     that you have version 2.4.3 of the Linux source.
>     If you haven't got it you can find it at http://www.kernel.org
> Enter directory of your Linux 2.4.3 source code tree (default 
> os/linux):
> *** files/etc/network -m 0755 does not exist!
> *** You need to have the source code for Linux 2.4.3 to continue
> ...
>