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

FW: can't build lx developers tools



The install problem has been solved (see below). Note that its never advisable to have "." at the beginning of PATH. (Imagine what would happen if someone wrote a nasty script called "ls" that did "rm -rf ~").

/Jonas

-----Original Message-----
From: Adam Felson [mailto:afelson@xxxxxxx.com]
Sent: Wednesday, April 25, 2001 8:04 PM
To: Jonas Holmberg
Subject: RE: can't build lx developers tools



BINGO!  I do have '.' as the first item in my path.  I'll remove it and try
again.

Please post your response to the etrax BB so that others will know.

thanks!
---
Adam Felson
HID Corporation - Engineering
11674 N. Huron Street
Denver, CO 80234-2924
(303) 453-3362



                                                                                              
                    Jonas Holmberg                                                            
                    <jonas.holmberg        To:     "'Adam Felson'" <afelson@xxxxxxx.com>         
                    @xxxxxxx.com>             cc:                                                
                                           Subject:     RE: can't build lx developers tools   
                    04/25/01 11:03                                                            
                    AM                                                                        
                                                                                              
                                                                                              




Hi,
I think I know what it is now. Do you have "." in your PATH environment
variable? Type "echo $PATH" to check. The files-target in the makefile uses
install_elinux ($(INSTALL)) which uses the install program (probably
/usr/bin/install on your computer). If "." is in your PATH vefore
/usr/bin/install the install-script will be used instead. Solution: move .
to the end of your PATH varaiable or remove it.

Please tell me if that helps.

Regards
/Jonas

> -----Original Message-----
> From: Adam Felson [mailto:afelson@xxxxxxx.com]
> Sent: Wednesday, April 25, 2001 4:17 PM
> To: Jonas Holmberg
> Subject: RE: can't build lx developers tools
>
>
>
> ./install with 'set -x' added:
>
> ...
>   /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 ##########
> + read LINE
> + cat makespec
> ++ echo '###############################################'
> ++ awk '{ print $1 }'
> + NAME=###############################################
> + continue
> + read LINE
> ++ echo '#' Axis Developer Board Software Specification '#'
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo '###############################################'
> ++ awk '{ print $1 }'
> + NAME=###############################################
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' The linux kernel
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo os/linux -r linux2_4_3
> ++ awk '{ print $1 }'
> + NAME=os/linux
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' Tools
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo tools -r R1_0_48
> ++ awk '{ print $1 }'
> + NAME=tools
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' Make rules
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo apps/Rules.elinux -r R1_0_5
> ++ awk '{ print $1 }'
> + NAME=apps/Rules.elinux
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' These are the subdirectories recursed by make.
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo '<subdirs>'
> ++ awk '{ print $1 }'
> + NAME=<subdirs>
> + continue
> + read LINE
> ++ echo '#' Packages
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo packages/filesystem -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/filesystem
> + continue
> + read LINE
> ++ echo packages/base-files -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/base-files
> + continue
> + read LINE
> ++ echo packages/initscripts/common -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/common
> + continue
> + read LINE
> ++ echo packages/initscripts/dhclient -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/dhclient
> + continue
> + read LINE
> ++ echo packages/initscripts/factorydefault -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/factorydefault
> + continue
> + read LINE
> ++ echo packages/initscripts/issue -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/issue
> + continue
> + read LINE
> ++ echo packages/initscripts/jffs -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/jffs
> + continue
> + read LINE
> ++ echo packages/initscripts/network -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/network
> + continue
> + read LINE
> ++ echo packages/initscripts/proc -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/proc
> + continue
> + read LINE
> ++ echo packages/initscripts/ramfs -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/ramfs
> + continue
> + read LINE
> ++ echo packages/initscripts/var -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/initscripts/var
> + continue
> + read LINE
> ++ echo packages/devices/standard -r R1_0_1
> ++ awk '{ print $1 }'
> + NAME=packages/devices/standard
> + continue
> + read LINE
> ++ echo packages/devices/axis-2.4 -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=packages/devices/axis-2.4
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' Libraries
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo libs/gcc -r R1_0_6
> ++ awk '{ print $1 }'
> + NAME=libs/gcc
> + continue
> + read LINE
> ++ echo libs/uC-libc -r R2_0_0
> ++ awk '{ print $1 }'
> + NAME=libs/uC-libc
> + continue
> + read LINE
> ++ echo libs/termcap -r R1_0_3
> ++ awk '{ print $1 }'
> + NAME=libs/termcap
> + continue
> + read LINE
> ++ echo libs/readline -r R1_0_3
> ++ awk '{ print $1 }'
> + NAME=libs/readline
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' Applications
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo apps/init -r R1_0_16
> ++ awk '{ print $1 }'
> + NAME=apps/init
> + continue
> + read LINE
> ++ echo apps/telnetd -r R1_1_1
> ++ awk '{ print $1 }'
> + NAME=apps/telnetd
> + continue
> + read LINE
> ++ echo apps/inetd -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=apps/inetd
> + continue
> + read LINE
> ++ echo apps/in.telnetd -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=apps/in.telnetd
> + continue
> + read LINE
> ++ echo apps/sftpd -r R1_2_6
> ++ awk '{ print $1 }'
> + NAME=apps/sftpd
> + continue
> + read LINE
> ++ echo apps/sftpclient -r R1_0_16
> ++ awk '{ print $1 }'
> + NAME=apps/sftpclient
> + continue
> + read LINE
> ++ echo apps/shell -r R1_0_29
> ++ awk '{ print $1 }'
> + NAME=apps/shell
> + continue
> + read LINE
> ++ echo apps/shells/ash -r R1_0_1
> ++ awk '{ print $1 }'
> + NAME=apps/shells/ash
> + continue
> + read LINE
> ++ echo apps/boa -r R1_1_10
> ++ awk '{ print $1 }'
> + NAME=apps/boa
> + continue
> + read LINE
> ++ echo apps/smtpclient -r R1_0_5
> ++ awk '{ print $1 }'
> + NAME=apps/smtpclient
> + continue
> + read LINE
> ++ echo apps/bootblocktool -r R1_0_15
> ++ awk '{ print $1 }'
> + NAME=apps/bootblocktool
> + continue
> + read LINE
> ++ echo apps/hwtest/IO -r R1_0_16
> ++ awk '{ print $1 }'
> + NAME=apps/hwtest/IO
> + continue
> + read LINE
> ++ echo apps/hwtest/rtc -r R1_0_17
> ++ awk '{ print $1 }'
> + NAME=apps/hwtest/rtc
> + continue
> + read LINE
> ++ echo apps/hwtest/eeprom -r R1_0_17
> ++ awk '{ print $1 }'
> + NAME=apps/hwtest/eeprom
> + continue
> + read LINE
> ++ echo apps/hwtest/serial -r R1_0_17
> ++ awk '{ print $1 }'
> + NAME=apps/hwtest/serial
> + continue
> + read LINE
> ++ echo apps/hwtest/hwtest -r R1_0_17
> ++ awk '{ print $1 }'
> + NAME=apps/hwtest/hwtest
> + continue
> + read LINE
> ++ echo apps/sysklogd -r R1_0_6
> ++ awk '{ print $1 }'
> + NAME=apps/sysklogd
> + continue
> + read LINE
> ++ echo apps/editors/easyedit -r R1_0_1
> ++ awk '{ print $1 }'
> + NAME=apps/editors/easyedit
> + continue
> + read LINE
> ++ echo apps/editors/editcgi -r R1_0_1
> ++ awk '{ print $1 }'
> + NAME=apps/editors/editcgi
> + continue
> + read LINE
> ++ echo apps/editors/elvis-tiny -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=apps/editors/elvis-tiny
> + continue
> + read LINE
> ++ echo apps/login -r R1_0_1
> ++ awk '{ print $1 }'
> + NAME=apps/login
> + continue
> + read LINE
> ++ echo apps/dhcp -r R1_0_7
> ++ awk '{ print $1 }'
> + NAME=apps/dhcp
> + continue
> + read LINE
> ++ echo apps/busybox -r R1_1_2
> ++ awk '{ print $1 }'
> + NAME=apps/busybox
> + continue
> + read LINE
> ++ echo apps/ipsetd -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=apps/ipsetd
> + continue
> + read LINE
> ++ echo apps/utils/eraseflash -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=apps/utils/eraseflash
> + continue
> + read LINE
> ++ echo apps/utils/readbits -r R1_0_0
> ++ awk '{ print $1 }'
> + NAME=apps/utils/readbits
> + continue
> + read LINE
> ++ echo '</subdirs>'
> ++ awk '{ print $1 }'
> + NAME=</subdirs>
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' These are the product specific files and directories.
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo '#' They will override files installed by subdirs above.
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo
> ++ awk '{ print $1 }'
> + NAME=
> + continue
> + read LINE
> ++ echo '#' files/bin/paramtool.sh -m 0755
> ++ awk '{ print $1 }'
> + NAME=#
> + continue
> + read LINE
> ++ echo files/etc/httpd/conf -m 0755
> ++ awk '{ print $1 }'
> + NAME=files/etc/httpd/conf
> ++ echo files/etc/httpd/conf -m 0755
> ++ awk '{ print $2 " " $3 }'
> + MODE=-m 0755
> ++ echo /home/felson/axis/devboard_lx/eroot
> ++ tr / '*'
> + TEMPPREFIX=*home*felson*axis*devboard_lx*eroot
> + test -d files/etc/httpd/conf
> ++ echo files/etc/httpd/conf
> ++ sed -e 's/files/*home*felson*axis*devboard_lx*eroot/'
> ++ tr '*' /
> + install_elinux -v -m 0755 -d
> /home/felson/axis/devboard_lx/eroot/etc/httpd/conf
> *** 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!
> + read LINE
> ++ echo files/etc/httpd/conf/mime.types -m 0644
> ++ awk '{ print $1 }'
> + NAME=files/etc/httpd/conf/mime.types
> ++ echo files/etc/httpd/conf/mime.types -m 0644
> ++ awk '{ print $2 " " $3 }'
> + MODE=-m 0644
> ++ echo /home/felson/axis/devboard_lx/eroot
> ++ tr / '*'
> + TEMPPREFIX=*home*felson*axis*devboard_lx*eroot
> + test -d files/etc/httpd/conf/mime.types
> + test -f files/etc/httpd/conf/mime.types
> ++ echo files/etc/httpd/conf/mime.types
> ++ sed -e 's/files/*home*felson*axis*devboard_lx*eroot/'
> ++ tr '*' /
> + install_elinux -v -m 0644 files/etc/httpd/conf/mime.types
> /home/felson/axis/devboard_lx/eroot/etc/httpd/conf/mime.types
> *** 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!
> + read LINE
> ++ echo files/etc/dhclient-exit-hooks -m 0755
> ++ awk '{ print $1 }'
> + NAME=files/etc/dhclient-exit-hooks
> ++ echo files/etc/dhclient-exit-hooks -m 0755
> ++ awk '{ print $2 " " $3 }'
> + MODE=-m 0755
> ++ echo /home/felson/axis/devboard_lx/eroot
> ++
> ...
> ---
> Adam Felson
> HID Corporation - Engineering
> 11674 N. Huron Street
> Denver, CO 80234-2924
> (303) 453-3362
>
>