Friday, April 17, 2009

Installing SDK3.1 on YDL6.1

While installing the SDK, I ran into a couple problems, after running the command:
/opt/cell/cellsdk --iso ./ install
I accepted the first agreement, went ok for a bit, and got the error:

cellsdk INFO-2033: cellsdk is unable to find any SDK files in the yum repositories.
cellsdk INFO-2033: Be sure the --iso flag was used and that network connections are working.

Taking a look at the install script using:
nano /opt/cell/cellsdk

and scrolling down to find:
let redhat=0
for file in `ls /etc/*-release 2>/dev/null`; do
((redhat += `grep -ic "red hat" $file`))
done
if ((redhat > 0)); then
distro="RHEL"
else
distro="Fedora"


it looks like our distro doesn't have an option here.

To fix this, change the ((redhat += 'grep -ic "red hat" $file'))
to: ((redhat += 'grep -ic "yellow dog" $file'))

Save the changes, and re-run the install script. Should work fine!

If you have any other errors, first try mounting the iso
/opt/cell/cellsdk --iso ./ mount

No comments:

Post a Comment