LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-07-2011, 09:58 AM   #1
penguin.linux1
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Installing SDK on embedded linux platform


Greetings,

I'm trying to install a SDK iso image onto an embedded linux platform. I was able to mount the image on the platform without problems. I also created a symbolic link called "bash" in the bin directory and had that point to busybox to satisfy the first line of code in the installer: "#!/bin/bash". However, when I run the installer, I get an error:

"installer: applet not found"

I get the same error when I type "bash" on the command line. Is there a way to fix this?

Here is the first few lines of code that causes the error:

#!/bin/bash

DEBUG=${DEBUG:="0"} # Enables debugging options
LC_OPTION=${LC_OPTION:="prompt"} # Licensing related variable
INSTALL_PATH=${INSTALL_PATH:=$HOME} # Default installation path

declare -r SCRIPT_NAME="`basename $0`"
declare -r SCRIPT_CALLED="$0 $*"
declare -r START_DIR="$PWD"
declare -r SCRIPT_ROOT=`cd $( dirname $0 ); pwd`
declare SDK_NAME
declare INTELCE_PKG_CONFIG=""
declare INTELCE_TFS_DEPS=""

function debug ()
{
declare -r local debug_color="\e[00;36m" # Cyan
if [ "$DEBUG" -ne "0" ]; then
printf "${debug_color}DEBUG:\e[00m %s \n" "$@"
if [ -f "$INSTALL_PATH/installation.log" ]; then
printf "DEBUG: %s \n" "$@">> $INSTALL_PATH/installation.log
fi
fi
}


Thank you
 
Old 06-07-2011, 02:21 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
BusyBox doesn't attempt to replace Bash, just sh. Try changing the first line to "#!/bin/sh".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded Linux SDK Support Engineer andrew_vt LQ Job Marketplace [Archive] 3 10-01-2010 02:57 AM
embedded linux platform with bluetooth and wi-fi support bluesmoke Linux - Embedded & Single-board computer 4 10-23-2009 08:38 AM
Serial issues on an embedded Linux platform ljkenny Linux - Software 3 04-18-2009 01:53 AM


All times are GMT -5. The time now is 08:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration